diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-08 05:02:00 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-08 05:02:00 +0000 |
commit | da89d1812aa31f7b5f5407514109e362cf92c882 (patch) | |
tree | d0f61dc0cd649db243a35589913b89fbf94bcb02 /llvm/test/CodeGen/Generic | |
parent | cbfe41ac2f01886ac44815a14e5b1178d05067f0 (diff) | |
download | bcm5719-llvm-da89d1812aa31f7b5f5407514109e362cf92c882.tar.gz bcm5719-llvm-da89d1812aa31f7b5f5407514109e362cf92c882.zip |
[CodeGen] Print MachineBasicBlock labels using MIR syntax in -debug output
Instead of:
%bb.1: derived from LLVM BB %for.body
print:
bb.1.for.body:
Also use MIR syntax for MBB attributes like "align", "landing-pad", etc.
llvm-svn: 324563
Diffstat (limited to 'llvm/test/CodeGen/Generic')
-rw-r--r-- | llvm/test/CodeGen/Generic/MachineBranchProb.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/Generic/MachineBranchProb.ll b/llvm/test/CodeGen/Generic/MachineBranchProb.ll index dc4a52ab711..f0d0996ff81 100644 --- a/llvm/test/CodeGen/Generic/MachineBranchProb.ll +++ b/llvm/test/CodeGen/Generic/MachineBranchProb.ll @@ -21,13 +21,13 @@ entry: i64 5, label %sw.bb1 i64 15, label %sw.bb ], !prof !0 -; CHECK: %bb.0: derived from LLVM BB %entry +; CHECK: bb.0.entry: ; CHECK: Successors according to CFG: %bb.1({{[0-9a-fx/= ]+}}92.17%) %bb.4({{[0-9a-fx/= ]+}}7.83%) -; CHECK: %bb.4: derived from LLVM BB %entry +; CHECK: bb.4.entry: ; CHECK: Successors according to CFG: %bb.2({{[0-9a-fx/= ]+}}75.29%) %bb.5({{[0-9a-fx/= ]+}}24.71%) -; CHECK: %bb.5: derived from LLVM BB %entry +; CHECK: bb.5.entry: ; CHECK: Successors according to CFG: %bb.1({{[0-9a-fx/= ]+}}47.62%) %bb.6({{[0-9a-fx/= ]+}}52.38%) -; CHECK: %bb.6: derived from LLVM BB %entry +; CHECK: bb.6.entry: ; CHECK: Successors according to CFG: %bb.1({{[0-9a-fx/= ]+}}36.36%) %bb.3({{[0-9a-fx/= ]+}}63.64%) sw.bb: @@ -70,7 +70,7 @@ return: ret void ; right with weight 20. ; ; CHECK-LABEL: Machine code for function left_leaning_weight_balanced_tree: -; CHECK: %bb.0: derived from LLVM BB %entry +; CHECK: bb.0.entry: ; CHECK-NOT: Successors ; CHECK: Successors according to CFG: %bb.8({{[0-9a-fx/= ]+}}39.71%) %bb.9({{[0-9a-fx/= ]+}}60.29%) } |