mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 01:11:44 +00:00
[LV] Make the new getter return a const reference. NFC
LoopVectorizationLegality holds a constant reference to LAI, so this will have to be const as well. Also added missed function comment. llvm-svn: 272851
This commit is contained in:
parent
cb0e5a9d47
commit
5db17e4669
@ -1448,7 +1448,9 @@ private:
|
||||
emitAnalysisDiag(TheFunction, TheLoop, *Hints, Message);
|
||||
}
|
||||
|
||||
ValueToValueMap &getSymbolicStrides() { return SymbolicStrides; }
|
||||
/// \brief If an access has a symbolic strides, this maps the pointer value to
|
||||
/// the stride symbol.
|
||||
const ValueToValueMap &getSymbolicStrides() { return SymbolicStrides; }
|
||||
|
||||
unsigned NumPredStores;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user