[DAG] computeKnownFPClass - add ISD::SQRT handling + test coverage
This will need to be based off the implementation in computeKnownFPClass in ValueTracking.cpp.
This should be tested with IR tests and not unit tests
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)
This should be tested with IR tests and not unit tests
@RKSimon can you assign me
Sorry was distracted b/c work. I can see tharunvk is working on https://github.com/llvm/llvm-project/pull/195405
Hi @tharunvk are you still working on this? I'd like to take it up.
Hi @def3r. I'll push a final revision addressing the comments today. It's a minimal change so shouldn't take much time to merge. Sorry for the delay.
Hi @RKSimon , I'd like to work on this issue; could you assign it to me?