diff options
author | Billy Zhu <billyzhu@modular.com> | 2023-12-21 09:54:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 09:54:48 -0800 |
commit | 34a65980d7d2e1b05e3fc88535cafe606ee55e04 (patch) | |
tree | 8cd0159f9c84b80516276d2ad98fff09cea9546e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a4e15416b41459b6f69086a22088520ee826f244 (diff) | |
download | llvm-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