diff options
| author | Renato Golin <renato.golin@linaro.org> | 2015-06-05 18:24:12 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2015-06-05 18:24:12 +0000 |
| commit | 3dabb233845f4385e649377d85a21b667a8ed8de (patch) | |
| tree | 7f4b6ccda69fca21f2b578e3e2ffc409714ca1e4 /llvm/test | |
| parent | b20fbb8b15881e1bc6167b5590e0d68d7b076598 (diff) | |
| download | bcm5719-llvm-3dabb233845f4385e649377d85a21b667a8ed8de.tar.gz bcm5719-llvm-3dabb233845f4385e649377d85a21b667a8ed8de.zip | |
Revert "[InstCombine] Rephrase fix to SimplifyWithOpReplaced"
This reverts commit r239141. This commit was an attempt to reintroduce
a previous patch that broke many self-hosting bots with clang timeouts,
but it still has slowdown issues, at least on ARM, increasing the
compilation time (stage 2, clang's) by 5x.
llvm-svn: 239175
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/select.ll | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/test/Transforms/InstCombine/select.ll b/llvm/test/Transforms/InstCombine/select.ll index b05f2ca2c4c..e4bc96cff17 100644 --- a/llvm/test/Transforms/InstCombine/select.ll +++ b/llvm/test/Transforms/InstCombine/select.ll @@ -1532,13 +1532,3 @@ define i32 @test_max_of_min(i32 %a) { %s1 = select i1 %c1, i32 %s0, i32 -1 ret i32 %s1 } - -define i32 @PR23757(i32 %x) { -; CHECK-LABEL: @PR23757 -; CHECK: %[[add:.*]] = add i32 %x, 1 -; CHECK-NEXT: ret i32 %[[add]] - %cmp = icmp eq i32 %x, 2147483647 - %add = add nsw i32 %x, 1 - %sel = select i1 %cmp, i32 -2147483648, i32 %add - ret i32 %sel -} |

