From 88194dfe1a8cef14805bf8696d6391f38f78f2d7 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Tue, 9 Oct 2018 15:29:26 +0000 Subject: [PATCH] [InstCombine] make helper function 'static'; NFC llvm-svn: 344056 --- llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp index f01f2b0..61a3e31 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp @@ -1445,8 +1445,8 @@ static Instruction *foldSelectShuffle(ShuffleVectorInst &Shuf, /// Match a shuffle-select-shuffle pattern where the shuffles are widening and /// narrowing (concatenating with undef and extracting back to the original /// length). This allows replacing the wide select with a narrow select. -Instruction *narrowVectorSelect(ShuffleVectorInst &Shuf, - InstCombiner::BuilderTy &Builder) { +static Instruction *narrowVectorSelect(ShuffleVectorInst &Shuf, + InstCombiner::BuilderTy &Builder) { // This must be a narrowing identity shuffle. It extracts the 1st N elements // of the 1st vector operand of a shuffle. if (!match(Shuf.getOperand(1), m_Undef()) || !Shuf.isIdentityWithExtract()) -- 2.7.4