[PATCH] Reassociate x + -0.1234 * y into x - 0.1234 * y (part 2)

Renato Golin renato.golin at linaro.org
Wed Sep 24 09:02:15 PDT 2014


Hi Chad,

I get this failure when running on ARM:

/work/llvm/src/llvm/test/Transforms/Reassociate/canonicalize-neg-const.ll:120:15: error: expected string not found in input
; CHECK-NEXT: fmul double %y, 1.234000e-01
              ^
<stdin>:57:21: note: scanning from here
define double @test9(double %x, double %y) {
                    ^
<stdin>:58:5: note: possible intended match here
 %mul = fmul double 1.234000e-01, %y
    ^

Looks like the position of the arguments is not deterministic?

http://reviews.llvm.org/D5363






More information about the llvm-commits mailing list