add testcase for PR2964
authorChris Lattner <sabre@nondot.org>
Wed, 29 Oct 2008 18:42:22 +0000 (18:42 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 29 Oct 2008 18:42:22 +0000 (18:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58393 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/compare-fcmp-ord.ll

index fd1eb5d440571f38615fb9e08c327ce2c460f546..e578ca3737d988dd56e8634405c1f5a6ba54bd06 100644 (file)
@@ -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]