[CodeGen] Print bundled instructions using the MIR syntax in -debug output
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 13 Feb 2018 18:08:26 +0000 (18:08 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 13 Feb 2018 18:08:26 +0000 (18:08 +0000)
commitf6ed795d0c06a66f0a29ea4f3f37e60dba79de57
tree417e06dadc4f2d50ce7f26dcece6026153a80521
parent651bd73c025248cea9e9c61ceef359edbde88eb7
[CodeGen] Print bundled instructions using the MIR syntax in -debug output

Old syntax:

BUNDLE implicit-def %r0, implicit-def %r1, implicit %r2
* %r0 = SOME_OP %r2
* %r1 = ANOTHER_OP internal %r0

New syntax:

BUNDLE implicit-def %r0, implicit-def %r1, implicit %r2 {
  %r0 = SOME_OP %r2
  %r1 = ANOTHER_OP internal %r0
}

llvm-svn: 325032
llvm/lib/CodeGen/MachineBasicBlock.cpp
llvm/test/CodeGen/ARM/sched-it-debug-nodes.mir