diff options
author | Davide Italiano <ditaliano@apple.com> | 2020-06-15 14:25:30 -0700 |
---|---|---|
committer | Davide Italiano <ditaliano@apple.com> | 2020-06-15 14:25:43 -0700 |
commit | c2dccf9d5e34278cb2ed0a018405848850508b99 (patch) | |
tree | 8cc23084639887c722d2a432332c3fa6ccf21f2b /llvm/lib/Support/TargetParser.cpp | |
parent | a93ff1826b4bfd1674ea99dd45609b9e07792f6c (diff) | |
download | llvm-c2dccf9d5e34278cb2ed0a018405848850508b99.zip llvm-c2dccf9d5e34278cb2ed0a018405848850508b99.tar.gz llvm-c2dccf9d5e34278cb2ed0a018405848850508b99.tar.bz2 |
[CodeGenPrepare] Reset the debug location when promoting trunc(s)
The promotion machinery in CGP moves instructions retaining
debug locations. When the transformation is local, this is mostly
correct, but when instructions are moved cross-BBs, this is not
always true and causes jumpiness in line tables. This is the first
of a series of commits. sext(s) and zext(s) need to be treated
similarly.
Differential Revision: https://reviews.llvm.org/D81879
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions