diff options
| author | Florian Hahn <flo@fhahn.com> | 2024-11-26 20:39:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-26 20:39:53 +0000 |
| commit | 46a08579f2b86e39b367b83ff4ca0e92302d2168 (patch) | |
| tree | 3e12fe2ac38c6c11d58d0dfaab09bbe089b17380 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | 0719b6d936d628c4c1765a9e700387ddd77759b9 (diff) | |
| download | llvm-46a08579f2b86e39b367b83ff4ca0e92302d2168.zip llvm-46a08579f2b86e39b367b83ff4ca0e92302d2168.tar.gz llvm-46a08579f2b86e39b367b83ff4ca0e92302d2168.tar.bz2 | |
[Local] Only intersect alias.scope,noalias & parallel_loop if inst moves (#117716)
Preserve !alias.scope, !noalias and !mem.parallel_loop_access metadata
on the replacement instruction, if it does not move. In that case, the
program would be UB, if the aliasing property encoded in the metadata
does not hold. This makes use of the clarification re aliasing metadata
implying UB if the property does not hold: #116220
Same as #115868, but for !alias.scope, !noalias and
!mem.parallel_loop_access.
PR: https://github.com/llvm/llvm-project/pull/117716
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions
