aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBilly Zhu <billyzhu@modular.com>2023-12-21 09:54:48 -0800
committerGitHub <noreply@github.com>2023-12-21 09:54:48 -0800
commit34a65980d7d2e1b05e3fc88535cafe606ee55e04 (patch)
tree8cd0159f9c84b80516276d2ad98fff09cea9546e /clang/lib/CodeGen/CodeGenModule.cpp
parenta4e15416b41459b6f69086a22088520ee826f244 (diff)
downloadllvm-34a65980d7d2e1b05e3fc88535cafe606ee55e04.zip
llvm-34a65980d7d2e1b05e3fc88535cafe606ee55e04.tar.gz
llvm-34a65980d7d2e1b05e3fc88535cafe606ee55e04.tar.bz2
[MLIR] Erase location of folded constants (#75415)
Follow up to the discussion from #75258, and serves as an alternate solution for #74670. Set the location to Unknown for deduplicated / moved / materialized constants by OperationFolder. This makes sure that the folded constants don't end up with an arbitrary location of one of the original ops that became it, and that hoisted ops don't confuse the stepping order.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions