Add space to assert message.
[oota-llvm.git] / test / Transforms / Reassociate / multistep.ll
index 60727c1bf6c070267eddea07eb643dce2f37260f..7466d2e99d89fbce5cde31cdba68a92b4131a361 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt < %s -reassociate -S | FileCheck %s
 
 define i64 @multistep1(i64 %a, i64 %b, i64 %c) {
-; Check that a*a*b+a*a*c is turned into (a*a)*(b+c).
+; Check that a*a*b+a*a*c is turned into a*(a*(b+c)).
 ; CHECK: @multistep1
   %t0 = mul i64 %a, %b
   %t1 = mul i64 %a, %t0 ; a*(a*b)
@@ -9,8 +9,8 @@ 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 %a, %a
-; CHECK-NEXT: mul i64 %tmp{{.*}}, %tmp{{.*}}
+; CHECK-NEXT: mul i64 %tmp{{.*}}, %a
+; CHECK-NEXT: mul i64 %tmp{{.*}}, %a
 ; CHECK-NEXT: ret
   ret i64 %t4
 }