[llvm-commits] [llvm] r47575 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Dan Gohman
gohman at apple.com
Mon Feb 25 14:43:48 PST 2008
Author: djg
Date: Mon Feb 25 16:43:48 2008
New Revision: 47575
URL: http://llvm.org/viewvc/llvm-project?rev=47575&view=rev
Log:
Revert the assert for MUL_LOHI with an unused high result; Chris
pointed out that this isn't correct at -O0.
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=47575&r1=47574&r2=47575&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Mon Feb 25 16:43:48 2008
@@ -1221,9 +1221,6 @@
case ISD::SMUL_LOHI:
case ISD::UMUL_LOHI: {
- assert(!N.getValue(1).use_empty() &&
- "A MUL_LOHI with an unused high result should fold to a MUL!");
-
SDOperand N0 = Node->getOperand(0);
SDOperand N1 = Node->getOperand(1);
More information about the llvm-commits
mailing list