[llvm-commits] [PATCH] [Fast-math] In relaxed FP mode, Instruction::isAssociative() returns true for fmul/fadd

Eli Friedman eli.friedman at gmail.com
Wed Nov 28 17:06:10 PST 2012


On Wed, Nov 28, 2012 at 4:53 PM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
> Hi, Eli:
>
>   I'm not able to fabricate such *.ll with mixed fp operator directly from
> *.c file.
> We have to manually modify the *.ll from the 1st testing case.

You can end up with this sort of construct using LTO (linking a
fast-math file with a non-fast-math file).

-Eli



More information about the llvm-commits mailing list