I am compiling for x86-64. This error happens randomly (at least it
appears that way) and rarely. About every few thousand runs
the only useful advice I can give you right now: Try to narrow the
problem down. You'll have to find out where the "problematic" constant
3.540000e+02 comes from and boil it down into a test case.
Does this reproduce with llc? If so, you can use bugpoint to reduce it to a small testcase.