Luke Lau
7b2fc48c27
[InstCombine] Remove dead poison check. NFCI ( #141264 )
...
As far as I understand any binary op with poison as either operand will
constant fold to poison, so this check will never trigger.
`llvm::ConstantFoldBinaryInstruction` seems to confirm this?
I think this ended up getting left behind because originally
shufflevectors with undef indices produced undef elements, and we
couldn't pull the shuffle across some binops like `or undef, -1 --> -1`.
This code was added in 8c65515082 to
partially fix it and further extended in
f7499011ca , originally checking for undef
but changed to check for poison in cd54c47424
But nowadays shufflevectors with undef indices are treated as poison
indices as of 575fdea70a , and so produce
poison elements, so this is no longer an issue
2025-05-23 20:21:12 +01:00
..
2025-05-02 08:17:58 +00:00
2025-01-22 14:47:15 +00:00
2025-05-22 17:43:29 +01:00
2025-05-19 17:26:05 -07:00
2025-03-14 15:50:49 +00:00
2025-05-09 19:43:26 -07:00
2025-05-20 18:08:42 -04:00
2025-05-02 08:17:58 +00:00
2025-05-22 07:59:57 +03:00
2025-04-26 10:12:44 +01:00
2025-05-15 09:27:25 -07:00
2025-02-27 08:48:55 +01:00
2025-05-22 11:31:04 +08:00
2025-05-22 07:59:57 +03:00
2025-05-08 07:57:13 +02:00
2025-03-14 15:50:49 +00:00
2025-04-10 07:08:09 -07:00
2025-05-05 09:25:23 -07:00
2024-12-25 01:29:01 -08:00
2025-05-19 17:26:05 -07:00
2025-04-07 19:52:03 -07:00
2025-01-03 09:25:08 -08:00
2025-03-14 13:11:45 +01:00
2025-01-29 16:56:47 +01:00
2025-02-13 11:39:02 -08:00
2025-04-09 13:58:33 +02:00
2025-05-15 15:00:05 +02:00
2025-05-22 19:38:10 -07:00
2025-01-29 16:56:47 +01:00
2025-01-04 10:56:45 -08:00
2025-03-18 15:06:39 +01:00
2025-04-30 10:58:10 -07:00
2025-05-15 10:29:41 +05:30
2025-01-29 16:56:47 +01:00
2025-05-05 18:16:33 -07:00
2025-05-07 14:14:25 +01:00
2025-04-26 10:12:44 +01:00
2025-05-02 08:17:45 -07:00
2025-05-23 08:15:26 -04:00
2025-04-12 15:11:54 +08:00
2025-05-09 14:56:38 -07:00
2025-05-23 20:21:12 +01:00
2025-05-08 18:00:49 +02:00
2025-05-23 09:40:27 +01:00
2025-01-29 16:56:47 +01:00
2025-04-01 23:27:20 +07:00
2025-03-14 15:50:49 +00:00
2025-05-22 19:38:10 -07:00
2025-03-14 15:50:49 +00:00
2025-05-20 11:18:56 +01:00
2025-05-13 13:36:09 -07:00
2025-03-11 11:39:21 +08:00
2025-05-02 08:17:45 -07:00
2025-05-12 09:06:42 +08:00
2025-05-16 14:42:20 -07:00
2025-05-13 21:14:14 +09:00
2025-05-19 17:26:05 -07:00
2025-01-29 16:56:47 +01:00
2025-03-14 15:50:49 +00:00
2025-02-21 12:26:39 +01:00
2025-04-30 10:58:17 -07:00
2025-05-23 15:46:34 +01:00
2025-03-29 19:21:34 +00:00
2025-05-23 07:15:06 -07:00
2025-01-14 12:06:22 +00:00
2025-05-12 10:15:22 +01:00
2025-04-30 22:06:37 +01:00
2025-03-12 09:50:50 -07:00
2025-04-12 07:31:13 -07:00
2025-05-16 15:38:22 -07:00
2025-04-07 14:59:34 +07:00
2025-04-10 12:23:53 +02:00
2025-04-21 17:05:34 -07:00
2025-03-14 15:50:49 +00:00
2025-04-21 17:49:48 -07:00
2024-12-12 15:45:44 +13:00
2025-05-10 08:26:26 -07:00
2025-02-14 09:28:57 +01:00
2025-05-14 14:21:52 +01:00
2025-05-22 19:38:10 -07:00
2025-05-09 15:56:54 -07:00
2025-05-12 09:16:13 +01:00
2025-04-12 15:11:54 +08:00
2025-05-23 14:59:18 +01:00
2025-04-30 15:01:00 +02:00
2025-04-08 21:57:29 +07:00
2025-05-14 21:51:56 +01:00
2025-03-24 10:11:55 -07:00
2025-03-29 10:42:51 -07:00
2025-04-01 14:27:11 +01:00
2025-03-14 15:50:49 +00:00
2025-05-21 11:33:57 -07:00
2025-03-14 15:50:49 +00:00
2025-05-22 17:01:37 +02:00
2025-05-20 07:31:16 -04:00
2025-03-14 15:50:49 +00:00
2025-04-17 10:42:07 +02:00
2025-05-21 11:33:57 -07:00
2025-04-09 10:36:12 -07:00
2025-05-09 14:22:14 -04:00
2025-04-09 12:48:59 +01:00
2025-04-15 11:12:05 -07:00
2025-04-05 16:49:05 +02:00
2025-05-07 11:05:25 +01:00
2025-05-23 14:05:57 +01:00
2025-05-15 11:52:25 -07:00
2025-01-27 20:08:53 -08:00