Skip to content

Commit 9cc6f49

Browse files
[GlobalISel] Remove unused function narrowToSmallerAndWidenToSmallest (#69130)
The last use was removed by: commit b163efa Author: Simon Pilgrim <[email protected]> Date: Thu Jun 15 13:56:53 2023 +0100
1 parent 0b570ad commit 9cc6f49

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,6 @@ class LegacyLegalizerInfo {
240240
Unsupported);
241241
}
242242

243-
static SizeAndActionsVec
244-
narrowToSmallerAndWidenToSmallest(const SizeAndActionsVec &v) {
245-
using namespace LegacyLegalizeActions;
246-
assert(v.size() > 0 &&
247-
"At least one size that can be legalized towards is needed"
248-
" for this SizeChangeStrategy");
249-
return decreaseToSmallerTypesAndIncreaseToSmallest(v, NarrowScalar,
250-
WidenScalar);
251-
}
252-
253243
/// A SizeChangeStrategy for the common case where legalization for a
254244
/// particular vector operation consists of having more elements in the
255245
/// vector, to a type that is legal. Unless there is no such type and then

0 commit comments

Comments
 (0)