diff --git a/tests/codegen-llvm/deduced-param-attrs.rs b/tests/codegen-llvm/deduced-param-attrs.rs index eec15a434645e..b24c74a2f8403 100644 --- a/tests/codegen-llvm/deduced-param-attrs.rs +++ b/tests/codegen-llvm/deduced-param-attrs.rs @@ -99,8 +99,9 @@ pub static A1: fn(BigCell) = shared_borrow; // The parameter can be mutated through a raw const borrow. // // CHECK-LABEL: ; deduced_param_attrs::raw_const_borrow +// CHECK-NEXT: ; // CHECK-NOT: readonly -// CHECK-NEXT : %a) +// CHECK-NEXT: %a) #[inline(never)] pub fn raw_const_borrow(a: Big) { black_box(&raw const a); diff --git a/tests/mir-opt/gvn_loop.rs b/tests/mir-opt/gvn_loop.rs index 4a94d516cca23..ce23f7930f1b1 100644 --- a/tests/mir-opt/gvn_loop.rs +++ b/tests/mir-opt/gvn_loop.rs @@ -16,9 +16,9 @@ fn loop_deref_mut(val: &mut Value) -> Value { // CHECK-LABEL: fn loop_deref_mut( // CHECK: [[VAL_REF:_.*]] = get::( // CHECK: [[V:_.*]] = copy (((*[[VAL_REF]]) as V0).0: i32); - // CEHCK-NOT: copy (*[[VAL_REF]]); + // CHECK-NOT: copy (*[[VAL_REF]]); // CHECK: [[RET:_*]] = Value::V0(copy [[V]]); - // CEHCK-NOT: copy (*[[VAL_REF]]); + // CHECK-NOT: copy (*[[VAL_REF]]); // CHECK: _0 = move [[RET]] let val_alias: &Value = get(val); let mut stop = false;