Skip to content

Commit

Permalink
[GlobalISel] Remove unused function narrowToSmallerAndWidenToSmallest (
Browse files Browse the repository at this point in the history
…#69130)

The last use was removed by:

  commit b163efa
  Author: Simon Pilgrim <llvm-dev@redking.me.uk>
  Date:   Thu Jun 15 13:56:53 2023 +0100
  • Loading branch information
kazutakahirata authored Oct 16, 2023
1 parent 0b570ad commit 9cc6f49
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9cc6f49

Please sign in to comment.