diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-22 21:11:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-22 21:11:06 +0000 |
commit | 965df54254b9e73949fc5649b51c3ca1bed4b4a6 (patch) | |
tree | 85b42fd23075bb25b004308315548aeb5e4cb280 /lib/Support/raw_ostream.cpp | |
parent | d8d0aee26a5a759085bfa9114302e507c8685599 (diff) |
For blocks that are not loop headers, just print their loop depth and header BB.
For loop headers, print Inner loop along with the other stuff so it doesn't take
an extra line. We now get stuff like this:
LBB1_4: ## %land.end
## in Loop: Header=BB1_1 Depth=1
notb %al
testb $1, %al
jne LBB1_8
and:
LBB1_6: ## %while.cond7
## Inner Loop Header: Depth=3
## Inside Loop BB1_5 Depth 2
## Inside Loop BB1_1 Depth 1
which still isn't great for loop headers, but is much less verbose.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
0 files changed, 0 insertions, 0 deletions