summaryrefslogtreecommitdiffstats
path: root/tests/codegen/array-codegen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/array-codegen.rs')
-rw-r--r--tests/codegen/array-codegen.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/codegen/array-codegen.rs b/tests/codegen/array-codegen.rs
index 98488eb92..ba0d444f9 100644
--- a/tests/codegen/array-codegen.rs
+++ b/tests/codegen/array-codegen.rs
@@ -1,15 +1,14 @@
// compile-flags: -O -C no-prepopulate-passes
-// min-llvm-version: 15.0 (for opaque pointers)
#![crate_type = "lib"]
// CHECK-LABEL: @array_load
#[no_mangle]
pub fn array_load(a: &[u8; 4]) -> [u8; 4] {
- // CHECK: %0 = alloca [4 x i8], align 1
+ // CHECK: %_0 = alloca [4 x i8], align 1
// CHECK: %[[TEMP1:.+]] = load <4 x i8>, ptr %a, align 1
- // CHECK: store <4 x i8> %[[TEMP1]], ptr %0, align 1
- // CHECK: %[[TEMP2:.+]] = load i32, ptr %0, align 1
+ // CHECK: store <4 x i8> %[[TEMP1]], ptr %_0, align 1
+ // CHECK: %[[TEMP2:.+]] = load i32, ptr %_0, align 1
// CHECK: ret i32 %[[TEMP2]]
*a
}