summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-10 21:02:37 +0000
committerChris Lattner <sabre@nondot.org>2005-01-10 21:02:37 +0000
commitbe02d430a93b2670f90cb76ad034f3dd9228ba95 (patch)
tree4c52d4a1fb1a866132bf849ad093d250a7a9422f /llvm/lib/CodeGen
parent750d38b5b78fdb09cab328ee7ed5ddf199075dbe (diff)
downloadbcm5719-llvm-be02d430a93b2670f90cb76ad034f3dd9228ba95.tar.gz
bcm5719-llvm-be02d430a93b2670f90cb76ad034f3dd9228ba95.zip
Lower to the correct functions. This fixes FreeBench/fourinarow
llvm-svn: 19436
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 649c34cc766..e0ddfa1b3d0 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -795,9 +795,9 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
case ISD::UDIV: LibCallName = "__udivdi3"; break;
case ISD::SREM: LibCallName = "__moddi3"; break;
case ISD::UREM: LibCallName = "__umoddi3"; break;
- case ISD::SHL: LibCallName = "__lshrdi3"; break;
+ case ISD::SHL: LibCallName = "__ashldi3"; break;
case ISD::SRA: LibCallName = "__ashrdi3"; break;
- case ISD::SRL: LibCallName = "__ashldi3"; break;
+ case ISD::SRL: LibCallName = "__lshrdi3"; break;
}
// Int2FP -> __floatdisf/__floatdidf
OpenPOWER on IntegriCloud