diff --git a/llvm/test/CodeGen/X86/red-zone2.ll b/llvm/test/CodeGen/X86/red-zone2.ll index f09216319e8d..3e9c7909a366 100644 --- a/llvm/test/CodeGen/X86/red-zone2.ll +++ b/llvm/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: