mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
80 col violation.
llvm-svn: 47998
This commit is contained in:
parent
92e00c1e50
commit
e89c207d52
@ -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};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user