Re: [PATCH/MIPS] Fix mips_get_unaligned_mem in some cases

2012-07-21 Thread Richard Sandiford
Andrew Pinski writes: > The problem here is that adjust_address returns the same rtl as we > already have a BLKmode; mips_block_move_straight pass a BLKmode MEM to > mips_expand_ext_as_unaligned_load. > The following patch fixes the problem by copying the MEM after calling > adjust_address. Thi

[PATCH/MIPS] Fix mips_get_unaligned_mem in some cases

2012-07-21 Thread Andrew Pinski
Hi, The problem here is that adjust_address returns the same rtl as we already have a BLKmode; mips_block_move_straight pass a BLKmode MEM to mips_expand_ext_as_unaligned_load. The following patch fixes the problem by copying the MEM after calling adjust_address. This does increase garbage sligh