aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-11-19 22:01:16 +0000
committerGitHub <noreply@github.com>2024-11-19 22:01:16 +0000
commit076513646cfd922b42ea0e87e2f07397a3ff41a4 (patch)
treee49979e5c7edece643c49fa4fe92c81425e027a9 /llvm/lib/CodeGen/MachineSink.cpp
parent1c1fbf51b5ec9657e5da7fa94ee892273255544a (diff)
downloadllvm-076513646cfd922b42ea0e87e2f07397a3ff41a4.zip
llvm-076513646cfd922b42ea0e87e2f07397a3ff41a4.tar.gz
llvm-076513646cfd922b42ea0e87e2f07397a3ff41a4.tar.bz2
[Local] Only intersect llvm.access.group metadata if instr moves. (#115868)
Preserve llvm.access.group metadata on the replacement instruction, if it does not move. In that case, the program would be UB, if the parallel property encoded in the metadata does not hold. This matches the LangRef recently updated in #116220 PR https://github.com/llvm/llvm-project/pull/115868
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions