"openmp/git@repo.hca.bsc.es:lalbano/llvm-bpevl.git" did not exist on "117a94ff9d12d4fbf1ff81cea9f69154ecf831bb"
Teach BaseIndexOffset::match to identify base pointers in loops.
The small utility function that pattern matches Base + Index + Offset patterns for loads and stores fails to recognize the base pointer for loads/stores from/into an array at offset 0 inside a loop. As a result DAGCombiner::MergeConsecutiveStores was not able to merge all stores. This commit fixes the issue by adding an additional pattern match and also a test case. Reviewer: Nadav llvm-svn: 188936
Loading
Please register or sign in to comment