[PATCH] D88982: [NFCI] Add LinearPolyBase as base class for ElementCount, TypeSize and StackOffset.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 10:02:50 PDT 2020
sdesmalen updated this revision to Diff 297619.
sdesmalen added a comment.
- Rebased patch.
- Added `class LinearPolyBaseOperators` which provides a set of overloaded operators for derived classes.
- Made `ElementCount` a deriving class, because it needs 'isScalar' and 'isVector' methods which cannot be part of its parent class.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88982/new/
https://reviews.llvm.org/D88982
Files:
llvm/include/llvm/Support/TypeSize.h
llvm/unittests/Support/CMakeLists.txt
llvm/unittests/Support/StackOffsetTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88982.297619.patch
Type: text/x-patch
Size: 23569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201012/ab8df3d8/attachment.bin>
More information about the llvm-commits
mailing list