[llvm-commits] [llvm] r136899 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Thu Aug 4 11:38:15 PDT 2011
Author: evancheng
Date: Thu Aug 4 13:38:15 2011
New Revision: 136899
URL: http://llvm.org/viewvc/llvm-project?rev=136899&view=rev
Log:
Fix an obvious type. Patch by Ivan Krasin.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=136899&r1=136898&r2=136899&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Thu Aug 4 13:38:15 2011
@@ -11686,7 +11686,7 @@
// Converting this to a max would handle comparisons between positive
// and negative zero incorrectly.
if (!UnsafeFPMath &&
- !DAG.isKnownNeverZero(LHS) && !DAG.isKnownNeverZero(LHS))
+ !DAG.isKnownNeverZero(LHS) && !DAG.isKnownNeverZero(RHS))
break;
Opcode = X86ISD::FMAX;
break;
More information about the llvm-commits
mailing list