diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-09 00:10:31 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-02-09 00:10:31 +0000 |
commit | 39ec2e95ae6bb24940a1aecdf51d4a096cc0c9de (patch) | |
tree | 0a21014889fcdc3d0c230a45afad2b757b4c28fd /llvm/test/CodeGen/AVR | |
parent | d42b1c0534e04e988406f02c2161f4d84720d4b5 (diff) | |
download | bcm5719-llvm-39ec2e95ae6bb24940a1aecdf51d4a096cc0c9de.tar.gz bcm5719-llvm-39ec2e95ae6bb24940a1aecdf51d4a096cc0c9de.zip |
[CodeGen] Unify the syntax of MBB successors in MIR and -debug output
Instead of:
Successors according to CFG: %bb.6(0x12492492 / 0x80000000 = 14.29%)
print:
successors: %bb.6(0x12492492); %bb.6(14.29%)
llvm-svn: 324685
Diffstat (limited to 'llvm/test/CodeGen/AVR')
-rw-r--r-- | llvm/test/CodeGen/AVR/select-must-add-unconditional-jump.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AVR/select-must-add-unconditional-jump.ll b/llvm/test/CodeGen/AVR/select-must-add-unconditional-jump.ll index df98d73ae91..08382c92df5 100644 --- a/llvm/test/CodeGen/AVR/select-must-add-unconditional-jump.ll +++ b/llvm/test/CodeGen/AVR/select-must-add-unconditional-jump.ll @@ -10,13 +10,13 @@ ; This issue manifests in a CFG that looks something like this: ; ; %bb.2.finish: +; successors: %bb.5(?%) %bb.6(?%) ; Predecessors according to CFG: %bb.0 %bb.1 ; %0 = PHI %3, <%bb.0>, %5, <%bb.1> ; %7 = LDIRdK 2 ; %8 = LDIRdK 1 ; CPRdRr %2, %0, implicit-def %SREG ; BREQk <%bb.6>, implicit %SREG -; Successors according to CFG: %bb.5(?%) %bb.6(?%) ; ; The code assumes it the fallthrough block after this is %bb.5, but ; it's actually %bb.3! To be proper, there should be an unconditional @@ -50,9 +50,9 @@ dead: ; both successors. ; CHECK: bb.2.finish: +; CHECK: successors: ; CHECK: BREQk [[BRANCHED:%bb.[0-9]+]] ; CHECK: RJMPk [[DIRECT:%bb.[0-9]+]] -; CHECK: Successors according to CFG ; CHECK-SAME-DAG: {{.*}}[[BRANCHED]] ; CHECK-SAME-DAG: {{.*}}[[DIRECT]] ; CHECK: bb.3.dead: |