aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 13:05:18 -0700
committerGitHub <noreply@github.com>2025-05-04 13:05:18 -0700
commitc51a3aa6ceb63a58ab7658ea999c65b818da6b1d (patch)
treed49a19f108310d8b830452f1fd569801412f134e /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent142f99ad645f9e77dd5adb470e41c55ce6d37b2b (diff)
downloadllvm-c51a3aa6ceb63a58ab7658ea999c65b818da6b1d.zip
llvm-c51a3aa6ceb63a58ab7658ea999c65b818da6b1d.tar.gz
llvm-c51a3aa6ceb63a58ab7658ea999c65b818da6b1d.tar.bz2
[llvm] Remove unused local variables (NFC) (#138467)
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 083173d..ba34c72 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -7965,7 +7965,6 @@ bool TargetLowering::expandDIVREMByConstant(SDNode *N,
// If we shifted the input, shift the remainder left and add the bits we
// shifted off the input.
if (TrailingZeros) {
- APInt Mask = APInt::getLowBitsSet(HBitWidth, TrailingZeros);
RemL = DAG.getNode(ISD::SHL, dl, HiLoVT, RemL,
DAG.getShiftAmountConstant(TrailingZeros, HiLoVT, dl));
RemL = DAG.getNode(ISD::ADD, dl, HiLoVT, RemL, PartialRem);