mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
New testcase that caused infinite loop in taildup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ba5bcd1ae
commit
e1a875ef29
13
test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll
Normal file
13
test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: as < %s | opt -tailduplicate -disable-output
|
||||
|
||||
implementation
|
||||
|
||||
int %sum() {
|
||||
entry:
|
||||
br label %loopentry
|
||||
|
||||
loopentry:
|
||||
%i.0 = phi int [ 1, %entry ], [ %tmp.3, %loopentry ]
|
||||
%tmp.3 = add int %i.0, 1
|
||||
br label %loopentry
|
||||
}
|
Loading…
Reference in New Issue
Block a user