diff options
author | Taewook Oh <twoh@fb.com> | 2017-02-27 19:30:01 +0000 |
---|---|---|
committer | Taewook Oh <twoh@fb.com> | 2017-02-27 19:30:01 +0000 |
commit | a49eb8578af17833f3707c9ea07d127281391a75 (patch) | |
tree | 9695b3cf50794140a5ef6aee1ef38334be5445a8 /llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | |
parent | e2d1d3a9403d2b096088d23e6ce8986607a465fe (diff) | |
download | bcm5719-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