summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Reassociate/multistep.ll
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2014-11-14 17:09:19 +0000
committerChad Rosier <mcrosier@codeaurora.org>2014-11-14 17:09:19 +0000
commitdf8f2a23cbaf0ff16cdc9d98fba10dc2b323985c (patch)
treef4a718396b9f4278dd0a8ccc7909cb59f02fb995 /llvm/test/Transforms/Reassociate/multistep.ll
parent39e1cda45b4d93024e1f131e83278c47bd62899d (diff)
downloadbcm5719-llvm-df8f2a23cbaf0ff16cdc9d98fba10dc2b323985c.tar.gz
bcm5719-llvm-df8f2a23cbaf0ff16cdc9d98fba10dc2b323985c.zip
[Reassociate] Canonicalize the operands of all binary operators.
llvm-svn: 222008
Diffstat (limited to 'llvm/test/Transforms/Reassociate/multistep.ll')
-rw-r--r--llvm/test/Transforms/Reassociate/multistep.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Reassociate/multistep.ll b/llvm/test/Transforms/Reassociate/multistep.ll
index 12eaeeea7b7..c499646a8b6 100644
--- a/llvm/test/Transforms/Reassociate/multistep.ll
+++ b/llvm/test/Transforms/Reassociate/multistep.ll
@@ -9,7 +9,7 @@ define i64 @multistep1(i64 %a, i64 %b, i64 %c) {
%t3 = mul i64 %a, %t2 ; a*(a*c)
%t4 = add i64 %t1, %t3
; CHECK-NEXT: add i64 %c, %b
-; CHECK-NEXT: mul i64 %tmp{{.*}}, %a
+; CHECK-NEXT: mul i64 %a, %tmp{{.*}}
; CHECK-NEXT: mul i64 %tmp{{.*}}, %a
; CHECK-NEXT: ret
ret i64 %t4
OpenPOWER on IntegriCloud