llvm-project/polly/lib/CodeGen
Tobias Grosser 184a4926b3 BlockGenerator: Use getArrayAccessFor for vector code generation
getAccessFor does not guarantee a certain access to be returned in case an
instruction is related to multiple accesses. However, in the vector code
generation we want to know the stride of the array access of a store
instruction. By using getArrayAccessFor we ensure we always get the correct
memory access.

This patch fixes a potential bug, but I was unable to produce a failing test
case. Several existing test cases cover this code, but all of them already
passed out of luck (or the specific but not-guaranteed order in which we build
memory accesses).

llvm-svn: 255715
2015-12-15 23:50:01 +00:00
..
BlockGenerators.cpp BlockGenerator: Use getArrayAccessFor for vector code generation 2015-12-15 23:50:01 +00:00
CodeGeneration.cpp IR cleanup after CodeGeneration 2015-11-26 12:36:25 +00:00
CodegenCleanup.cpp IR cleanup after CodeGeneration 2015-11-26 12:36:25 +00:00
IRBuilder.cpp IRBuilder: Use Map.lookup instead of Map.find [NFC] 2015-10-07 13:35:20 +00:00
IslAst.cpp Remove old and redundant options 2015-11-02 10:13:32 +00:00
IslExprBuilder.cpp ScopInfo: Make getDimensionSize better reflect which dimensions carry sizes 2015-11-10 14:24:21 +00:00
IslNodeBuilder.cpp ScopInfo: Harmonize the different array kinds 2015-12-13 19:59:01 +00:00
LoopGenerators.cpp polly/ADT: Remove implicit ilist iterator conversions, NFC 2015-11-06 22:56:54 +00:00
RuntimeDebugBuilder.cpp polly/ADT: Remove implicit ilist iterator conversions, NFC 2015-11-06 22:56:54 +00:00
Utils.cpp executeScopConditionally: Introduce special exiting block 2015-12-09 11:38:22 +00:00