[PATCH] D92743: [ScalarizeMaskedMemIntrin] Add new PM support
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 7 17:27:56 PST 2020
anna added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp:849
+ auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
+ auto &DL = F.getParent()->getDataLayout();
+ return runImpl(F, TTI, DL);
----------------
skatkov wrote:
> You can get DL inside runImpl as it works identical in both legacy and new pass manager and does not depend on analysis.
yeah, good point. will do.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92743/new/
https://reviews.llvm.org/D92743
More information about the llvm-commits
mailing list