summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/tail-dup-debugloc.ll
Commit message (Collapse)AuthorAgeFilesLines
* [TailDuplicator] Maintain DebugLoc for branch instructionsTaewook Oh2017-02-271-0/+56
Summary: Existing implementation of duplicateSimpleBB function drops DebugLoc metadata of branch instructions during the transformation. This patch addresses this issue by making newly created branch instructions to keep the metadata of replaced branch instructions. Reviewers: qcolombet, craig.topper, aprantl, MatzeB, sanjoy, dblaikie Reviewed By: dblaikie Subscribers: dblaikie, llvm-commits Differential Revision: https://reviews.llvm.org/D30026 llvm-svn: 296371
OpenPOWER on IntegriCloud