diff options
author | Vedant Kumar <vsk@apple.com> | 2020-05-27 13:13:13 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-05-28 13:53:40 -0700 |
commit | 0aa201eaf97681f59b72baee6552aa1b9b5c9129 (patch) | |
tree | dde567ba7aa3d43a9aab6bd8e0f49e61e2c4f210 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 9d065477942ffa6d9085188c0d1d2cb95a41baf6 (diff) | |
download | llvm-0aa201eaf97681f59b72baee6552aa1b9b5c9129.zip llvm-0aa201eaf97681f59b72baee6552aa1b9b5c9129.tar.gz llvm-0aa201eaf97681f59b72baee6552aa1b9b5c9129.tar.bz2 |
[MachineLICM] Assert that locations from debug insts are not lost
Summary:
Assert that MachineLICM does not move a debug instruction and then drop
its debug location. Later passes require each debug instruction to have
a location.
Testing: check-llvm, clang stage2 RelWithDebInfo build (x86_64)
Reviewers: aprantl, davide, chrisjackson, jmorse
Subscribers: hiraditya, asbirlea, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80665
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions