1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/Transforms/LICM/Preserve-LCSSA.ll
Dan Gohman 6e2d1c608b Make these tests more interesting by using
-verify-dom-info and -verify-loop-info, which enable additional
(expensive) consistency checks.

llvm-svn: 85017
2009-10-24 23:23:04 +00:00

26 lines
572 B
LLVM

; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output -verify-loop-info -verify-dom-info
define i32 @stringSearch_Clib(i32 %count) {
entry:
br i1 false, label %bb36, label %bb44
bb4: ; preds = %bb36
br i1 false, label %cond_next, label %cond_true
cond_true: ; preds = %bb4
ret i32 0
cond_next: ; preds = %bb4
ret i32 0
bb36: ; preds = %bb41, %entry
br i1 false, label %bb4, label %bb41
bb41: ; preds = %bb36
%ttmp2 = icmp slt i32 0, %count ; <i1> [#uses=1]
br i1 %ttmp2, label %bb36, label %bb44
bb44: ; preds = %bb41, %entry
ret i32 0
}