diff options
author | Caroline Tice <cmtice@google.com> | 2018-09-21 23:19:49 +0000 |
---|---|---|
committer | Caroline Tice <cmtice@google.com> | 2018-09-21 23:19:49 +0000 |
commit | 7fc64a69b623f23a3c5144ac426ec0e0895b0f8c (patch) | |
tree | c8a9672a61a5bec8fc85e95db1597c73e636c41f /clang/test/CodeGen/codemodels.c | |
parent | ecdab03d10424f13a3ab12bd5078bea973d1a2e9 (diff) | |
download | bcm5719-llvm-7fc64a69b623f23a3c5144ac426ec0e0895b0f8c.tar.gz bcm5719-llvm-7fc64a69b623f23a3c5144ac426ec0e0895b0f8c.zip |
Fix codemodels.c test case (only test mcmodel-kernel on x86)
A recent commit I made broke aarch64 testing, because "kernel"
apparently is not a valid code-model on aarch64, and one of my tests
tested that. This fixes the problem (hopefully) by adding "-triple
x86_64-unknown-linux-gnu" to the test build with "-mcodel-model
kernel".
Differential Revision: https://reviews.llvm.org/D52383
llvm-svn: 342789
Diffstat (limited to 'clang/test/CodeGen/codemodels.c')
-rw-r--r-- | clang/test/CodeGen/codemodels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/codemodels.c b/clang/test/CodeGen/codemodels.c index f85c7a0ff88..8f94e22b10c 100644 --- a/clang/test/CodeGen/codemodels.c +++ b/clang/test/CodeGen/codemodels.c @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-NOMODEL // 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 -emit-llvm -mcode-model kernel %s -o - | FileCheck %s -check-prefix=CHECK-KERNEL +// 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 -emit-llvm -mcode-model large %s -o - | FileCheck %s -check-prefix=CHECK-LARGE |