[llvm-dev] Speculative FP operation.

Umesh Kalappa via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 10 01:30:33 PST 2021


Hi all,

We have a  situation ,where the floating operations were hoisted
speculative from a conditional block on ARM64.

Was using the option "-mllvm --speculate-fp-insts=false" but doesn't
have any effect from LLVM 12 .

and "-ftrapping-math" is not enabled for aarch64 .

So question to the expert ,while investigating the passes we found
that simplifyCFG does this transformation and before we investigate
and prevent this transformation .

Do the group recommend any other options here ?

Thank you
~Umesh


More information about the llvm-dev mailing list