This is an archive of the discontinued LLVM Phabricator instance.

[unittests] add callbr AliasAnalysisTest case
Changes PlannedPublic

Authored by nickdesaulniers on Mar 6 2023, 10:19 AM.

Details

Reviewers
None
Summary

Demonstrate that AA can determine that callbr inputs don't alias with
globals. See also: https://reviews.llvm.org/D144927

To run test:
$ pushd llvm/build; ninja AnalysisTests; popd
$ ./llvm/build/unittests/Analysis/AnalysisTests \

--gtest_filter=AliasAnalysisTest.CallBr

Diff Detail