File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -647,12 +647,13 @@ fn codegen_regular_intrinsic_call<'tcx>(
647
647
let val = CValue :: by_ref ( Pointer :: new ( ptr. load_scalar ( fx) ) , inner_layout) ;
648
648
ret. write_cvalue ( fx, val) ;
649
649
}
650
- sym:: volatile_store | sym:: unaligned_volatile_store => {
650
+ sym:: volatile_store | sym:: unaligned_volatile_store | sym :: nontemporal_store => {
651
651
intrinsic_args ! ( fx, args => ( ptr, val) ; intrinsic) ;
652
652
let ptr = ptr. load_scalar ( fx) ;
653
653
654
654
// Cranelift treats stores as volatile by default
655
655
// FIXME correctly handle unaligned_volatile_store
656
+ // FIXME actually do nontemporal stores if requested
656
657
let dest = CPlace :: for_ptr ( Pointer :: new ( ptr) , val. layout ( ) ) ;
657
658
dest. write_cvalue ( fx, val) ;
658
659
}
You can’t perform that action at this time.
0 commit comments