[PATCH] D29596: Make MachineBasicBlock::updateTerminator to update DebugLoc as well

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 12:58:08 PST 2017


dblaikie added inline comments.


================
Comment at: llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp:1158
+MachineBasicBlock::findBranchDebugLoc() {
+  DebugLoc DL {};
+  auto TI = getFirstTerminator();
----------------
probably leave off the {} if they aren't needed?


Repository:
  rL LLVM

https://reviews.llvm.org/D29596





More information about the llvm-commits mailing list