projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add intermediate subtract instructions to reassociation worklist.
[oota-llvm.git]
/
test
/
Transforms
/
Reassociate
/
fast-fp-commute.ll
diff --git
a/test/Transforms/Reassociate/fast-fp-commute.ll
b/test/Transforms/Reassociate/fast-fp-commute.ll
index 71fe7bb48a03d5846449cc0211a8eaef8ed8a61d..6565bbb3d20172be41f004b96c77eab37df8d37d 100644
(file)
--- a/
test/Transforms/Reassociate/fast-fp-commute.ll
+++ b/
test/Transforms/Reassociate/fast-fp-commute.ll
@@
-33,8
+33,8
@@
define float @test2(float %x, float %y) {
define float @test3(float %x, float %y) {
; CHECK-LABEL: test3
define float @test3(float %x, float %y) {
; CHECK-LABEL: test3
-; CHECK-NEXT: %factor = fmul fast float
2.000000e+00, %y
-; CHECK-NEXT: %tmp1 = fmul fast float %factor, %
x
+; CHECK-NEXT: %factor = fmul fast float
%x, 2.000000e+00
+; CHECK-NEXT: %tmp1 = fmul fast float %factor, %
y
; CHECK-NEXT: ret float %tmp1
%1 = fmul fast float %x, %y
; CHECK-NEXT: ret float %tmp1
%1 = fmul fast float %x, %y