Re: [PATCH] Fix prepare_cmp_insn BLKmode handling (PR target/89186)

2019-02-05 Thread Richard Biener
On Tue, 5 Feb 2019, Jakub Jelinek wrote: > Hi! > > Like the other emit_*_via_libcall functions, emit_block_comp_via_libcall > expects to be called with the MEM rtxes, not their addresses. > E.g. emit_block_op_via_libcall does: > dst_addr = copy_addr_to_reg (XEXP (dst, 0)); > dst_addr = conver

[PATCH] Fix prepare_cmp_insn BLKmode handling (PR target/89186)

2019-02-05 Thread Jakub Jelinek
Hi! Like the other emit_*_via_libcall functions, emit_block_comp_via_libcall expects to be called with the MEM rtxes, not their addresses. E.g. emit_block_op_via_libcall does: dst_addr = copy_addr_to_reg (XEXP (dst, 0)); dst_addr = convert_memory_address (ptr_mode, dst_addr); dst_tree = make