| Issue |
76672
|
| Summary |
[instcombine] fold cmp of max/min with different sign
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
sftlbcn
|
https://godbolt.org/z/6dEKsTW8K
cvp makes the cmp unsigned
```
inline int m(int x, int y) { return x > y ? x : y; }
bool src(int a) { return m(a, 0) > 1; }
bool tgt(int a) { return a > 1; }
```
@dtcxzyw follow up to 44e5afdb91b92dedfbd3100a3e73dab27de1c9cf
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs