summaryrefslogtreecommitdiff
path: root/llvm/test/Analysis/BasicAA/phi-loop.ll
AgeCommit message (Collapse)Author
2022-12-09[BasicAA] Convert some tests to opaque pointers (NFC)Nikita Popov
2022-10-21[test] Use -passes syntax in Analysis testsBjorn Pettersson
Another step towards getting rid of dependencies to the legacy pass manager. Primary change here is to just do -passes=foo instead of -foo in simple situations (when running a single pass). But also updated a few test running multiple passes.
2022-10-07[opt] Stop treating alias analysis specially when translating legacy opt syntaxArthur Eubanks
I've attempted to keep AA tests as close to their original intent as possible.
2020-08-04[BasicAA] Enable -basic-aa-recphi by defaultDavid Green
This option was added a while back, to help improve AA around pointer phi loops. It looks for phi(gep(phi, const), x) loops, checking if x can then prove more precise aliasing info. Differential Revision: https://reviews.llvm.org/D82998
2020-07-10Revert "[BasicAA] Enable -basic-aa-recphi by default"David Green
This reverts commit af839a96187e3538d63ad57571e4bdf01e2b15c5. Some issues appear to be being caused by this. Reverting whilst we investigate.
2020-07-09[BasicAA] Enable -basic-aa-recphi by defaultDavid Green
This option was added a while back, to help improve AA around pointer phi loops. It looks for phi(gep(phi, const), x) loops, checking if x can then prove more precise aliasing info. Differential Revision: https://reviews.llvm.org/D82998
2020-06-26[BasicAA] Rename deprecated -basicaa to -basic-aaFangrui Song
Follow-up to D82607 Revert an accidental change (empty.ll) of D82683
2020-06-26[NewPM][BasicAA] basicaa -> basic-aa in Analysis/BasicAAArthur Eubanks
Following https://reviews.llvm.org/D82607. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D82683
2015-07-15Analyze recursive PHI nodes in BasicAATobias Edler von Koch
Summary: This patch allows phi nodes like %x = phi [ %incptr, ... ] [ %var, ... ] %incptr = getelementptr %x, 1 to be analyzed by BasicAliasAnalysis. In aliasPHI, we can detect incoming values that are recursive GEPs with a constant offset. Instead of trying to analyze a recursive GEP (and failing), we now ignore it and instead set the size of the memory referenced by the PHINode to UnknownSize. This represents all the possible memory locations the pointer represented by the PHINode could be advanced to by the GEP. For now, this new behavior is turned off by default to allow debugging of performance degradations seen with SPEC/x86 and Hexagon benchmarks. The flag -basicaa-recphi turns it on. Reviewers: hfinkel, sanjoy Subscribers: tobiasvk_caf, sanjoy, llvm-commits Differential Revision: http://reviews.llvm.org/D10368 llvm-svn: 242320