We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdc2f08 commit ba5dcc7Copy full SHA for ba5dcc7
compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs
@@ -439,6 +439,13 @@ fn codegen_regular_intrinsic_call<'tcx>(
439
440
ret.write_cvalue(fx, a);
441
}
442
+ sym::is_val_statically_known => {
443
+ intrinsic_args!(fx, args => (_a); intrinsic);
444
+
445
+ // FIXME impliment intrinsic or guarantee propogation of false
446
+ let res = fx.bcx.ins().iconst(cranelift_codegen::ir::types::I8, false as i64);
447
+ ret.write_cvalue(fx, CValue::by_val(res, ret.layout()));
448
+ }
449
sym::breakpoint => {
450
intrinsic_args!(fx, args => (); intrinsic);
451
0 commit comments