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-04-15 00:32:41 +00:00
2011-07-02 20:43:08 +00:00
2009-09-23 18:20:27 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2011-07-02 20:42:53 +00:00
2011-01-16 18:02:57 +00:00
2011-03-09 22:07:31 +00:00
2011-06-19 12:14:34 +00:00
2009-11-18 21:33:35 +00:00
2010-02-15 22:03:29 +00:00
2010-07-13 18:14:47 +00:00
2011-03-08 20:19:10 +00:00
2011-10-22 12:39:25 +00:00
2011-10-30 13:24:22 +00:00
2011-11-23 04:03:08 +00:00
2011-01-16 18:02:57 +00:00
2011-09-30 23:40:29 +00:00
2011-09-30 23:21:11 +00:00
2010-03-03 00:35:56 +00:00
2011-08-09 03:04:23 +00:00
2010-04-17 16:29:15 +00:00
2011-08-19 04:30:24 +00:00
2011-08-27 04:53:41 +00:00
2011-07-02 20:42:36 +00:00
2011-05-26 18:00:32 +00:00
2010-04-17 03:43:36 +00:00
2011-07-02 20:42:33 +00:00
2010-05-08 04:47:54 +00:00
2011-04-25 10:12:01 +00:00
2011-01-01 21:58:41 +00:00
2011-11-15 07:13:03 +00:00
2011-04-17 02:36:27 +00:00
2011-02-16 01:08:31 +00:00
2011-03-23 23:11:02 +00:00
2010-04-17 16:29:15 +00:00
2011-07-02 20:42:25 +00:00
2011-03-11 21:52:04 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-10-05 21:58:12 +00:00
2010-09-30 23:57:10 +00:00
2011-11-08 00:09:27 +00:00
2011-08-31 21:41:20 +00:00
2010-03-25 20:01:07 +00:00
2011-11-12 20:35:26 +00:00
2011-06-02 20:02:48 +00:00
2011-11-22 06:36:25 +00:00
2011-07-20 03:09:11 +00:00
2011-01-16 18:02:57 +00:00
2010-04-28 01:53:13 +00:00
2010-04-28 01:53:13 +00:00
2011-10-16 20:43:41 +00:00
2011-03-23 23:11:02 +00:00
2010-12-02 20:17:34 +00:00
2011-07-26 22:45:39 +00:00
2011-06-14 23:47:36 +00:00
2010-11-27 20:43:02 +00:00
2011-11-15 07:13:03 +00:00
2010-09-30 23:57:10 +00:00
2010-02-27 23:53:53 +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-02-20 12:37:50 +00:00
2011-10-10 23:18:02 +00:00
2011-11-16 03:03:52 +00:00
2010-12-20 20:10:50 +00:00
2011-11-07 19:15:58 +00:00
2011-03-11 21:52:04 +00:00
2009-12-15 03:00:32 +00:00