[PATCH] CodeGen: Emit sqrt intrinsic from __builtin_sqrt
hfinkel at anl.gov
hfinkel at anl.gov
Thu Mar 19 14:59:08 PDT 2015
To play devil's advocate: I don't understand what you're trying to fix here. So the intrinsic has undefined behavior if x < -0.0; that's the definition of our intrinsic.
Regardless, you don't need to insert the extra code if we're in NoNaNs mode.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8468
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list