From 3fc42fd77c7f8bdb2729ce5405d65297bbfdff84 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 1 Oct 2012 22:48:07 +0000 Subject: [PATCH] test/CodeGen/X86/red-zone2.ll: Add -mtriple=x86_64-linux, and FileCheck-ize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164975 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/red-zone2.ll | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/X86/red-zone2.ll b/test/CodeGen/X86/red-zone2.ll index f09216319e8..3e9c7909a36 100644 --- a/test/CodeGen/X86/red-zone2.ll +++ b/test/CodeGen/X86/red-zone2.ll @@ -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: -- 2.34.1