[PATCH] D25000: [SCEV] Use a SmallPtrSet as a temporary union predicate; NFC

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 21:44:19 PDT 2016


sanjoy created this revision.
sanjoy added reviewers: silviu.baranga, sbaranga.
sanjoy added a subscriber: llvm-commits.
Herald added subscribers: mzolotukhin, mcrosier, sanjoy.

Instead of creating and destroying SCEVUnionPredicate instances (which
internally creates and destroys a DenseMap), use temporary SmallPtrSet
instances of remember the set of predicates that will get reified into a
SCEVUnionPredicate.

https://reviews.llvm.org/D25000

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/ScalarEvolution.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25000.72760.patch
Type: text/x-patch
Size: 14203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160928/148c873a/attachment.bin>


More information about the llvm-commits mailing list