diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-11-28 22:37:34 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-11-28 22:37:34 +0000 |
| commit | 4a5b2040e20295e0f03fdbf15609ad5c137a6e3a (patch) | |
| tree | 362215e659c0ff66ea18119a1e35c85fd617ee6e /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | |
| parent | 124d8ff0da2d83353b4a6c5a59397113ad18e8b4 (diff) | |
| download | bcm5719-llvm-4a5b2040e20295e0f03fdbf15609ad5c137a6e3a.tar.gz bcm5719-llvm-4a5b2040e20295e0f03fdbf15609ad5c137a6e3a.zip | |
Revert r145273 and fix in SelectionDAG::InferPtrAlignment() instead.
Conservatively returns zero when the GV does not specify an alignment nor is it
initialized. Previously it returns ABI alignment for type of the GV. However, if
the type is a "packed" type, then the under-specified alignments is attached to
the load / store instructions. In that case, the alignment of the type cannot be
trusted.
rdar://10464621
llvm-svn: 145300
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
0 files changed, 0 insertions, 0 deletions

