view test/CodeGen/X86/all-ones-vector.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 1172e4bd9c6f
line wrap: on
line source

; RUN: llc < %s -march=x86 -mattr=sse2 | grep pcmpeqd | count 4

define <4 x i32> @ioo() nounwind {
        ret <4 x i32> <i32 -1, i32 -1, i32 -1, i32 -1>
}
define <2 x i64> @loo() nounwind {
        ret <2 x i64> <i64 -1, i64 -1>
}
define <2 x double> @doo() nounwind {
        ret <2 x double> <double 0xffffffffffffffff, double 0xffffffffffffffff>
}
define <4 x float> @foo() nounwind {
        ret <4 x float> <float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000>
}