1 // RUN: %clang_cc1 -fpass-by-value-is-noalias -triple arm64-apple-iphoneos -emit-llvm -disable-llvm-optzns %s -o - 2>&1 | FileCheck --check-prefix=WITH_NOALIAS %s
2 // RUN: %clang_cc1 -triple arm64-apple-iphoneos -emit-llvm -disable-llvm-optzns %s -o - 2>&1 | FileCheck --check-prefix=NO_NOALIAS %s
4 // A struct large enough so it is not passed in registers on ARM64.
14 // WITH_NOALIAS: define{{.*}} void @take(ptr noalias noundef %arg)
15 // NO_NOALIAS: define{{.*}} void @take(ptr noundef %arg)
16 void take(struct Foo arg
) {}