Revert "[Reassociate] As the expression tree is rewritten make sure the operands...
[oota-llvm.git] / test / Transforms / Reassociate / commute.ll
index 1c80248170c85eb669aacb84288539bb608caa0d..760e51b05e1c3bdb989d97a968257ae52c7a336e 100644 (file)
@@ -4,8 +4,8 @@ declare void @use(i32)
 
 define void @test1(i32 %x, i32 %y) {
 ; CHECK-LABEL: test1
-; CHECK: mul i32 %x, %y
-; CHECK: mul i32 %x, %y
+; CHECK: mul i32 %y, %x
+; CHECK: mul i32 %y, %x
 ; CHECK: sub i32 %1, %2
 ; CHECK: call void @use(i32 %{{.*}})
 ; CHECK: call void @use(i32 %{{.*}})