From 4fa2ba63067bf875b54c3ae7b8ed71ab69eddf03 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Oct 2006 16:35:10 +0000 Subject: Modernize the testcase, allow it to pass on ppc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31177 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/compare_folding.llx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/CodeGen/X86/compare_folding.llx') diff --git a/test/CodeGen/X86/compare_folding.llx b/test/CodeGen/X86/compare_folding.llx index 6a91bec..5a4471b 100644 --- a/test/CodeGen/X86/compare_folding.llx +++ b/test/CodeGen/X86/compare_folding.llx @@ -1,8 +1,8 @@ -; RUN: llvm-as < %s | llc -march=x86 | grep movsd | wc -l | grep 1 && -; RUN: llvm-as < %s | llc -march=x86 | grep ucomisd -declare bool %llvm.isunordered(double,double) +; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep movsd | wc -l | grep 1 && +; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep ucomisd +declare bool %llvm.isunordered.f64(double,double) bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y) - %COM = call bool %llvm.isunordered(double %X, double %Y) + %COM = call bool %llvm.isunordered.f64(double %X, double %Y) ret bool %COM } -- cgit v1.1