New testcase that caused infinite loop in taildup

llvm-svn: 7242
This commit is contained in:
Chris Lattner 2003-07-23 03:32:11 +00:00
parent 7594fa7280
commit 5ff1500e85

View 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
}