mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae3b652f5c
commit
d0b144c04c
@ -95,11 +95,10 @@ struct LoopVectorize : public LoopPass {
|
||||
// Check the function attribues to find out if this function should be
|
||||
// optimized for size.
|
||||
Function *F = L->getHeader()->getParent();
|
||||
bool OptForSize =
|
||||
F->getFnAttributes().hasAttribute(Attributes::OptimizeForSize);
|
||||
Attributes::AttrVal SzAttr= Attributes::OptimizeForSize;
|
||||
bool OptForSize = F->getFnAttributes().hasAttribute(SzAttr);
|
||||
|
||||
unsigned VF = CM.selectVectorizationFactor(OptForSize,
|
||||
VectorizationFactor);
|
||||
unsigned VF = CM.selectVectorizationFactor(OptForSize, VectorizationFactor);
|
||||
|
||||
if (VF == 1) {
|
||||
DEBUG(dbgs() << "LV: Vectorization is possible but not beneficial.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user