forked from OSchip/llvm-project
[RISCV] eliminate the repetition declare of SDLoc DL
Differential revision: https://reviews.llvm.org/D85002
This commit is contained in:
parent
b497665d98
commit
a96921afa7
|
@ -1003,7 +1003,6 @@ void RISCVTargetLowering::ReplaceNodeResults(SDNode *N,
|
|||
case ISD::BITCAST: {
|
||||
assert(N->getValueType(0) == MVT::i32 && Subtarget.is64Bit() &&
|
||||
Subtarget.hasStdExtF() && "Unexpected custom legalisation");
|
||||
SDLoc DL(N);
|
||||
SDValue Op0 = N->getOperand(0);
|
||||
if (Op0.getValueType() != MVT::f32)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue