[PATCH] Take alignment into account in isSafeToLoadUnconditionally
apilipenko at azulsystems.com
Tue Jun 16 10:50:41 PDT 2015
Comment at: lib/Analysis/Loads.cpp:69
@@ +68,3 @@
+ // Require ABI alignment for loads without alignment specification
+ if (Align == 0)
> Please clarify comment as to *why* we want this.
That is a part of load specification:
"A value of 0 or an omitted align argument means that the operation has the ABI alignment for the target."
More information about the llvm-commits