[llvm] AtomicExpand: Preserve metadata when expanding partword RMW (PR #89769)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 12:59:22 PDT 2024


arsenm wrote:

> Is it really a good idea to blindly preserve all unknown metadata?
> 
> ISTM we have no way of knowing if the metadata will be valid on the modified instruction or not. Maybe better to preserve only known-to-be-OK metadata?

The cases I really need to preserve are target string metadata, i.e. "unknown" 

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


More information about the llvm-commits mailing list