[PATCH] D22106: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 15:24:18 PDT 2016
eli.friedman added inline comments.
================
Comment at: lib/Analysis/ConstantFolding.cpp:1429
@@ -1428,3 @@
- if (status != APFloat::opOK && status != APFloat::opInexact)
- return nullptr;
- return ConstantInt::get(Ty, UIntVal, /*isSigned=*/true);
----------------
This is supposed to give up if it finds an out-of-range float; does that not work correctly?
Repository:
rL LLVM
http://reviews.llvm.org/D22106
More information about the llvm-commits
mailing list