summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
diff options
context:
space:
mode:
authorTaewook Oh <twoh@fb.com>2017-02-27 19:30:01 +0000
committerTaewook Oh <twoh@fb.com>2017-02-27 19:30:01 +0000
commita49eb8578af17833f3707c9ea07d127281391a75 (patch)
tree9695b3cf50794140a5ef6aee1ef38334be5445a8 /llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
parente2d1d3a9403d2b096088d23e6ce8986607a465fe (diff)
downloadbcm5719-llvm-a49eb8578af17833f3707c9ea07d127281391a75.tar.gz
bcm5719-llvm-a49eb8578af17833f3707c9ea07d127281391a75.zip
[TailDuplicator] Maintain DebugLoc for branch instructions
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
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud