summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Attributor/IPConstantProp/recursion.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Attributor][FIX] Carefully change invokes to calls (after manifest)Johannes Doerfert2020-01-081-2/+0
| | | | | | Before we manually inserted unreachable early but that could lead to broken PHI nodes. Now we use the existing late modification functionality.
* [Attributor] Reuse the IPConstantProp tests for the AttributorJohannes Doerfert2019-12-131-0/+21
The Attributor can, to some degree, do what IPConstantProp does. We can consequently use the corner cases already collected and tested for in the IPConstantProp tests to improve Attributor test coverage. This exposed various bugs fixed in previous Attributor patches. Not all functionality of IPConstantProp is available in AAValueSimplify and AAIsDead so some tests show that we cannot perform the expected constant propagation. Reviewers: fhahn, efriedma, mssimpso, davide Subscribers: bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69748
OpenPOWER on IntegriCloud