[llvm] Local: Handle noalias_addrspace in combineMetadata (PR #103938)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 01:55:57 PDT 2024
================
@@ -3394,6 +3394,10 @@ void llvm::combineMetadata(Instruction *K, const Instruction *J,
if (DoesKMove)
K->setMetadata(Kind, MDNode::getMergedProfMetadata(KMD, JMD, K, J));
break;
+ case LLVMContext::MD_noalias_addrspace:
+ if (DoesKMove)
----------------
nikic wrote:
You can test the !DoesKMove case via something like EarlyCSE or GVN.
https://github.com/llvm/llvm-project/pull/103938
More information about the llvm-commits
mailing list