ScalerEvolution: Only erase temporary values if they actually have been added
authorTobias Grosser <tobias@grosser.es>
Sun, 21 Feb 2016 18:50:09 +0000 (18:50 +0000)
committerTobias Grosser <tobias@grosser.es>
Sun, 21 Feb 2016 18:50:09 +0000 (18:50 +0000)
commit934fcf4dc68c5ba2efe395c417759af6564039d5
tree33ed15cb2eefddde80a3c2af538a1f7c23b02320
parent11332e5ec5b8f1e50bdc4e8f3b08b8c35510586f
ScalerEvolution: Only erase temporary values if they actually have been added

This addresses post-review comments from Sanjoy Das for r261485.

llvm-svn: 261486
llvm/lib/Analysis/ScalarEvolution.cpp