summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/codemodels.c
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2018-09-22 18:25:58 +0000
committerCaroline Tice <cmtice@google.com>2018-09-22 18:25:58 +0000
commit29f0282b3e1be3185376a7c7ffbf5c080919bae9 (patch)
tree761ce7d44c410dd10dcbf01a4d69bfeb76cdbd64 /clang/test/CodeGen/codemodels.c
parent2e667527c5672150572be1b344d58a95ef03e732 (diff)
downloadbcm5719-llvm-29f0282b3e1be3185376a7c7ffbf5c080919bae9.tar.gz
bcm5719-llvm-29f0282b3e1be3185376a7c7ffbf5c080919bae9.zip
Fix codemodels.c test case (only test mcmodel=medium on X86).
aarch64 testing is broken because "medium" is not a valid code-model on aarch64, and codemodels.c tests that. This fixes that problem by adding "-triple x86_64-unknown-linux-gnu" to the test with "-mcode-model moedium". llvm-svn: 342812
Diffstat (limited to 'clang/test/CodeGen/codemodels.c')
-rw-r--r--clang/test/CodeGen/codemodels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/codemodels.c b/clang/test/CodeGen/codemodels.c
index 8f94e22b10c..30fdb259339 100644
--- a/clang/test/CodeGen/codemodels.c
+++ b/clang/test/CodeGen/codemodels.c
@@ -2,7 +2,7 @@
// RUN: %clang_cc1 -emit-llvm -mcode-model tiny %s -o - | FileCheck %s -check-prefix=CHECK-TINY
// RUN: %clang_cc1 -emit-llvm -mcode-model small %s -o - | FileCheck %s -check-prefix=CHECK-SMALL
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcode-model kernel %s -o - | FileCheck %s -check-prefix=CHECK-KERNEL
-// RUN: %clang_cc1 -emit-llvm -mcode-model medium %s -o - | FileCheck %s -check-prefix=CHECK-MEDIUM
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcode-model medium %s -o - | FileCheck %s -check-prefix=CHECK-MEDIUM
// RUN: %clang_cc1 -emit-llvm -mcode-model large %s -o - | FileCheck %s -check-prefix=CHECK-LARGE
// CHECK-TINY: !llvm.module.flags = !{{{.*}}}
OpenPOWER on IntegriCloud