Mercurial > hg > CbC > CbC_llvm
view test/Other/loop-pass-ordering.ll @ 122:36195a0db682
merging ( incomplete )
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Nov 2017 20:32:31 +0900 |
parents | 803732b1fca8 |
children |
line wrap: on
line source
; RUN: opt -disable-output -debug-pass-manager \ ; RUN: -passes='no-op-loop' %s 2>&1 \ ; RUN: | FileCheck %s ; @f() ; / \ ; loop.0 loop.1 ; / \ \ ; loop.0.0 loop.0.1 loop.1.0 ; ; CHECK: Running pass: NoOpLoopPass on Loop at depth 2 containing: %loop.0.0 ; CHECK: Running pass: NoOpLoopPass on Loop at depth 2 containing: %loop.0.1 ; CHECK: Running pass: NoOpLoopPass on Loop at depth 1 containing: %loop.0 ; CHECK: Running pass: NoOpLoopPass on Loop at depth 2 containing: %loop.1.0 ; CHECK: Running pass: NoOpLoopPass on Loop at depth 1 containing: %loop.1 define void @f() { entry: br label %loop.0 loop.0: br i1 undef, label %loop.0.0, label %loop.1 loop.0.0: br i1 undef, label %loop.0.0, label %loop.0.1 loop.0.1: br i1 undef, label %loop.0.1, label %loop.0 loop.1: br i1 undef, label %loop.1, label %loop.1.bb1 loop.1.bb1: br i1 undef, label %loop.1, label %loop.1.bb2 loop.1.bb2: br i1 undef, label %end, label %loop.1.0 loop.1.0: br i1 undef, label %loop.1.0, label %loop.1 end: ret void }