[PATCH] D101188: [PowerPC] Prevent argument promotion of types with size greater than 128 bits
Amy Kwan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 26 18:06:09 PDT 2021
amyk added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp:1232
+
+ return llvm::none_of(Args, [CallerDL, CalleeDL](Argument *A) {
+ auto *EltTy = cast<PointerType>(A->getType())->getElementType();
----------------
Would it make sense to add some documentation, and perhaps add why we check up to 128 bits?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101188/new/
https://reviews.llvm.org/D101188
More information about the llvm-commits
mailing list