Skip to content

Commit 12e915b

Browse files
committed
[ARM] Make helpers static. NFC.
llvm-svn: 373503
1 parent a15a141 commit 12e915b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

llvm/lib/Target/ARM/ARMISelLowering.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13122,7 +13122,8 @@ static SDValue PerformLOADCombine(SDNode *N,
1312213122
// Optimize trunc store (of multiple scalars) to shuffle and store. First,
1312313123
// pack all of the elements in one place. Next, store to memory in fewer
1312413124
// chunks.
13125-
SDValue PerformTruncatingStoreCombine(StoreSDNode *St, SelectionDAG &DAG) {
13125+
static SDValue PerformTruncatingStoreCombine(StoreSDNode *St,
13126+
SelectionDAG &DAG) {
1312613127
SDValue StVal = St->getValue();
1312713128
EVT VT = StVal.getValueType();
1312813129
if (!St->isTruncatingStore() || !VT.isVector())
@@ -13206,7 +13207,8 @@ SDValue PerformTruncatingStoreCombine(StoreSDNode *St, SelectionDAG &DAG) {
1320613207
// Try taking a single vector store from an truncate (which would otherwise turn
1320713208
// into an expensive buildvector) and splitting it into a series of narrowing
1320813209
// stores.
13209-
SDValue PerformSplittingToNarrowingStores(StoreSDNode *St, SelectionDAG &DAG) {
13210+
static SDValue PerformSplittingToNarrowingStores(StoreSDNode *St,
13211+
SelectionDAG &DAG) {
1321013212
if (!St->isSimple() || St->isTruncatingStore() || !St->isUnindexed())
1321113213
return SDValue();
1321213214
SDValue Trunc = St->getValue();
@@ -13696,7 +13698,7 @@ static SDValue PerformShiftCombine(SDNode *N,
1369613698
// Look for a sign/zero extend of a larger than legal load. This can be split
1369713699
// into two extending loads, which are simpler to deal with than an arbitrary
1369813700
// sign extend.
13699-
SDValue PerformSplittingToWideningLoad(SDNode *N, SelectionDAG &DAG) {
13701+
static SDValue PerformSplittingToWideningLoad(SDNode *N, SelectionDAG &DAG) {
1370013702
SDValue N0 = N->getOperand(0);
1370113703
if (N0.getOpcode() != ISD::LOAD)
1370213704
return SDValue();

0 commit comments

Comments
 (0)