[PATCH] D76894: [GlobalOpt/GlobalStatus] Handle GlobalVariables passed as function call operands with access attributes
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 26 19:02:48 PDT 2020
aprantl resigned from this revision.
aprantl added a comment.
I don't really know enough about this to give a meaningful review.
================
Comment at: llvm/lib/Transforms/IPO/GlobalOpt.cpp:1838
+ Loads.push_back(
+ std::make_pair<>(CB, U->getType()->getPointerElementType()));
+ else if (CB->hasFnAttr(Attribute::WriteOnly) ||
----------------
Loads.push_back({CB, U->getType()->getPointerElementType()});
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76894/new/
https://reviews.llvm.org/D76894
More information about the llvm-commits
mailing list