diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-06-02 17:52:33 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-02 17:52:33 +0000 |
commit | 009b1c42aa6266385f2c37e227516b24077e6dd7 (patch) | |
tree | 64ba909838c23261cace781ece27d106134ea451 /test/Transforms/LoopRotate/pr2639.ll | |
download | src-test2-009b1c42aa6266385f2c37e227516b24077e6dd7.tar.gz src-test2-009b1c42aa6266385f2c37e227516b24077e6dd7.zip |
Notes
Diffstat (limited to 'test/Transforms/LoopRotate/pr2639.ll')
-rw-r--r-- | test/Transforms/LoopRotate/pr2639.ll | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/Transforms/LoopRotate/pr2639.ll b/test/Transforms/LoopRotate/pr2639.ll new file mode 100644 index 000000000000..67477ade9968 --- /dev/null +++ b/test/Transforms/LoopRotate/pr2639.ll @@ -0,0 +1,38 @@ +; RUN: llvm-as < %s | opt -loop-deletion -loop-rotate -disable-output +; PR 2639 + + %struct.HexxagonMove = type { i8, i8, i32 } + +define void @_ZN16HexxagonMoveList7addMoveER12HexxagonMove() { +entry: + br i1 false, label %bb9.preheader, label %bb11 + +bb9.preheader: ; preds = %entry + br label %bb9 + +bb1: ; preds = %bb9 + br i1 false, label %bb3, label %bb8 + +bb3: ; preds = %bb1 + br label %bb5 + +bb4: ; preds = %bb5 + br label %bb5 + +bb5: ; preds = %bb4, %bb3 + %exitcond = icmp eq i32 0, 0 ; <i1> [#uses=1] + br i1 %exitcond, label %bb7, label %bb4 + +bb7: ; preds = %bb5 + store %struct.HexxagonMove* null, %struct.HexxagonMove** null, align 4 + br label %bb8 + +bb8: ; preds = %bb7, %bb1 + br label %bb9 + +bb9: ; preds = %bb8, %bb9.preheader + br i1 false, label %bb11, label %bb1 + +bb11: ; preds = %bb9, %entry + ret void +} |