Skip to content

Commit bbcb44d

Browse files
committed
Address review comments.
Change the type used of a parameter.
1 parent 084e8c0 commit bbcb44d

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
@@ -1630,7 +1630,7 @@ void CodeExtractor::emitFunctionBody(
16301630
const ValueSet &inputs, const ValueSet &outputs,
16311631
const ValueSet &StructValues, Function *newFunction,
16321632
StructType *StructArgTy, BasicBlock *header, const ValueSet &SinkingCands,
1633-
SmallVector<Value *> &NewValues) {
1633+
SmallVectorImpl<Value *> &NewValues) {
16341634
Function *oldFunction = header->getParent();
16351635
LLVMContext &Context = oldFunction->getContext();
16361636

0 commit comments

Comments
 (0)