Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/codegen-llvm/deduced-param-attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub static A1: fn(BigCell) = shared_borrow;
//
// CHECK-LABEL: ; deduced_param_attrs::raw_const_borrow
// CHECK-NOT: readonly
// CHECK-NEXT : %a)
// CHECK-NEXT: %a)
#[inline(never)]
pub fn raw_const_borrow(a: Big) {
black_box(&raw const a);
Expand Down
4 changes: 2 additions & 2 deletions tests/mir-opt/gvn_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ fn loop_deref_mut(val: &mut Value) -> Value {
// CHECK-LABEL: fn loop_deref_mut(
// CHECK: [[VAL_REF:_.*]] = get::<Value>(
// 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;
Expand Down
Loading