Teach Value::getPointerAlignment that allocas with no explicit alignment are aligned to preferred alignment of the allocated type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
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 55181 llvm/trunk/lib/IR/Value.cpp
llvm/trunk/test/Analysis/ValueTracking/memory-dereferenceable.ll
|