[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
Chris Lattner
sabre at nondot.org
Thu Jan 18 14:16:19 PST 2007
Changes in directory llvm/test/Transforms/InstCombine:
2007-01-18-VectorInfLoop.ll added (r1.1)
---
Log message:
new testcase that causes instcombine to infinitely loop
---
Diffs of the changes: (+7 -0)
2007-01-18-VectorInfLoop.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
diff -c /dev/null llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll:1.1
*** /dev/null Thu Jan 18 16:16:13 2007
--- llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll Thu Jan 18 16:16:03 2007
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | opt -instcombine -disable-output
+
+ define <4 x i32> %test(<4 x i32> %A) {
+ %B = xor <4 x i32> %A, < i32 -1, i32 -1, i32 -1, i32 -1 >
+ %C = and <4 x i32> %B, < i32 -1, i32 -1, i32 -1, i32 -1 >
+ ret <4 x i32> %C
+ }
More information about the llvm-commits
mailing list