Details
Details
- Reviewers
• tstellarAMD jlebar escha resistor
Diff Detail
Diff Detail
Event Timeline
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | ||
---|---|---|
471 | Nit, since all we actually want is VecRegSize, consider making at least 'AS' a temporary: Value *Ptr = LI->getPointerOperand(); unsigned VecRegSize = TTI.getLoadStoreVecRegBitWidth(Ptr, Ptr->getType()->getPointerAddressSpace()); This way readers have to carry one less local variable. Same elsewhere. |
Nit, since all we actually want is VecRegSize, consider making at least 'AS' a temporary:
This way readers have to carry one less local variable. Same elsewhere.