mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 21:38:19 +00:00
Change 'AttrVal' to 'AttrKind' to better reflect that it's a kind of attribute instead of the value of the attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170972 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user