mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-09 05:31:19 +00:00
fix code that was accidentally commented out in previous commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244610 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0044cc3592
commit
082a39c1fa
@ -1718,9 +1718,9 @@ struct LoopVectorize : public FunctionPass {
|
||||
|
||||
// Check the function attributes to find out if this function should be
|
||||
// optimized for size.
|
||||
bool OptForSize = Hints.getForce() != LoopVectorizeHints::FK_Enabled/* &&
|
||||
bool OptForSize = Hints.getForce() != LoopVectorizeHints::FK_Enabled &&
|
||||
// FIXME: Use Function::optForSize().
|
||||
F->hasFnAttribute(Attribute::OptimizeForSize)*/;
|
||||
F->hasFnAttribute(Attribute::OptimizeForSize);
|
||||
|
||||
// Compute the weighted frequency of this loop being executed and see if it
|
||||
// is less than 20% of the function entry baseline frequency. Note that we
|
||||
|
Loading…
Reference in New Issue
Block a user