diff options
Diffstat (limited to 'llvm/test/CodeGen/Lanai/codemodel.ll')
-rw-r--r-- | llvm/test/CodeGen/Lanai/codemodel.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Lanai/codemodel.ll b/llvm/test/CodeGen/Lanai/codemodel.ll index 6bc0dc4d398..72d1d65daf5 100644 --- a/llvm/test/CodeGen/Lanai/codemodel.ll +++ b/llvm/test/CodeGen/Lanai/codemodel.ll @@ -1,5 +1,10 @@ ; RUN: llc -march=lanai < %s | FileCheck %s ; RUN: llc -march=lanai < %s -code-model=small | FileCheck -check-prefix CHECK-SMALL %s +; RUN: not llc -march=lanai < %s -code-model=tiny 2>&1 | FileCheck -check-prefix CHECK-TINY %s +; RUN: not llc -march=lanai < %s -code-model=kernel 2>&1 | FileCheck -check-prefix CHECK-KERNEL %s + +; CHECK-TINY: Target does not support the tiny CodeModel +; CHECK-KERNEL: Target does not support the kernel CodeModel @data = external global [0 x i32] ; <[0 x i32]*> [#uses=5] |