1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

X86: Add a note.

llvm-svn: 175408
This commit is contained in:
Benjamin Kramer 2013-02-17 23:34:14 +00:00
parent 8c3b2c82f6
commit 4ee689feed

View File

@ -953,3 +953,12 @@ similarly, v[0]-v[1] should match to hsubpd, and {v[0]-v[1], w[0]-w[1]} should
turn into hsubpd also.
//===---------------------------------------------------------------------===//
define <2 x i32> @foo(<2 x double> %in) {
%x = fptosi <2 x double> %in to <2 x i32>
ret <2 x i32> %x
}
Should compile into cvttpd2dq instead of being scalarized into 2 cvttsd2si.
//===---------------------------------------------------------------------===//