On 09/04/2016 02:12 PM, Uros Bizjak wrote:
As shown in the PR [1], combine is able to simplify lowpart
CONST_VECTOR constant pool reference to its inner-mode reference.
However, plus_constant was not able to extract the constant from
narrowed access.

Attached patch teaches plus_constant how to handle this situation.

Ok. It looks like accesses to non-lowpart subregs would be handled by not optimizing them as well rather than crashing.


Bernd

Reply via email to