Rollup merge of #137038 - maurer:tolerate-captures, r=nikic
llvm: Tolerate captures in tests llvm/llvm-project@7e3735d1a1 introduces `captures` annotations. Adjust regexes to be tolerant of these. `@rustbot` label:+llvm-main
This commit is contained in:
commit
9d659fc2be
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ pub unsafe fn extract_int(x: Result<usize, Box<()>>) -> usize {
|
|||
}
|
||||
|
||||
// CHECK-LABEL: @extract_box
|
||||
// CHECK-SAME: (i{{[0-9]+}} {{[^%]+}} [[DISCRIMINANT:%[0-9]+]], ptr {{[^,]+}} [[PAYLOAD:%[0-9]+]])
|
||||
// CHECK-SAME: (i{{[0-9]+}} {{[^%]+}} [[DISCRIMINANT:%[0-9]+]], ptr {{[^%]+}} [[PAYLOAD:%[0-9]+]])
|
||||
#[no_mangle]
|
||||
pub unsafe fn extract_box(x: Result<usize, Box<i32>>) -> Box<i32> {
|
||||
// CHECK: ret ptr [[PAYLOAD]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue