summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/APSIntTest.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-06-01 21:46:51 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-06-01 21:46:51 +0000
commit00880511b15621a95a506c80af325cf04da57d76 (patch)
tree1e6d2e225f4dba35923b835b625cb42a74e2d118 /llvm/unittests/ADT/APSIntTest.cpp
parentd04c6851681bc9b89ba98c1644cd62d7fb719ac2 (diff)
downloadbcm5719-llvm-00880511b15621a95a506c80af325cf04da57d76.tar.gz
bcm5719-llvm-00880511b15621a95a506c80af325cf04da57d76.zip
[X86][SSE] Replace (V)CVTTPS2DQ and VCVTTPD2DQ truncating (round to zero) f32/f64 to i32 with generic IR (clang)
The 'cvtt' truncation (round to zero) conversions can be safely represented as generic __builtin_convertvector (fptosi) calls instead of x86 intrinsics. We already do this (implicitly) for the scalar equivalents. Note: I looked at updating _mm_cvttpd_epi32 as well but this still requires a lot more backend work to correctly lower (both for debug and optimized builds). Differential Revision: http://reviews.llvm.org/D20859 llvm-svn: 271436
Diffstat (limited to 'llvm/unittests/ADT/APSIntTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud