1 ; RUN: opt < %s -msan-check-access-address=0 -S -passes=msan 2>&1
2 ; Test that code using va_start can be compiled on LoongArch.
4 target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
5 target triple = "loongarch64-unknown-linux-gnu"
7 define void @VaStart(ptr %s, ...) {
9 %vl = alloca ptr, align 4
10 call void @llvm.va_start(ptr %vl)
14 declare void @llvm.va_start(ptr)