[llvm] [GlobalISel] Remove unused function narrowToSmallerAndWidenToSmallest (PR #69130)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 15 14:43:45 PDT 2023
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/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
>From 0f8d6214e62fd6fd0622d75c0537063d24f42152 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Sun, 15 Oct 2023 12:19:23 -0700
Subject: [PATCH] [GlobalISel] Remove unused function
narrowToSmallerAndWidenToSmallest
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
---
.../llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h | 10 ----------
1 file changed, 10 deletions(-)
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