cranelift: Disable select rule for i128 types on riscv64 (#5584)

* fuzzgen: Disable some selects for RISC-V

* cranelift: Force disable gen_select_reg rule for i128 values
This commit is contained in:
Afonso Bordado
2023-01-17 18:01:23 +00:00
committed by GitHub
parent b86cba98a9
commit 3ae373b073
3 changed files with 21 additions and 8 deletions

View File

@@ -612,7 +612,7 @@
(gen_select ty (truthy_to_reg cty (normalize_cmp_value cty c)) x y))
(rule 1
(lower (has_type ty (select (icmp cc a b @ (value_type in_ty)) x y)))
(lower (has_type (fits_in_64 ty) (select (icmp cc a b @ (value_type in_ty)) x y)))
(let ((a Reg (normalize_cmp_value in_ty a))
(b Reg (normalize_cmp_value in_ty b)))
(gen_select_reg cc a b x y)))