[PATCH] D38476: Template the sparse propagation solver instead of using void pointers

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 13:26:08 PDT 2017


dberlin created this revision.
Herald added a subscriber: sanjoy.

This avoids using void * as the type of the lattice value and ugly casts needed to make that happen.
(If folks want to use references, etc, they can use a reference_wrapper).


https://reviews.llvm.org/D38476

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38476.117412.patch
Type: text/x-patch
Size: 9672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171002/1a8a1466/attachment.bin>


More information about the llvm-commits mailing list