[Reassociate] As the expression tree is rewritten make sure the operands are
[oota-llvm.git] / test / Transforms / Reassociate / canonicalize-neg-const.ll
index e85a963f6ddac32b54f90029703b324cad33c8de..1c86312afad2443e74848dacdfdf47744da9a8ad 100644 (file)
@@ -53,7 +53,7 @@ define double @test3(double %x, double %y) {
 define i64 @test4(i64 %x, i64 %y) {
 ; CHECK-LABEL: @test4
 ; CHECK-NEXT: mul i64 %y, 1234
-; CHECK-NEXT: add i64 %mul, %x
+; CHECK-NEXT: add i64 %x, %mul
 ; CHECK-NEXT: ret i64 %sub
 
   %mul = mul i64 %y, -1234