diff --git a/test/Feature/instructions.ll b/test/Feature/instructions.ll new file mode 100644 index 00000000000..2edb1faba75 --- /dev/null +++ b/test/Feature/instructions.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as %s -o - | llvm-dis > %t1.ll +; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll +; RUN: diff %t1.ll %t2.ll + +uint %test_extractelement(<4 x uint> %V) { + %R = extractelement <4 x uint> %V, uint 1 + ret uint %R +}