mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Lower to the correct functions. This fixes FreeBench/fourinarow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a13d3236d1
commit
6b7598b995
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user