We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba5dcc7 commit 509dc03Copy full SHA for 509dc03
compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs
@@ -442,7 +442,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
442
sym::is_val_statically_known => {
443
intrinsic_args!(fx, args => (_a); intrinsic);
444
445
- // FIXME impliment intrinsic or guarantee propogation of false
+ // FIXME actually return `true` in case the argument is a constant
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
}
0 commit comments