diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2024-11-15 17:07:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 17:07:33 +0000 |
commit | f37bc8cfbfd47c89aedd43b68fd09b4525612f16 (patch) | |
tree | 2273c8eee759c82bff4b004a0ee8f07afb6ac916 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 31ee667eb02c68ad186cb129f9dcb72a9d2222bc (diff) | |
download | llvm-f37bc8cfbfd47c89aedd43b68fd09b4525612f16.zip llvm-f37bc8cfbfd47c89aedd43b68fd09b4525612f16.tar.gz llvm-f37bc8cfbfd47c89aedd43b68fd09b4525612f16.tar.bz2 |
[DebugInfo][GVN] Propagate DebugLoc from load-of-select to select (#114233)
When replacing a load from a selected pointer with a select of the known
stored values, we currently assign no DebugLoc to the select; this patch
propagates the load's DebugLoc to the new select, since it is a direct
replacement.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions