[llvm] [GlobalISel] Remove unused function narrowToSmallerAndWidenToSmallest (PR #69130)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 15 14:44:52 PDT 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-globalisel
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
The last use was removed by:
commit b163efae3312abe1227cff1d7704325138b4e538
Author: Simon Pilgrim <llvm-dev@<!-- -->redking.me.uk>
Date: Thu Jun 15 13:56:53 2023 +0100
---
Full diff: https://github.com/llvm/llvm-project/pull/69130.diff
1 Files Affected:
- (modified) llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h (-10)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/69130
More information about the llvm-commits
mailing list