[PATCH] [ARM] Align stack objects passed to functions
hfinkel at anl.gov
hfinkel at anl.gov
Mon Mar 9 09:58:22 PDT 2015
You're currently doing this only for pointers that are captured as call arguments. Do you care about pointers captured in any other way (by having their address stored somewhere, or returned, for example)?
REPOSITORY
rL LLVM
================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:1256
@@ +1255,3 @@
+ }
+ // If this is a memcpy (or similar) then we may have improved the alignment
+ if (MemIntrinsic *MI = dyn_cast<MemIntrinsic>(CI)) {
----------------
may have improved -> may be able to improve
http://reviews.llvm.org/D7908
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list