[llvm-commits] [PATCH]Fix a typo in X86ISelLowering.cpp
Ivan Krasin
krasin at chromium.org
Thu Aug 4 02:44:13 PDT 2011
Hi llvm team,
this patch fixes a typo in lib/Target/X86/X86ISelLowering.cpp. The
credits go to http://habrahabr.ru/blogs/compilers/125626/ (Russian
hacker news)
Ivan
Index: lib/Target/X86/X86ISelLowering.cpp
===================================================================
--- lib/Target/X86/X86ISelLowering.cpp (revision 136864)
+++ lib/Target/X86/X86ISelLowering.cpp (working copy)
@@ -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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lhs-rhs-typo.patch
Type: text/x-patch
Size: 605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110804/4c2b5090/attachment.bin>
More information about the llvm-commits
mailing list