Nikita Popov
fa12df5e22
[SCEV] Check correct value for UB ( #124302 )
...
This is a followup to #117152 . That patch introduced a check for
UB/poison on BEValue. However, the SCEV we're actually going to use is
Shifted. In some cases, it's possible for Shifted to contain UB, while
BEValue doesn't.
In the test case the values are:
BEValue: (-1 * (zext i8 (-83 + ((-83 /u {1,+,1}<%loop>) *
{-1,+,-1}<%loop>)) to i32))<nuw><nsw>
Shifted: (-173 + (-1 * (zext i8 ((-83 /u {0,+,1}<%loop>) *
{0,+,-1}<%loop>) to i32))<nuw><nsw>)<nuw><nsw>
Fixes https://github.com/llvm/llvm-project/issues/123550 .
(cherry picked from commit 07efe2c18a63423943a4f9d9daeada23601f84c8)
2025-01-30 14:05:10 -08:00
..
2024-06-25 12:36:40 -07:00
2025-01-13 12:10:26 -08:00
2024-06-28 08:36:49 +02:00
2024-11-05 19:11:34 -08:00
2024-12-18 09:02:28 -07:00
2024-10-12 08:04:38 -07:00
2024-12-13 12:58:59 +01:00
2024-05-07 10:20:10 -07:00
2025-01-22 00:17:29 -08:00
2024-06-25 06:57:30 -07:00
2024-09-20 12:19:59 -05:00
2024-06-28 14:30:47 +02:00
2024-06-27 16:38:15 +02:00
2024-05-21 09:48:03 -07:00
2024-11-05 12:58:48 +00:00
2024-11-05 19:11:34 -08:00
2024-12-19 10:56:02 +01:00
2025-01-15 18:08:53 +01:00
2024-06-06 13:13:46 +05:30
2025-01-20 12:19:07 -05:00
2024-12-20 21:20:47 +08:00
2024-11-05 19:11:34 -08:00
2025-01-15 16:49:59 -08:00
2024-11-05 19:11:34 -08:00
2024-11-05 19:11:34 -08:00
2024-11-05 19:11:34 -08:00
2024-08-14 08:23:04 -07:00
2024-06-28 08:08:19 -07:00
2024-12-13 11:43:09 +08:00
2024-09-23 19:00:20 -04:00
2024-12-19 12:17:21 -07:00
2024-09-05 12:34:47 -07:00
2024-11-05 19:11:34 -08:00
2024-11-05 19:11:34 -08:00
2024-11-18 10:24:09 -08:00
2025-01-18 10:32:14 -08:00
2024-11-18 10:24:09 -08:00
2024-07-01 17:47:13 -07:00
2024-11-05 19:11:34 -08:00
2025-01-16 08:45:27 -08:00
2025-01-11 15:10:42 -06:00
2024-09-13 07:53:23 -07:00
2024-12-13 14:18:33 +00:00
2024-08-03 20:10:01 +01:00
2024-11-07 07:52:14 +08:00
2024-10-24 08:07:13 +03:00
2025-01-15 09:53:31 +01:00
2025-01-08 17:06:22 +01:00
2025-01-28 11:37:11 +00:00
2024-06-04 10:00:26 +02:00
2025-01-27 14:21:14 +00:00
2024-06-21 23:50:53 +03:30
2024-11-14 08:40:45 +00:00
2025-01-24 10:53:11 +00:00
2025-01-24 13:27:56 +00:00
2024-06-28 14:30:47 +02:00
2024-08-28 12:15:12 +02:00
2024-11-05 19:11:34 -08:00
2024-12-20 12:16:49 +00:00
2024-11-21 09:25:10 -08:00
2025-01-15 13:50:23 +00:00
2025-01-24 15:58:13 -08:00
2024-08-13 22:38:50 +08:00
2024-12-09 12:21:49 +01:00
2024-09-05 12:34:47 -07:00
2024-11-05 19:11:34 -08:00
2024-11-15 08:24:44 -08:00
2025-01-24 13:27:56 +00:00
2024-11-05 19:11:34 -08:00
2024-12-13 14:18:33 +00:00
2024-06-25 06:57:30 -07:00
2024-08-30 11:47:34 -07:00
2024-08-14 17:57:47 +02:00
2024-09-30 06:49:50 -07:00
2025-01-30 14:05:10 -08:00
2024-05-30 10:50:32 +08:00
2024-06-21 23:50:53 +03:30
2024-06-28 08:36:49 +02:00
2024-10-29 09:26:47 -07:00
2024-10-26 20:02:05 -07:00
2024-12-12 15:45:44 +13:00
2025-01-17 10:49:43 +00:00
2024-12-17 13:57:34 +00:00
2024-08-13 11:56:02 +02:00
2024-11-05 19:11:34 -08:00
2024-08-28 15:18:31 +02:00
2025-01-28 15:54:00 -06:00
2025-01-13 17:06:25 -05:00