Evan Cheng ed1c0c7f58 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145300 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28 22:37:34 +00:00
..
2011-10-30 13:24:22 +00:00
2011-11-23 04:03:08 +00:00
2011-11-15 07:13:03 +00:00
2011-11-08 00:09:27 +00:00
2011-11-12 20:35:26 +00:00
2011-11-22 06:36:25 +00:00
2011-11-15 07:13:03 +00:00
2011-11-07 23:10:43 +00:00
2011-11-08 00:03:24 +00:00
2011-11-07 19:15:58 +00:00
2011-11-16 03:03:52 +00:00
2011-11-07 19:15:58 +00:00