mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
LoopVectorize: Fix a C++11 incompatibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172990 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b853c415c6
commit
5ff7a3f947
@ -2714,7 +2714,7 @@ LoopVectorizationCostModel::selectVectorizationFactor(bool OptForSize,
|
||||
|
||||
DEBUG(dbgs() << "LV: Selecting VF = : "<< Width << ".\n");
|
||||
unsigned LoopCost = VF * Cost;
|
||||
return std::make_pair<unsigned, unsigned>(Width, LoopCost);
|
||||
return std::make_pair(Width, LoopCost);
|
||||
}
|
||||
|
||||
unsigned LoopVectorizationCostModel::getWidestType() {
|
||||
|
Loading…
Reference in New Issue
Block a user