[PATCH] D14073: [FPEnv Core 08/14] Do not simplify expressions with FPEnv access
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 14 11:18:03 PST 2015
majnemer added a subscriber: majnemer.
================
Comment at: lib/IR/Constants.cpp:1890-1891
@@ +1889,4 @@
+ if (C1->getType()->isFPOrFPVectorTy()) {
+ // ConstantExpression can't store these flags, which can lead to going
+ // against them.
+ if (Strict && (!FMF.noExceptions() || !FMF.noRounding()))
----------------
Er, why not teach ConstantExpression about these flags?
Repository:
rL LLVM
http://reviews.llvm.org/D14073
More information about the llvm-commits
mailing list