Go to file
Simon Pilgrim e3b9ee0645 [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR
D20859 and D20860 attempted to replace the SSE (V)CVTTPS2DQ and VCVTTPD2DQ truncating conversions with generic IR instead.

It turns out that the behaviour of these intrinsics is different enough from generic IR that this will cause problems, INF/NAN/out of range values are guaranteed to result in a 0x80000000 value - which plays havoc with constant folding which converts them to either zero or UNDEF. This is also an issue with the scalar implementations (which were already generic IR and what I was trying to match).

This patch changes both scalar and packed versions back to using x86-specific builtins.

It also deals with the other scalar conversion cases that are runtime rounding mode dependent and can have similar issues with constant folding.

Differential Revision: https://reviews.llvm.org/D22105

llvm-svn: 276102
2016-07-20 10:18:01 +00:00
clang [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR 2016-07-20 10:18:01 +00:00
clang-tools-extra [include-fixer] Make error messages a bit prettier and make sure to 2016-07-20 09:12:19 +00:00
compiler-rt Minor cleanup -- clear name structure before parsing 2016-07-20 05:10:56 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc amdgpu: Use right builtn for rsq 2016-07-19 19:02:01 +00:00
libcxx Fix inheriting constructor test for std::function. 2016-07-20 06:46:22 +00:00
libcxxabi Attempt to bring peace to -Werror buildbots. 2016-07-19 20:35:09 +00:00
libunwind libunwind: sync some coments with NetBSD's version 2016-07-19 17:28:38 +00:00
lld Support for standard model ARM TLS 2016-07-20 08:52:27 +00:00
lldb Add a default-value bool flag pretty_print to the StructuredData Dump methods. 2016-07-20 03:49:02 +00:00
llgo Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
llvm [ARM] Skip inline asm memory operands in DAGToDAGISel 2016-07-20 09:48:24 +00:00
openmp http://reviews.llvm.org/D22134: Implementation of OpenMP 4.5 nonmonotonic schedule modifier 2016-07-11 10:44:57 +00:00
parallel-libs Set up arcconfig for parallel-libs project 2016-07-18 17:26:26 +00:00
polly Update isl to isl-0.17.1-171-g233f589 2016-07-20 07:52:42 +00:00