diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-25 16:35:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-25 16:35:10 +0000 |
commit | 4fa2ba63067bf875b54c3ae7b8ed71ab69eddf03 (patch) | |
tree | ae33f2ef4be2269ed1e6b3e82a1dc73d19a48713 | |
parent | 5f90cbc56a9f4b651eed1e8208a209694c63b7ac (diff) |
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
-rw-r--r-- | test/CodeGen/X86/compare_folding.llx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/compare_folding.llx b/test/CodeGen/X86/compare_folding.llx index 6a91bec55f..5a4471b9da 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 } |