mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
simplify some code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d20154c762
commit
aaeb0c8666
@ -668,7 +668,7 @@ SDOperand DAGTypeLegalizer::PromoteResult_SRL(SDNode *N) {
|
||||
// The input value must be properly zero extended.
|
||||
MVT::ValueType VT = N->getValueType(0);
|
||||
MVT::ValueType NVT = TLI.getTypeToTransformTo(VT);
|
||||
SDOperand Res = DAG.getZeroExtendInReg(GetPromotedOp(N->getOperand(0)), VT);
|
||||
SDOperand Res = GetPromotedZExtOp(N->getOperand(0));
|
||||
return DAG.getNode(ISD::SRL, NVT, Res, N->getOperand(1));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user