llvm-project
0bb1b683 - [Local] Only intersect tbaa metadata if instr moves. (#116682)

Commit
1 year ago
[Local] Only intersect tbaa metadata if instr moves. (#116682) Preserve tbaa 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 tbaa metadata implying UB if the property does not hold: https://github.com/llvm/llvm-project/pull/116220 Same as https://github.com/llvm/llvm-project/pull/115868, but for !tbaa PR: https://github.com/llvm/llvm-project/pull/116682
Author
Parents
Loading