]> granicus.if.org Git - llvm/commit
[Attributor][NFCI] Avoid duplication of the InformationCache reference
authorJohannes Doerfert <jdoerfert@anl.gov>
Mon, 5 Aug 2019 23:26:06 +0000 (23:26 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Mon, 5 Aug 2019 23:26:06 +0000 (23:26 +0000)
commita8052846cecc37464de099fd7ac6be63ac1056b0
treed5ea5a010d7f25a70b2faf6866259e4b9f7cefbe
parentc8d64a62c9d398af20c2e2139e568d4b06590321
[Attributor][NFCI] Avoid duplication of the InformationCache reference

Summary:
Instead of storing the reference to the InformationCache we now pass it
whenever it might be needed.

Reviewers: sstefan1, uenoku

Subscribers: hiraditya, bollu, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65709

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367950 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO/Attributor.h
lib/Transforms/IPO/Attributor.cpp