[PATCH] D117784: [flang][NFC] Remove unused/duplicated kStridePosInDim

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 09:30:39 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG81cbbe3e17a4: [flang][NFC] Remove unused/duplicated kStridePosInDim (authored by clementval).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117784

Files:
  flang/lib/Optimizer/CodeGen/TypeConverter.h


Index: flang/lib/Optimizer/CodeGen/TypeConverter.h
===================================================================
--- flang/lib/Optimizer/CodeGen/TypeConverter.h
+++ flang/lib/Optimizer/CodeGen/TypeConverter.h
@@ -31,9 +31,9 @@
 static constexpr unsigned kAttributePosInBox = 5;
 static constexpr unsigned kF18AddendumPosInBox = 6;
 static constexpr unsigned kDimsPosInBox = 7;
-static constexpr unsigned kStridePosInDim = 2;
 static constexpr unsigned kOptTypePtrPosInBox = 8;
 static constexpr unsigned kOptRowTypePosInBox = 9;
+
 // Position of the different values in [dims]
 static constexpr unsigned kDimLowerBoundPos = 0;
 static constexpr unsigned kDimExtentPos = 1;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117784.401668.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/5f1f35cb/attachment.bin>


More information about the llvm-commits mailing list