aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/NativeFormatting.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-10-18 07:42:15 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-10-18 07:42:15 +0000
commit4ddc92b6cdcb1a15b8973fad366cd70a06446439 (patch)
tree99a511ec1c2c48daeb7c1d068c79f38ea52e9656 /llvm/lib/Support/NativeFormatting.cpp
parent391fb8662a75b7cc45cad8926888ff6c5685b4ab (diff)
downloadllvm-4ddc92b6cdcb1a15b8973fad366cd70a06446439.zip
llvm-4ddc92b6cdcb1a15b8973fad366cd70a06446439.tar.gz
llvm-4ddc92b6cdcb1a15b8973fad366cd70a06446439.tar.bz2
[X86][SSE] Add lowering to cvttpd2dq/cvttps2dq for sitofp v2f64/2f32 to 2i32
As discussed on PR28461 we currently miss the chance to lower "fptosi <2 x double> %arg to <2 x i32>" to cvttpd2dq due to its use of illegal types. This patch adds support for fptosi to 2i32 from both 2f64 and 2f32. It also recognises that cvttpd2dq zeroes the upper 64-bits of the xmm result (similar to D23797) - we still don't do this for the cvttpd2dq/cvttps2dq intrinsics - this can be done in a future patch. Differential Revision: https://reviews.llvm.org/D23808 llvm-svn: 284459
Diffstat (limited to 'llvm/lib/Support/NativeFormatting.cpp')
0 files changed, 0 insertions, 0 deletions