[PATCH] D95141: [InstCombine] Remove unused llvm.experimental.noalias.scope.decl
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 12:33:04 PST 2021
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3753
+ void analyse(Instruction *I) {
+ if (auto *MD = I->getMetadata(LLVMContext::MD_alias_scope))
+ for (auto &MDOperand : cast<MDNode>(MD)->operands())
----------------
Why only MD_alias_scope and not also MD_noalias?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95141/new/
https://reviews.llvm.org/D95141
More information about the llvm-commits
mailing list