[PATCH] D134282: [CGP] Add generic TargetLowering::shouldAlignPointerArgs() implementation
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 04:11:04 PDT 2022
arichardson added inline comments.
================
Comment at: llvm/lib/CodeGen/TargetLoweringBase.cpp:966
+ // Otherwise, we require at least PrefAlign bytes to be copied.
+ MinSize = PrefAlign.value();
+ if (CI->getFunction()->hasMinSize())
----------------
@jrtc27 we may want to adjust these values for CHERI to not require 16-byte alignment&size, but I think even without a 8-byte fallback this should be a (minor) net win.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134282/new/
https://reviews.llvm.org/D134282
More information about the llvm-commits
mailing list