diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-08-11 15:08:29 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-08-11 15:08:29 +0000 |
commit | 2a3eb41deb1b3247305d5292a96d4fcd8dffa459 (patch) | |
tree | 12b3f1eab79d20832c072cd6730f65a25d345a7d /llvm/lib | |
parent | 320217668e066d12e20085dabe71f6f4b058e2dc (diff) | |
download | bcm5719-llvm-2a3eb41deb1b3247305d5292a96d4fcd8dffa459.tar.gz bcm5719-llvm-2a3eb41deb1b3247305d5292a96d4fcd8dffa459.zip |
fix code that was accidentally commented out in previous commit
llvm-svn: 244610
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index b001caad514..ad57f0d40b3 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -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 |