[PATCH] D11145: Cleanup after r241809 - remove uncessary call to std::sort

silviu.baranga at arm.com silviu.baranga at arm.com
Mon Jul 13 07:31:19 PDT 2015


sbaranga created this revision.
sbaranga added a subscriber: llvm-commits.

The iteration order within a member of DepCands is deterministic
and therefore we don't have to sort the accesses with a member.
We also don't have to copy the indices of the pointers into a
vector, since we can iterate over the members of the class.

We also need to update some tests since the iteration order
has changed.

http://reviews.llvm.org/D11145

Files:
  lib/Analysis/LoopAccessAnalysis.cpp
  test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
  test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11145.29567.patch
Type: text/x-patch
Size: 6042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150713/210ffc1e/attachment.bin>


More information about the llvm-commits mailing list