summaryrefslogtreecommitdiffstats
path: root/polly/test/ForwardOpTree/forward_load.ll
Commit message (Collapse)AuthorAgeFilesLines
* Port ScopInfo to the isl cpp bindingsPhilip Pfaffe2017-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Summary: Most changes are mechanical, but in one place I changed the program semantics by fixing a likely bug: In `Scop::hasFeasibleRuntimeContext()`, I'm now explicitely handling the error-case. Before, when the call to `addNonEmptyDomainConstraints()` returned a null set, this (probably) accidentally worked because isl_bool_error converts to true. I'm checking for nullptr now. Reviewers: grosser, Meinersbur, bollu Reviewed By: Meinersbur Subscribers: nemanjai, kbarton, pollydev, llvm-commits Differential Revision: https://reviews.llvm.org/D39971 llvm-svn: 318632
* [test] Add descriptions and pseudocode to tests. NFC.Michael Kruse2017-08-081-0/+8
| | | | llvm-svn: 310385
* [ForwardOpTree] Use known array content analysis to forward load instructions.Michael Kruse2017-08-071-0/+51
This is an addition to the -polly-optree pass that reuses the array content analysis from DeLICM to find array elements that contain the same value as the value loaded when the target statement instance is executed. The analysis is now enabled by default. The known content analysis could also be used to rematerialize any llvm::Value that was written to some array element, but currently only loads are forwarded. Differential Revision: https://reviews.llvm.org/D36380 llvm-svn: 310279
OpenPOWER on IntegriCloud