[llvm] cc03414 - [PerfectShuffle] Remove unused variables from D123386. NFC
David Green via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 08:22:10 PDT 2022
Author: David Green
Date: 2022-04-19T16:22:04+01:00
New Revision: cc03414125d234da80e9b445909568b065c7f2a6
URL: https://github.com/llvm/llvm-project/commit/cc03414125d234da80e9b445909568b065c7f2a6
DIFF: https://github.com/llvm/llvm-project/commit/cc03414125d234da80e9b445909568b065c7f2a6.diff
LOG: [PerfectShuffle] Remove unused variables from D123386. NFC
Added:
Modified:
llvm/utils/PerfectShuffle/PerfectShuffle.cpp
Removed:
################################################################################
diff --git a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp b/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
index 8b68e546fd326..2c6be3acdbb09 100644
--- a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
+++ b/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
@@ -314,9 +314,6 @@ int main() {
// Similarly, if we take the mask (eg 3,6,1,0) and take the cost with
// undef for each lane (eg u,6,1,0 or 3,u,1,0 etc), we can use a single
// lane insert to fixup the result.
- unsigned MinVal = i;
- unsigned MinCost = ShufTab[i].Cost;
-
for (unsigned LaneIdx = 0; LaneIdx < 4; LaneIdx++) {
if (getMaskElt(i, LaneIdx) == 8)
continue;
More information about the llvm-commits
mailing list