[llvm-commits] [llvm] r58393 - /llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll
Chris Lattner
sabre at nondot.org
Wed Oct 29 11:42:22 PDT 2008
Author: lattner
Date: Wed Oct 29 13:42:22 2008
New Revision: 58393
URL: http://llvm.org/viewvc/llvm-project?rev=58393&view=rev
Log:
add testcase for PR2964
Modified:
llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll?rev=58393&r1=58392&r2=58393&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll Wed Oct 29 13:42:22 2008
@@ -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]
More information about the llvm-commits
mailing list