From 03a76673493d75790871c706564cde97ab5b003e Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 14 Oct 2009 00:28:48 +0000 Subject: [PATCH] Fix this test to account for a movl $0 being emitted as an xor now, and convert it to FileCheck. llvm-svn: 84065 --- llvm/test/CodeGen/X86/fastcc.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/X86/fastcc.ll b/llvm/test/CodeGen/X86/fastcc.ll index c70005bc2ce6..d538264c6d7c 100644 --- a/llvm/test/CodeGen/X86/fastcc.ll +++ b/llvm/test/CodeGen/X86/fastcc.ll @@ -1,5 +1,6 @@ -; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | grep ecx | grep 0 -; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | grep xmm0 | grep 8 +; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s +; CHECK: movsd %xmm0, 8(%esp) +; CHECK: xorl %ecx, %ecx @d = external global double ; [#uses=1] @c = external global double ; [#uses=1]