diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2020-09-15 12:22:47 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2020-09-15 12:22:47 +0200 |
commit | b768546fe0cc1d320857a6e080d4c796efb0c00c (patch) | |
tree | b83f66921ce97e1f276a7d2ff002e7be28a83aaa /llvm/lib/Analysis/ConstraintSystem.cpp | |
parent | 9eab73fa17f5920178a87ee8a5021f4fd6f0f5ef (diff) | |
download | llvm-b768546fe0cc1d320857a6e080d4c796efb0c00c.zip llvm-b768546fe0cc1d320857a6e080d4c796efb0c00c.tar.gz llvm-b768546fe0cc1d320857a6e080d4c796efb0c00c.tar.bz2 |
Revert "[InstCombine] Simplify select operand based on equality condition"
This reverts commit cfff88c03cf9e9b72906a41fd11e06721d54f293. Sends
instcombine into an infinite loop.
```
define i1 @foo(i32 %arg, i32 %arg1) {
bb:
%tmp = udiv i32 %arg, %arg1
%tmp2 = mul nsw i32 %tmp, %arg1
%tmp3 = icmp eq i32 %tmp2, %arg
%tmp4 = select i1 %tmp3, i32 %tmp, i32 undef
%tmp5 = icmp sgt i32 %tmp4, 255
ret i1 %tmp5
}
```
Diffstat (limited to 'llvm/lib/Analysis/ConstraintSystem.cpp')
0 files changed, 0 insertions, 0 deletions