Skip to content

Commit

Permalink
fix formatting in ISLE
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinPostma committed Dec 12, 2024
1 parent 1d2b329 commit ec28731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cranelift/codegen/src/isa/aarch64/lower.isle
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@
;; Note that aarch64's `udiv` doesn't trap so to respect the semantics of
;; CLIF's `udiv` the check for zero needs to be manually performed.
(rule udiv 1 (lower (has_type $I64 (udiv x y)))
(a64_udiv $I64 (put_in_reg x) (trap_if_zero_divisor (put_in_reg y))))
(a64_udiv $I64 (put_in_reg x) (trap_if_zero_divisor (put_in_reg y))))

(rule udiv (lower (has_type (fits_in_32 ty) (udiv x y)))
(a64_udiv $I32 (put_in_reg x) (put_nonzero_in_reg y)))
Expand Down

0 comments on commit ec28731

Please # to comment.