mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-24 06:27:56 +00:00
New testcase that caused infinite loop in taildup
llvm-svn: 7242
This commit is contained in:
parent
7594fa7280
commit
5ff1500e85
@ -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…
x
Reference in New Issue
Block a user