GlobalISel: omit braces on MachineInstr types when there's only one.
authorTim Northover <tnorthover@apple.com>
Tue, 26 Jul 2016 17:28:01 +0000 (17:28 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 26 Jul 2016 17:28:01 +0000 (17:28 +0000)
commit26e40bdb9b52318c7cb5506adcfcab580f7a02d0
tree97c1041392eea35fea5cb67417d26c0ad28f2dda
parent3104a6bad05b9b1432b7afd5c31e1318bd8e1814
GlobalISel: omit braces on MachineInstr types when there's only one.

Tidies up the representation a bit in the common case.

llvm-svn: 276772
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/amdgpu-irtranslator.ll
llvm/test/CodeGen/MIR/X86/generic-virtual-registers.mir