mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
new testcase that causes instcombine to infinitely loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33342 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9fd6be776b
commit
e68266dc76
7
test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
Normal file
7
test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
Normal file
@ -0,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
|
||||
}
|
Loading…
Reference in New Issue
Block a user