Eric Botcazou <ebotca...@adacore.com> writes: >> That's a fairly dangerous hack in my opinion, in particular this breaks the >> uniqueness of representation of -1 as constm1_rtx. Can't we find a really >> contained hack instead, especially if we want to backport it to 4.8? > > In particular, can't Uros' patch be considered as such here? Frankly, the > choice of 'true' vs 'false' for create_convert_operand_to in optabs isn't > crystal clear...
Do we actually need to do a conversion here at all? It looks like the modes of "expected" and "desired" should already match "mem", so we could just use create_input_operand. Thanks, Richard