New testcase for PR293

llvm-svn: 12433
This commit is contained in:
Chris Lattner 2004-03-16 05:44:02 +00:00
parent 0128c9a6de
commit 767858af43
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
; RUN: llvm-as < %s | opt -loopsimplify -licm -disable-output
void %main() {
entry:
br bool false, label %Out, label %loop
loop:
%LI = setgt int 0, 0
br bool %LI, label %loop, label %Out
Out:
ret void
}