Skip to content

Commit 4180e9f

Browse files
committed
Address review comments.
Change the type used of a parameter.
1 parent f0ad59a commit 4180e9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/Transforms/Utils/CodeExtractor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class CodeExtractorAnalysisCache {
291291
const ValueSet &StructValues, Function *newFunction,
292292
StructType *StructArgTy, BasicBlock *header,
293293
const ValueSet &SinkingCands,
294-
SmallVector<Value *> &NewValues);
294+
SmallVectorImpl<Value *> &NewValues);
295295

296296
/// Generates a Basic Block that calls the extracted function.
297297
CallInst *emitReplacerCall(const ValueSet &inputs, const ValueSet &outputs,

llvm/lib/Transforms/Utils/CodeExtractor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ void CodeExtractor::emitFunctionBody(
16271627
const ValueSet &inputs, const ValueSet &outputs,
16281628
const ValueSet &StructValues, Function *newFunction,
16291629
StructType *StructArgTy, BasicBlock *header, const ValueSet &SinkingCands,
1630-
SmallVector<Value *> &NewValues) {
1630+
SmallVectorImpl<Value *> &NewValues) {
16311631
Function *oldFunction = header->getParent();
16321632
LLVMContext &Context = oldFunction->getContext();
16331633

0 commit comments

Comments
 (0)