[llvm] d287a5a - [GlobalISel] Remove unused variable. NFC.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 11 07:57:18 PDT 2020
Author: Benjamin Kramer
Date: 2020-08-11T16:56:45+02:00
New Revision: d287a5a33f63dcd8f9882ceb3fb18e2e6080d8b4
URL: https://github.com/llvm/llvm-project/commit/d287a5a33f63dcd8f9882ceb3fb18e2e6080d8b4
DIFF: https://github.com/llvm/llvm-project/commit/d287a5a33f63dcd8f9882ceb3fb18e2e6080d8b4.diff
LOG: [GlobalISel] Remove unused variable. NFC.
Added:
Modified:
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
index 0b07dd044b80..56a8aafa4f65 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -2548,7 +2548,6 @@ LegalizerHelper::bitcastInsertVectorElt(MachineInstr &MI, unsigned TypeIdx,
Register Idx = MI.getOperand(3).getReg();
LLT VecTy = MRI.getType(Dst);
- LLT ValTy = MRI.getType(Val);
LLT IdxTy = MRI.getType(Idx);
LLT VecEltTy = VecTy.getElementType();
More information about the llvm-commits
mailing list