mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
80 col violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1741,10 +1741,12 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
|||||||
unsigned BitWidth = MVT::getSizeInBits(VT);
|
unsigned BitWidth = MVT::getSizeInBits(VT);
|
||||||
switch (Opcode) {
|
switch (Opcode) {
|
||||||
default: break;
|
default: break;
|
||||||
case ISD::SIGN_EXTEND: return getConstant(APInt(Val).sextOrTrunc(BitWidth), VT);
|
case ISD::SIGN_EXTEND:
|
||||||
|
return getConstant(APInt(Val).sextOrTrunc(BitWidth), VT);
|
||||||
case ISD::ANY_EXTEND:
|
case ISD::ANY_EXTEND:
|
||||||
case ISD::ZERO_EXTEND:
|
case ISD::ZERO_EXTEND:
|
||||||
case ISD::TRUNCATE: return getConstant(APInt(Val).zextOrTrunc(BitWidth), VT);
|
case ISD::TRUNCATE:
|
||||||
|
return getConstant(APInt(Val).zextOrTrunc(BitWidth), VT);
|
||||||
case ISD::UINT_TO_FP:
|
case ISD::UINT_TO_FP:
|
||||||
case ISD::SINT_TO_FP: {
|
case ISD::SINT_TO_FP: {
|
||||||
const uint64_t zero[] = {0, 0};
|
const uint64_t zero[] = {0, 0};
|
||||||
|
Reference in New Issue
Block a user