mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 21:46:10 +08:00
re PR middle-end/45379 (~10% slowdown on test_fpu at revision 163278)
2010-08-25 Richard Guenther <rguenther@suse.de> PR middle-end/45379 * emit-rtl.c (set_mem_attributes_minus_bitpos): Handle TARGET_MEM_REF in alignment computation. From-SVN: r163540
This commit is contained in:
parent
ca046f7f4e
commit
9407f6bcfb
@ -1,3 +1,9 @@
|
|||||||
|
2010-08-25 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
PR middle-end/45379
|
||||||
|
* emit-rtl.c (set_mem_attributes_minus_bitpos): Handle
|
||||||
|
TARGET_MEM_REF in alignment computation.
|
||||||
|
|
||||||
2010-08-25 Jakub Jelinek <jakub@redhat.com>
|
2010-08-25 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR tree-optimization/45059
|
PR tree-optimization/45059
|
||||||
|
@ -1615,6 +1615,11 @@ set_mem_attributes_minus_bitpos (rtx ref, tree t, int objectp,
|
|||||||
align = MAX (align, TYPE_ALIGN (type));
|
align = MAX (align, TYPE_ALIGN (type));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (TREE_CODE (t) == TARGET_MEM_REF)
|
||||||
|
/* ??? This isn't fully correct, we can't set the alignment from the
|
||||||
|
type in all cases. */
|
||||||
|
align = MAX (align, TYPE_ALIGN (type));
|
||||||
|
|
||||||
else if (TREE_CODE (t) == MISALIGNED_INDIRECT_REF)
|
else if (TREE_CODE (t) == MISALIGNED_INDIRECT_REF)
|
||||||
{
|
{
|
||||||
if (integer_zerop (TREE_OPERAND (t, 1)))
|
if (integer_zerop (TREE_OPERAND (t, 1)))
|
||||||
|
Loading…
Reference in New Issue
Block a user