brintos

brintos / llvm-project-archived public Read only

0
0
Text · 405 B · 59692d6 Raw
13 lines · plain
1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s2; RUN: verify-uselistorder %s3; Rudimentary test of select on vectors returning vector of bool4 5; CHECK: @foo6; CHECK: select <4 x i1> %cond, <4 x i32> %a, <4 x i32> %b7define <4 x i32> @foo(<4 x i32> %a, <4 x i32> %b, <4 x i1> %cond) nounwind  {8entry:9  %cmp = select <4 x i1>  %cond, <4 x i32> %a, <4 x i32> %b10  ret <4 x i32> %cmp11}12 13