forked from OSchip/llvm-project
[RISCV] Fix misleading formatting and remove a dead getNode call. NFC
This commit is contained in:
parent
9f94d63a6a
commit
ea1b861278
|
@ -7003,7 +7003,6 @@ void RISCVTargetLowering::ReplaceNodeResults(SDNode *N,
|
|||
case ISD::ABS: {
|
||||
assert(N->getValueType(0) == MVT::i32 && Subtarget.is64Bit() &&
|
||||
"Unexpected custom legalisation");
|
||||
DAG.getNode(ISD::SIGN_EXTEND, DL, MVT::i64, N->getOperand(0));
|
||||
|
||||
// Expand abs to Y = (sraiw X, 31); subw(xor(X, Y), Y)
|
||||
|
||||
|
|
Loading…
Reference in New Issue