Modernize the testcase, allow it to pass on ppc

llvm-svn: 31177
diff --git a/llvm/test/Regression/CodeGen/X86/compare_folding.llx b/llvm/test/Regression/CodeGen/X86/compare_folding.llx
index 6a91bec..5a4471b 100644
--- a/llvm/test/Regression/CodeGen/X86/compare_folding.llx
+++ b/llvm/test/Regression/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
 }