[PATCH] D85002: [RISCV] eliminate the repetition declare of SDLoc DL

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 2 19:26:24 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa96921afa702: [RISCV] eliminate the repetition declare of SDLoc DL (authored by StephenFan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85002/new/

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.282493.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200803/e60d1313/attachment.bin>


More information about the llvm-commits mailing list