[PATCH] D85002: [RISCV] eliminate the repetition declare of SDLoc DL
luxufan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 22:57:06 PDT 2020
StephenFan created this revision.
StephenFan added reviewers: asb, lenary, kamleshbhalui.
Herald added subscribers: llvm-commits, evandro, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
Herald added a project: LLVM.
StephenFan requested review of this revision.
Herald added a subscriber: MaskRay.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85002
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Index: llvm/lib/Target/RISCV/RISCVISelLowering.cpp
===================================================================
--- llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -1003,7 +1003,6 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85002.282130.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200731/5483cd3c/attachment.bin>
More information about the llvm-commits
mailing list