[llvm-commits] CVS: llvm/test/Transforms/InstCombine/vec_insertelt.ll
Chris Lattner
sabre at nondot.org
Sun Apr 8 18:10:30 PDT 2007
Changes in directory llvm/test/Transforms/InstCombine:
vec_insertelt.ll added (r1.1)
---
Log message:
new testcase for PR1286: http://llvm.org/PR1286
---
Diffs of the changes: (+7 -0)
vec_insertelt.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Transforms/InstCombine/vec_insertelt.ll
diff -c /dev/null llvm/test/Transforms/InstCombine/vec_insertelt.ll:1.1
*** /dev/null Sun Apr 8 20:10:23 2007
--- llvm/test/Transforms/InstCombine/vec_insertelt.ll Sun Apr 8 20:10:13 2007
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'ret <4 x i32> %A'
+
+ ; PR1286
+ define <4 x i32> @test1(<4 x i32> %A) {
+ %B = insertelement <4 x i32> %A, i32 undef, i32 1
+ ret <4 x i32> %B
+ }
More information about the llvm-commits
mailing list