diff options
author | Vedant Kumar <vsk@apple.com> | 2020-08-10 10:44:13 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-08-11 14:05:20 -0700 |
commit | 4a646ca9e2caf70d6312714770f516fb83b7e3cb (patch) | |
tree | f7b88350423cbd402c6e69102b21da56d9169c9f /llvm/lib/Support/Compression.cpp | |
parent | 479f5bfdb02b191f03b3de1a7c3d5a5098b3fcaf (diff) | |
download | llvm-4a646ca9e2caf70d6312714770f516fb83b7e3cb.zip llvm-4a646ca9e2caf70d6312714770f516fb83b7e3cb.tar.gz llvm-4a646ca9e2caf70d6312714770f516fb83b7e3cb.tar.bz2 |
[Instruction] Add updateLocationAfterHoist helper
Introduce a helper on Instruction which can be used to update the debug
location after hoisting.
Use this in GVN and LICM, where we were mistakenly introducing new line
0 locations after hoisting (the docs recommend dropping the location in
this case).
For more context, see the discussion in https://reviews.llvm.org/D60913.
Differential Revision: https://reviews.llvm.org/D85670
Diffstat (limited to 'llvm/lib/Support/Compression.cpp')
0 files changed, 0 insertions, 0 deletions