[DAG] isKnownNeverZero - add computeKnownBits fallback DemandedElts handling and tests
Needs to be updated now that #182679 has landed
Hi!
This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
- Check that no other contributor is working on this issue. If someone is assigned to the issue or claimed to be working on it, ping the person. After one week without a response, the assignee may be changed.
- Leave a comment indicating that you are working on the issue, or just create a pull request after following the steps below. Mention this issue in the description of the pull request.
- Fix the issue locally.
- Run the test suite locally. Remember that the subdirectories under
test/create fine-grained testing targets, so you can e.g. usemake check-clang-astto only run Clang's AST tests. - Create a Git commit.
- Run
git clang-format HEAD~1to format your changes. - Open a pull request to the upstream repository on GitHub. Detailed instructions can be found in GitHub's documentation. Mention this issue in the description of the pull request.
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below.
@llvm/issue-subscribers-good-first-issue
Author: Simon Pilgrim (RKSimon)
I would like to work on this issue! @RKSimon
Hey @youngsun4786 , are you still actively working on this? If not, I’d be happy to take it over.
@VatsalKhosla I am still working on it!
@RKSimon Hi I finished working on it, and I am trying to run the test. I am following the Test Guide and ran make-check-llvm-unit in llvm subdirectory, but for some reason my machine is having issues finding the target.
We're trying to avoid creating unit tests and use general lit tests. Does anything show a difference in check-llvm-codegen ?
@RKSimon , I reviewed the PR, seems that @youngsun4786 not working on it any more, can I have a try? New to the community, not sure if it is apropriate to take this kind of problem.
The implementation is trivial, its adding suitable test coverage that will take time.
@youngsun4786 are you still working on this? I've added @ShaofengWu as an assignee but you still have priority if you can get this done soon.
OK, working on it, thank you