[PATCH] D18701: [ARM] Adding IEEE-754 SIMD detection to loop vectorizer
Ashutosh Nema via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 5 04:27:23 PDT 2016
ashutosh.nema added inline comments.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:4714
@@ +4713,3 @@
+ // non-IEEE-754 compliant SIMD units.
+ } else if (it->getType()->isFloatingPointTy() &&
+ (it->isBinaryOp() || it->isCast()) &&
----------------
You may want to set unsafe flag for some of the intrinsics as well.
i.e. intrinsic like minnum, maxnum are floating point unsafe and
follows IEEE-754 semantics.
http://reviews.llvm.org/D18701
More information about the llvm-commits
mailing list