diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2014-11-19 23:21:20 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2014-11-19 23:21:20 +0000 |
commit | 90a2f9b1103733dace968461c0715be10e6d7f41 (patch) | |
tree | 5eba1b4f44b7ddc78718ade9d60212305b8e14f0 /llvm/test/Transforms/Reassociate/fast-basictest.ll | |
parent | 36577d037f7bf7cdddb2e1f6cce62c52aee04a14 (diff) | |
download | bcm5719-llvm-90a2f9b1103733dace968461c0715be10e6d7f41.tar.gz bcm5719-llvm-90a2f9b1103733dace968461c0715be10e6d7f41.zip |
Revert "[Reassociate] As the expression tree is rewritten make sure the operands are"
This reverts commit r222142. This is causing/exposing an execution-time regression
in spec2006/gcc and coremark on AArch64/A57/Ofast.
Conflicts:
test/Transforms/Reassociate/optional-flags.ll
llvm-svn: 222398
Diffstat (limited to 'llvm/test/Transforms/Reassociate/fast-basictest.ll')
-rw-r--r-- | llvm/test/Transforms/Reassociate/fast-basictest.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Transforms/Reassociate/fast-basictest.ll b/llvm/test/Transforms/Reassociate/fast-basictest.ll index 4d287fb40cf..67b07f4d269 100644 --- a/llvm/test/Transforms/Reassociate/fast-basictest.ll +++ b/llvm/test/Transforms/Reassociate/fast-basictest.ll @@ -26,7 +26,7 @@ define float @test2(float %reg109, float %reg1111) { define float @test3(float %reg109, float %reg1111) { ; CHECK-LABEL: @test3 -; CHECK-NEXT: %reg117 = fadd fast float %reg1111, %reg109 +; CHECK-NEXT: %reg117 = fadd fast float %reg109, %reg1111 ; CHECK-NEXT: ret float %reg117 %reg115 = fadd fast float %reg109, -3.000000e+01 @@ -106,7 +106,7 @@ define void @test6() { define float @test7(float %A, float %B, float %C) { ; CHECK-LABEL: @test7 -; CHECK-NEXT: fadd fast float %B, %C +; CHECK-NEXT: fadd fast float %C, %B ; CHECK-NEXT: fmul fast float %A, %A ; CHECK-NEXT: fmul fast float %1, %tmp2 ; CHECK-NEXT: ret float @@ -121,7 +121,7 @@ define float @test7(float %A, float %B, float %C) { define float @test8(float %X, float %Y, float %Z) { ; CHECK-LABEL: @test8 -; CHECK-NEXT: fmul fast float %X, %Y +; CHECK-NEXT: fmul fast float %Y, %X ; CHECK-NEXT: fsub fast float %Z ; CHECK-NEXT: ret float @@ -269,8 +269,8 @@ define float @test19(float %A, float %B) { ; With sub reassociation, constant folding can eliminate the uses of %a. define float @test20(float %a, float %b, float %c) nounwind { ; CHECK-LABEL: @test20 -; CHECK-NEXT: fsub fast float -0.000000e+00, %c -; CHECK-NEXT: fsub fast float %c.neg, %b +; CHECK-NEXT: fsub fast float -0.000000e+00, %b +; CHECK-NEXT: fsub fast float %b.neg, %c ; CHECK-NEXT: ret float ; FIXME: Should be able to generate the below, which may expose more |