mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -356,7 +356,7 @@ namespace {
|
||||
Instruction *J, unsigned o, bool IBeforeJ);
|
||||
|
||||
void getReplacementInputsForPair(LLVMContext& Context, Instruction *I,
|
||||
Instruction *J, SmallVector<Value *, 3> &ReplacedOperands,
|
||||
Instruction *J, SmallVectorImpl<Value *> &ReplacedOperands,
|
||||
bool IBeforeJ);
|
||||
|
||||
void replaceOutputsOfPair(LLVMContext& Context, Instruction *I,
|
||||
@ -2687,7 +2687,7 @@ namespace {
|
||||
// to the vector instruction that fuses I with J.
|
||||
void BBVectorize::getReplacementInputsForPair(LLVMContext& Context,
|
||||
Instruction *I, Instruction *J,
|
||||
SmallVector<Value *, 3> &ReplacedOperands,
|
||||
SmallVectorImpl<Value *> &ReplacedOperands,
|
||||
bool IBeforeJ) {
|
||||
unsigned NumOperands = I->getNumOperands();
|
||||
|
||||
|
Reference in New Issue
Block a user