Teach Value::getPointerAlignment that allocas with no explicit alignment are aligned to preferred alignment of the allocated type.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D17569
Use DL preferred alignment for alloca in Value::getPointerAlignment ClosedPublic Authored by apilipenko on Feb 24 2016, 6:47 AM.
Details Summary Teach Value::getPointerAlignment that allocas with no explicit alignment are aligned to preferred alignment of the allocated type.
Diff Detail Event Timelineapilipenko retitled this revision from to Use DL preferred alignment for alloca in Value::getPointerAlignment . apilipenko updated this object. This revision is now accepted and ready to land.Apr 26 2016, 6:27 PM Closed by commit rL267689: Use DL preferred alignment for alloca in Value::getPointerAlignment (authored by apilipenko). · Explain WhyApr 27 2016, 3:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 48927 lib/IR/Value.cpp
test/Analysis/ValueTracking/memory-dereferenceable.ll
|