brintos

brintos / llvm-project-archived public Read only

0
0
Text · 717 B · 16a37f8 Raw
17 lines · plain
1; RUN: llc -mtriple=aarch64-apple-ios -stop-after=instruction-select -global-isel -verify-machineinstrs %s -o - | FileCheck %s2 3define void @test_varargs_sentinel(ptr %list, i64, i64, i64, i64, i64, i64, i64,4                                   i32, ...) {5; CHECK-LABEL: name: test_varargs_sentinel6; CHECK: fixedStack:7; CHECK:   - { id: [[VARARGS_SLOT:[0-9]+]], type: default, offset: 88; CHECK: body:9; CHECK:   [[LIST:%[0-9]+]]:gpr64sp = COPY $x010; CHECK:   [[VARARGS_AREA:%[0-9]+]]:gpr64common = ADDXri %fixed-stack.[[VARARGS_SLOT]], 0, 011; CHECK:   STRXui [[VARARGS_AREA]], [[LIST]], 0 :: (store (s64) into %ir.list, align 1)12  call void @llvm.va_start(ptr %list)13  ret void14}15 16declare void @llvm.va_start(ptr)17