diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/X86/2008-11-03-F80VAARG.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/version_directive.ll | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2008-11-03-F80VAARG.ll b/llvm/test/CodeGen/X86/2008-11-03-F80VAARG.ll index 507799b7304..97c046c8642 100644 --- a/llvm/test/CodeGen/X86/2008-11-03-F80VAARG.ll +++ b/llvm/test/CodeGen/X86/2008-11-03-F80VAARG.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=x86 -o - | not grep 10 +; RUN: llc < %s -march=x86 -o - | FileCheck %s declare void @llvm.va_start(i8*) nounwind @@ -6,6 +6,8 @@ declare void @llvm.va_copy(i8*, i8*) nounwind declare void @llvm.va_end(i8*) nounwind +; CHECK-LABEL: test: +; CHECK-NOT: 10 define x86_fp80 @test(...) nounwind { %ap = alloca i8* ; <i8**> [#uses=3] %v1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1] diff --git a/llvm/test/CodeGen/X86/version_directive.ll b/llvm/test/CodeGen/X86/version_directive.ll new file mode 100644 index 00000000000..8e4e6dc70e6 --- /dev/null +++ b/llvm/test/CodeGen/X86/version_directive.ll @@ -0,0 +1,4 @@ +; RUN: llc -mtriple x86_64-apple-darwin15.0.0 -o - /dev/null | FileCheck %s +; RUN: llc -mtriple x86_64-apple-macosx10.11.0 -o - /dev/null | FileCheck %s + +; CHECK: .macosx_version_min 10, 11 |