diff options
author | Vedant Kumar <vsk@apple.com> | 2020-06-23 15:53:09 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-06-23 18:25:52 -0700 |
commit | f8bd6a75edac7560deb5fdcb31041b454dd9d7e0 (patch) | |
tree | 4f3ca04ac81d99d4221ce14d9ca849e8d8d7da90 /llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | |
parent | a162048a47b7e1c7e83fca82f09876944307dd2f (diff) | |
download | llvm-f8bd6a75edac7560deb5fdcb31041b454dd9d7e0.zip llvm-f8bd6a75edac7560deb5fdcb31041b454dd9d7e0.tar.gz llvm-f8bd6a75edac7560deb5fdcb31041b454dd9d7e0.tar.bz2 |
[SimplifyCFG] Drop debug loc in SpeculativelyExecuteBB
Summary:
According to HowToUpdateDebugInfo.rst:
```
Preserving the debug locations of speculated instructions can make
it seem like a condition is true when it's not (or vice versa), which
leads to a confusing single-stepping experience
```
This patch follows the recommendation to drop debug locations on
speculated instructions.
Reviewers: aprantl, davide
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D82420
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions