[llvm] [Utils][Local] Preserve !nosanitize in combineMetadata when merging instructions (PR #148376)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 12 08:07:29 PDT 2025


https://github.com/nikic commented:

I think for !nosanitize we'd want the semantics to be to place !nosanitize if *either* is !nosanitize.

(More precisely, for the !DoesKMove we should preserve nosanitize of the first instruction independently of the second, and for DoesKMove we should add it if either has it.)

https://github.com/llvm/llvm-project/pull/148376


More information about the llvm-commits mailing list