On 12/19/2025 11:15 AM, Vineet Gupta wrote:
The ultimate goal is to replace noce_emit_czero () with a different helper
which allows more conditions to be handled.

        * ifcvt.cc (noce_try_cond_zero_arith): Refactor.

Signed-off-by: Vineet Gupta<[email protected]>
---

    start_sequence ();
+ target = gen_reg_rtx (mode);
+
+  /* AND requires !cond, instead we swap ops around.  */
+  target = noce_emit_czero (if_info, GET_CODE(if_info->cond),
+                           op != AND ? a_op1 : a_op0, target);

Just a nit here.  Space after the GET_CODE.

OK with that fixed.


Jeff

Reply via email to