Erik Eckstein
5064297400
InstructionSimplification: simplify negated integer comparsions
Replaces a builtin "xor", which negates its operand comparison
```
%3 = builtin "cmp_slt_Int64"(%1, %2) : $Builtin.Int1
%4 = integer_literal $Builtin.Int1, -1
%5 = builtin "xor_Int1"(%3, %4) : $Builtin.Int1
```
with the negated comparison
```
%5 = builtin "cmp_ge_Int64"(%1, %2) : $Builtin.Int1
```
This makes LLVM's IPSCCP happy.
rdar://154950810
2025-07-18 07:43:51 +02:00
..
2025-05-07 02:34:46 +01:00
2025-04-28 13:08:24 -07:00
2025-07-01 07:19:33 -07:00
2025-01-31 11:15:02 -05:00
2025-04-04 09:12:02 -04:00
2025-01-22 14:26:13 -05:00
2025-01-24 14:11:20 -05:00
2025-01-22 14:26:13 -05:00
2025-01-22 14:26:13 -05:00
2024-04-25 11:44:15 -07:00
2024-08-26 16:42:23 -07:00
2024-08-26 16:42:23 -07:00
2025-02-25 17:22:41 -05:00
2025-04-23 15:35:17 -04:00
2025-05-23 23:02:51 -07:00
2025-04-01 00:48:01 -07:00
2024-06-19 15:22:20 +01:00
2025-02-14 03:40:36 -08:00
2024-08-30 02:37:57 +05:30
2025-05-17 13:27:33 +05:30
2023-10-12 12:44:06 -07:00
2024-11-02 11:46:46 -07:00
2025-03-11 17:18:44 -04:00
2024-02-24 08:33:28 -10:00
2025-01-31 06:19:28 -08:00
2024-11-01 03:16:55 -07:00
2025-01-22 14:26:14 -05:00
2024-11-21 18:49:52 +01:00
2024-11-21 18:49:52 +01:00
2025-03-11 17:18:43 -04:00
2025-03-11 17:18:43 -04:00
2025-03-11 17:18:43 -04:00
2024-04-05 07:52:14 -07:00
2025-07-01 07:19:33 -07:00
2025-07-18 07:43:51 +02:00
2025-07-18 07:43:51 +02:00
2025-04-08 13:39:15 -07:00
2024-06-13 12:09:59 -07:00
2024-06-13 12:09:59 -07:00
2025-07-09 06:29:45 -07:00
2024-06-13 12:09:59 -07:00
2024-06-13 12:09:59 -07:00
2024-06-13 12:09:59 -07:00
2025-05-22 11:07:13 +01:00
2023-09-24 15:24:18 -07:00
2024-07-23 21:11:25 +01:00
2024-10-18 10:11:36 -07:00
2023-10-05 11:40:53 -07:00