[llvm] 9cc6f49 - [GlobalISel] Remove unused function narrowToSmallerAndWidenToSmallest (#69130)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 16 09:33:30 PDT 2023
Author: Kazu Hirata
Date: 2023-10-16T09:33:26-07:00
New Revision: 9cc6f492f20ffc7bd1b7c9e5ef696aa921bcdef9
URL: https://github.com/llvm/llvm-project/commit/9cc6f492f20ffc7bd1b7c9e5ef696aa921bcdef9
DIFF: https://github.com/llvm/llvm-project/commit/9cc6f492f20ffc7bd1b7c9e5ef696aa921bcdef9.diff
LOG: [GlobalISel] Remove unused function narrowToSmallerAndWidenToSmallest (#69130)
The last use was removed by:
commit b163efae3312abe1227cff1d7704325138b4e538
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: Thu Jun 15 13:56:53 2023 +0100
Added:
Modified:
llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
index 08233dba2041143..0b167ce9650d070 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
@@ -240,16 +240,6 @@ class LegacyLegalizerInfo {
Unsupported);
}
- static SizeAndActionsVec
- narrowToSmallerAndWidenToSmallest(const SizeAndActionsVec &v) {
- using namespace LegacyLegalizeActions;
- assert(v.size() > 0 &&
- "At least one size that can be legalized towards is needed"
- " for this SizeChangeStrategy");
- return decreaseToSmallerTypesAndIncreaseToSmallest(v, NarrowScalar,
- WidenScalar);
- }
-
/// A SizeChangeStrategy for the common case where legalization for a
/// particular vector operation consists of having more elements in the
/// vector, to a type that is legal. Unless there is no such type and then
More information about the llvm-commits
mailing list