[PATCH] D29902: [BranchFolding] Update debug location along with the update of branch instruction.

Taewook Oh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 16:10:33 PST 2017


twoh updated this revision to Diff 88621.
twoh added a comment.

Use MachineBasicBlock::findBranchDebugLoc instead of getBranchDebugLoc


https://reviews.llvm.org/D29902

Files:
  lib/CodeGen/BranchFolding.cpp
  test/CodeGen/X86/branchfolding-debugloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29902.88621.patch
Type: text/x-patch
Size: 4677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170216/8eb7f9a7/attachment.bin>


More information about the llvm-commits mailing list