From: Sanjay Patel Date: Tue, 11 Aug 2015 15:08:29 +0000 (+0000) Subject: fix code that was accidentally commented out in previous commit X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=082a39c1fa8f32a4b02c8c49df8fc5978c78e89e;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index b001caad514..ad57f0d40b3 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/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