[PATCH] Fix LRA ICE with BLKmode (PR target/89752)

2019-03-19 Thread Jakub Jelinek
Hi! As mentioned in the PR, BLKmode operands (such as in the testcase C++ variables with TREE_ADDRESSABLE types) may only live in a MEM, trying to reload those in a register will always ICE. process_alt_operands already has if (mode == BLKmode) break; in it, so that it never claims a BLKmode wins

Re: [PATCH] Fix LRA ICE with BLKmode (PR target/89752)

2019-03-19 Thread Vladimir Makarov
On 3/19/19 2:00 PM, Jakub Jelinek wrote: Hi! As mentioned in the PR, BLKmode operands (such as in the testcase C++ variables with TREE_ADDRESSABLE types) may only live in a MEM, trying to reload those in a register will always ICE. process_alt_operands already has if (mode == BLKmode) break; in