summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-22 00:37:52 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-22 00:37:52 +0000
commitc79e42c5ce2ce0e6d6f13f99a2d75f4c205ab8f3 (patch)
tree304fce3bcca7d9c6e5438f0dd6933905a7d50481 /llvm/lib/Transforms/Vectorize
parentc632467e2b584f5502743edbb63db717651416a5 (diff)
downloadbcm5719-llvm-c79e42c5ce2ce0e6d6f13f99a2d75f4c205ab8f3.tar.gz
bcm5719-llvm-c79e42c5ce2ce0e6d6f13f99a2d75f4c205ab8f3.zip
Change 'AttrVal' to 'AttrKind' to better reflect that it's a kind of attribute instead of the value of the attribute.
llvm-svn: 170972
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 6f8c65aa3db..f5ff79c0b90 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -94,7 +94,7 @@ struct LoopVectorize : public LoopPass {
// Check the function attribues to find out if this function should be
// optimized for size.
Function *F = L->getHeader()->getParent();
- Attribute::AttrVal SzAttr= Attribute::OptimizeForSize;
+ Attribute::AttrKind SzAttr= Attribute::OptimizeForSize;
bool OptForSize = F->getFnAttributes().hasAttribute(SzAttr);
unsigned VF = CM.selectVectorizationFactor(OptForSize, VectorizationFactor);
OpenPOWER on IntegriCloud