From 8f6762b084a688f48f04cdae2e0d64ea243e4734 Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Tue, 9 Aug 2022 13:10:50 -0700 Subject: [PATCH] Remove the explicit priority after #4661 --- cranelift/codegen/src/isa/x64/inst.isle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cranelift/codegen/src/isa/x64/inst.isle b/cranelift/codegen/src/isa/x64/inst.isle index 22973606b3f3..69ed608d130e 100644 --- a/cranelift/codegen/src/isa/x64/inst.isle +++ b/cranelift/codegen/src/isa/x64/inst.isle @@ -3184,7 +3184,7 @@ ;; As a special case, reverse the arguments to the comparison when the LHS is a ;; constant. This ensures that we avoid moving the constant into a register when ;; performing the comparison. -(rule 1 (emit_cmp cc (and (simm32_from_value a) (value_type ty)) b) +(rule (emit_cmp cc (and (simm32_from_value a) (value_type ty)) b) (let ((size OperandSize (raw_operand_size_of_type ty))) (icmp_cond_result (x64_cmp size a b) (intcc_reverse cc))))