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:
Chris Lattner 2003-07-23 03:32:11 +00:00
parent 1ba5bcd1ae
commit e1a875ef29

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
}