[PATCH] D30119: MachineRegionInfo: fix pass initialization

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 16:41:08 PST 2017


thegameg updated this revision to Diff 88991.
thegameg marked 3 inline comments as done.
thegameg edited the summary of this revision.
thegameg added a comment.

- Simplify MIR test. Removing IR causes MachineBasicBlock::getName() to return `"(null)"`.
- Return an empty string instead of `"(null)"` in MachineBasicBlock::getName() (same behavior as Value::getName()).


https://reviews.llvm.org/D30119

Files:
  include/llvm/CodeGen/MachineBasicBlock.h
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/MachineRegionInfo.cpp
  test/CodeGen/MIR/X86/machine-region-info.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30119.88991.patch
Type: text/x-patch
Size: 5676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170218/dffec591/attachment.bin>


More information about the llvm-commits mailing list