summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/preserve-call-conv.c
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2018-03-20 17:33:26 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2018-03-20 17:33:26 +0000
commit29149d5cb7a6fe510397788b7705d3b84892a687 (patch)
treef341525dbe1c5247fbdcb10ee25ae3c6f80e344d /clang/test/CodeGen/preserve-call-conv.c
parent914d4babec358a845a31f30a50ee729393593f3d (diff)
downloadbcm5719-llvm-29149d5cb7a6fe510397788b7705d3b84892a687.tar.gz
bcm5719-llvm-29149d5cb7a6fe510397788b7705d3b84892a687.zip
Basic: support PreserveMost and PreserveAll on Windows ARM
Do not ignore these calling conventions on Windows ARM. They are used by the swift runtime for certain calls. llvm-svn: 328007
Diffstat (limited to 'clang/test/CodeGen/preserve-call-conv.c')
-rw-r--r--clang/test/CodeGen/preserve-call-conv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/preserve-call-conv.c b/clang/test/CodeGen/preserve-call-conv.c
index 2dff34e62dd..7a84fa28231 100644
--- a/clang/test/CodeGen/preserve-call-conv.c
+++ b/clang/test/CodeGen/preserve-call-conv.c
@@ -3,6 +3,7 @@
// RUN: %clang_cc1 -triple x86_64-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s
// RUN: %clang_cc1 -triple aarch64-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple thumbv7-unknown-windows-msvc -emit-llvm %s -o - | FileCheck %s
// Check that the preserve_most calling convention attribute at the source level
// is lowered to the corresponding calling convention attrribute at the LLVM IR
OpenPOWER on IntegriCloud