We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2d77dc commit f12c12bCopy full SHA for f12c12b
1 file changed
cranelift/codegen/src/opts/bitops.isle
@@ -13,3 +13,5 @@
13
(rule (truthy (rotr _ x _)) x)
14
(rule (truthy (select _ x (iconst_u _ (u64_when_non_zero)) (iconst_u _ 0))) x)
15
16
+(rule (simplify (select ty v t f)) (if-let c (truthy v)) (select ty c t f))
17
+
0 commit comments