Skip to content
Commit 35ec5fbb authored by Tobias Grosser's avatar Tobias Grosser
Browse files

ScopInfo: Use getArrayAccessFor in reduction detection

Load instructions may possibly be related to multiple memory accesses, but we
are only interested in the array read access that describes the memory location
the load instructions loads from. By using getArrayAccessfor we ensure to always
obtain the right memory access.

This issue was found by inspection without having a failing test case.

llvm-svn: 255716
parent 184a4926
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment