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-07-14 13:46:13 -07:00
2025-02-12 09:01:11 +01:00
2025-06-04 17:12:28 -07:00
2025-06-08 11:30:04 +03:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-07-18 07:43:51 +02:00
2025-04-05 09:00:30 +02:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-03-14 09:49:53 +01:00
2025-06-20 08:14:59 +02:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-07-14 13:46:13 -07:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 15:18:39 +01:00
2025-05-20 20:46:40 +02:00
2025-06-22 23:25:26 -07:00
2025-07-14 13:46:13 -07:00
2025-02-12 09:01:11 +01:00
2025-05-22 15:33:27 +02:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-05-12 19:25:12 +02:00
2025-02-12 09:01:11 +01:00
2025-02-12 09:01:11 +01:00
2025-03-07 15:59:34 +01:00