Re: [PATCH] Fix emit_conditional_move (PR target/84860)

2018-03-15 Thread Richard Biener
On Wed, 14 Mar 2018, Jakub Jelinek wrote: > Hi! > > prepare_cmp_insn in some cases changes both the passed in comparison and the > comparison mode, e.g. by promoting the arguments from SFmode to DFmode etc. > > In emit_conditional_move we call this in a loop, for (pass = 0; pass < 2; > pass++)

[PATCH] Fix emit_conditional_move (PR target/84860)

2018-03-14 Thread Jakub Jelinek
Hi! prepare_cmp_insn in some cases changes both the passed in comparison and the comparison mode, e.g. by promoting the arguments from SFmode to DFmode etc. In emit_conditional_move we call this in a loop, for (pass = 0; pass < 2; pass++) and in each case construct comparison arguments as well a