Skip to content

Commit bea3967

Browse files
committed
[VectorCombine] Rename foldBitcastShuf -> foldBitcastShuffle. NFC.
Consistently use the term "Shuffle" in all vector combiner folds.
1 parent 3273ea4 commit bea3967

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class VectorCombine {
101101
Instruction &I);
102102
bool foldExtractExtract(Instruction &I);
103103
bool foldInsExtFNeg(Instruction &I);
104-
bool foldBitcastShuf(Instruction &I);
104+
bool foldBitcastShuffle(Instruction &I);
105105
bool scalarizeBinopOrCmp(Instruction &I);
106106
bool scalarizeVPIntrinsic(Instruction &I);
107107
bool foldExtractedCmps(Instruction &I);
@@ -679,7 +679,7 @@ bool VectorCombine::foldInsExtFNeg(Instruction &I) {
679679
/// If this is a bitcast of a shuffle, try to bitcast the source vector to the
680680
/// destination type followed by shuffle. This can enable further transforms by
681681
/// moving bitcasts or shuffles together.
682-
bool VectorCombine::foldBitcastShuf(Instruction &I) {
682+
bool VectorCombine::foldBitcastShuffle(Instruction &I) {
683683
Value *V;
684684
ArrayRef<int> Mask;
685685
if (!match(&I, m_BitCast(
@@ -1880,7 +1880,7 @@ bool VectorCombine::run() {
18801880
MadeChange |= foldSelectShuffle(I);
18811881
break;
18821882
case Instruction::BitCast:
1883-
MadeChange |= foldBitcastShuf(I);
1883+
MadeChange |= foldBitcastShuffle(I);
18841884
break;
18851885
}
18861886
} else {

0 commit comments

Comments
 (0)