X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2Fvector-select.ll;h=ae8358abf9a19be96285685280be1e27eb41a70e;hb=45137f954f976ea75282f7b4b2dac5777837840f;hp=7c76a8678d4eea9ebd7c7781a14ba573c6fc5d1b;hpb=be919409ccbf166340fe8484fc95efc903e56699;p=oota-llvm.git diff --git a/test/Assembler/vector-select.ll b/test/Assembler/vector-select.ll index 7c76a8678d4..ae8358abf9a 100644 --- a/test/Assembler/vector-select.ll +++ b/test/Assembler/vector-select.ll @@ -1,12 +1,11 @@ -; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep select -; XFAIL: * -; rudimentary test of select on vectors returning vector of bool +; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s +; Rudimentary test of select on vectors returning vector of bool -define <4 x i32> @foo(<4 x i32> %a, <4 x i32> %b, - <4 x i1> %cond) nounwind { +; CHECK: @foo +; CHECK: select <4 x i1> %cond, <4 x i32> %a, <4 x i32> %b +define <4 x i32> @foo(<4 x i32> %a, <4 x i32> %b, <4 x i1> %cond) nounwind { entry: - %cmp = select <4 x i1> %cond, <4 x i32> %a, <4 x i32> %b - ; <4 x i32> [#uses=1] + %cmp = select <4 x i1> %cond, <4 x i32> %a, <4 x i32> %b ret <4 x i32> %cmp }