diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2016-03-23 15:29:30 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2016-03-23 15:29:30 +0000 |
commit | d68ed85401a5b1d40fb6065bcbd363e1bd78402d (patch) | |
tree | db5d03257f605f9f2d1ea0db5b0dbf5bc433acfc /lldb/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py | |
parent | ffcad441fd86bc09407ad71f83f8b8d7ba37e1d8 (diff) | |
download | bcm5719-llvm-d68ed85401a5b1d40fb6065bcbd363e1bd78402d.tar.gz bcm5719-llvm-d68ed85401a5b1d40fb6065bcbd363e1bd78402d.zip |
[SCEV] Change the SCEV Predicates interfaces for conversion to AddRecExpr to return SCEVAddRecExpr* instead of SCEV*
Summary:
This changes the conversion functions from SCEV * to SCEVAddRecExpr from
ScalarEvolution and PredicatedScalarEvolution to return a SCEVAddRecExpr*
instead of a SCEV* (which removes the need of most clients to do a
dyn_cast right after calling these functions).
We also don't add new predicates if the transformation was not successful.
This is not entirely a NFC (as it can theoretically remove some predicates
from LAA when we have an unknown dependece), but I couldn't find an obvious
regression test for it.
Reviewers: sanjoy
Subscribers: sanjoy, mzolotukhin, llvm-commits
Differential Revision: http://reviews.llvm.org/D18368
llvm-svn: 264161
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py')
0 files changed, 0 insertions, 0 deletions