diff options
author | Adam Nemet <anemet@apple.com> | 2016-06-16 21:55:10 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-06-16 21:55:10 +0000 |
commit | 886e0617a2e90b6a3905fd819280a8eeae75f945 (patch) | |
tree | ef4c530c9d2575775ae0ac5bca8e5a901377abc2 /llvm/lib/Support/Windows/Process.inc | |
parent | 660b1a49dc4f387f9fc42631ed832f53d00ff44f (diff) | |
download | bcm5719-llvm-886e0617a2e90b6a3905fd819280a8eeae75f945.tar.gz bcm5719-llvm-886e0617a2e90b6a3905fd819280a8eeae75f945.zip |
[LV] Make getSymbolicStrides return a pointer rather than a reference. NFC
Turns out SymbolicStrides is actually used in canVectorizeWithIfConvert
before it gets set up in canVectorizeMemory.
This works fine as long as SymbolicStrides resides in LV since we just
have an empty map. Based on this the conclusion is made that there are
no symbolic strides which is conservatively correct.
However once SymbolicStrides becomes part of LAI, LAI is nullptr at this
point so we need to differentiate the uninitialized state by returning a
nullptr for SymbolicStrides.
llvm-svn: 272966
Diffstat (limited to 'llvm/lib/Support/Windows/Process.inc')
0 files changed, 0 insertions, 0 deletions