diff options
author | Chris Lattner <sabre@nondot.org> | 2008-10-29 18:42:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-10-29 18:42:22 +0000 |
commit | db9734840064890e97c8441ae8d4a7edb4817740 (patch) | |
tree | 322a61460d5e081769ed2a633a2f777939826e90 /test/CodeGen/PowerPC | |
parent | b384ab9ea113ad22a9c7034b98060c7470f0dcc5 (diff) | |
download | llvm-db9734840064890e97c8441ae8d4a7edb4817740.tar.gz llvm-db9734840064890e97c8441ae8d4a7edb4817740.tar.bz2 llvm-db9734840064890e97c8441ae8d4a7edb4817740.tar.xz |
add testcase for PR2964
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r-- | test/CodeGen/PowerPC/compare-fcmp-ord.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/compare-fcmp-ord.ll b/test/CodeGen/PowerPC/compare-fcmp-ord.ll index fd1eb5d440..e578ca3737 100644 --- a/test/CodeGen/PowerPC/compare-fcmp-ord.ll +++ b/test/CodeGen/PowerPC/compare-fcmp-ord.ll @@ -1,6 +1,10 @@ ; RUN: llvm-as < %s | llc -march=ppc32 | grep or | count 3 ; This should produce one 'or' or 'cror' instruction per function. + +; RUN: llvm-as < %s | llc -march=ppc32 | grep mfcr | count 3 +; PR2964 + define i32 @test(double %x, double %y) nounwind { entry: %tmp3 = fcmp ole double %x, %y ; <i1> [#uses=1] |