diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/codemodel.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/codemodel.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/codemodel.ll b/llvm/test/CodeGen/X86/codemodel.ll index edea6326027..8febb3f0b0a 100644 --- a/llvm/test/CodeGen/X86/codemodel.ll +++ b/llvm/test/CodeGen/X86/codemodel.ll @@ -1,10 +1,13 @@ ; RUN: llc < %s -code-model=small | FileCheck -check-prefix CHECK-SMALL %s ; RUN: llc < %s -code-model=kernel | FileCheck -check-prefix CHECK-KERNEL %s +; RUN: not llc < %s -code-model=tiny 2>&1 | FileCheck -check-prefix CHECK-TINY %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target triple = "x86_64-unknown-linux-gnu" @data = external global [0 x i32] ; <[0 x i32]*> [#uses=5] +; CHECK-TINY: Target does not support the tiny CodeModel + define i32 @foo() nounwind readonly { entry: ; CHECK-SMALL-LABEL: foo: |