test/CodeGen/X86/red-zone2.ll: Add -mtriple=x86_64-linux, and FileCheck-ize.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 1 Oct 2012 22:48:07 +0000 (22:48 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 1 Oct 2012 22:48:07 +0000 (22:48 +0000)
llvm-svn: 164975

llvm/test/CodeGen/X86/red-zone2.ll

index f092163..3e9c790 100644 (file)
@@ -1,6 +1,7 @@
-; RUN: llc < %s -mcpu=generic -march=x86-64 > %t
-; RUN: grep subq %t | count 1
-; RUN: grep addq %t | count 1
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s
+; CHECK: f0:
+; CHECK: subq
+; CHECK: addq
 
 define x86_fp80 @f0(float %f) nounwind readnone noredzone {
 entry: