mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 06:30:30 +00:00
e8b4a4a9d1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160927 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
351 B
LLVM
12 lines
351 B
LLVM
; RUN: llc < %s -march=x86 -mattr=+sse2 > %t
|
|
; RUN: grep pcmpeqd %t | count 1
|
|
; RUN: grep xor %t | count 1
|
|
; RUN: not grep LCP %t
|
|
|
|
define <2 x double> @foo() nounwind {
|
|
ret <2 x double> bitcast (<2 x i64><i64 -1, i64 -1> to <2 x double>)
|
|
}
|
|
define <2 x double> @bar() nounwind {
|
|
ret <2 x double> bitcast (<2 x i64><i64 0, i64 0> to <2 x double>)
|
|
}
|