[PATCH] D21233: [CFLAA] Code cleanup: remove redundant node-to-value mapping and value-to-node mapping
Jia Chen via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 10 11:26:12 PDT 2016
grievejia created this revision.
grievejia added reviewers: george.burgess.iv, hfinkel.
grievejia added a subscriber: llvm-commits.
This patch introduces no functional changes.
It merely specialize WeightedBidirectionalGraph (rename it to CFLGraph) to fix its node type to be Value*. Such specialization help us get rid of the two redundant DenseMaps, one maps from Value* to integer and the other one maps from integer to Value*.
http://reviews.llvm.org/D21233
Files:
lib/Analysis/CFLAliasAnalysis.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21233.60377.patch
Type: text/x-patch
Size: 14352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160610/289df419/attachment.bin>
More information about the llvm-commits
mailing list