[llvm] r261485 - ScalarEvolution: Do not keep temporary PHI values in ValueExprMap

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 21 10:57:00 PST 2016


On 02/21/2016 06:54 PM, Sanjoy Das wrote:
> Can the `ValueExprMap.erase(PN)` be moved to under the "if (BEValueV
> && StartValueV)"?  That's the only place where we create a SCEVUnknown
> ref for PN, right?

Nice catch: r261486

Best,
Tobias


More information about the llvm-commits mailing list