Skip to content

Commit 509dc03

Browse files
NCGThompsonoli-obk
andauthored
Comment change suggestions from oli-obk's code review
Co-authored-by: Oli Scherer <[email protected]>
1 parent ba5dcc7 commit 509dc03

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_cranelift/src/intrinsics

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
442442
sym::is_val_statically_known => {
443443
intrinsic_args!(fx, args => (_a); intrinsic);
444444

445-
// FIXME impliment intrinsic or guarantee propogation of false
445+
// FIXME actually return `true` in case the argument is a constant
446446
let res = fx.bcx.ins().iconst(cranelift_codegen::ir::types::I8, false as i64);
447447
ret.write_cvalue(fx, CValue::by_val(res, ret.layout()));
448448
}

0 commit comments

Comments
 (0)