Re: [PATCH] Fix powerpc64le ICE in replace_swapped_load_constant (PR target/85503)

2018-04-24 Thread Segher Boessenkool
Hi Jakub, On Tue, Apr 24, 2018 at 09:52:29AM +0200, Jakub Jelinek wrote: > The following patch adjusts the const_load_sequence_p predicate to match > what the replace_swapped_load_constant function guarded by it expects. > > On the testcase base is a CONSTANT_POOL_ADDRESS_P SYMBOL_REF, but it > c

[PATCH] Fix powerpc64le ICE in replace_swapped_load_constant (PR target/85503)

2018-04-24 Thread Jakub Jelinek
Hi! The following patch adjusts the const_load_sequence_p predicate to match what the replace_swapped_load_constant function guarded by it expects. On the testcase base is a CONSTANT_POOL_ADDRESS_P SYMBOL_REF, but it contains an address of a static data member + 8, so not a CONST_VECTOR nor a CON