getNegatedExpression should handle FP16_TO_FP and FP_TO_FP16
getNegatedExpression does not handle the opcodes FP16_TO_FP and FP_TO_FP16, but it could. This could improve use of source modifiers on AMDGPU with illegal f16.
I started implementing it in this patch, but it requires additional work to avoid regressions.
0001-DAG-Implement-getNegatedExpression-for-FP16_TO_FP.patch
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: Matt Arsenault (arsenm)
I started implementing it in this patch, but it requires additional work to avoid regressions.
0001-DAG-Implement-getNegatedExpression-for-FP16_TO_FP.patch
@arsenm can i work on this?
Sure, go ahead
Hi @arsenm quick clarification, is implementing FP_TO_FP16 part of this issue, or should the initial fix focus only on FP16_TO_FP?
Can do in either order. I suspect to avoid all regressions this will need both to be handled
Hi @Xylecrack , are you still actively working on this? If not, I’d be happy to take it over
Hi @Aditya26189 I’m still working on this. I will open a draft PR soon.
I can’t make further progress on this. Feel free to take it up.
Hi, I’d like to work on this issue.
Hi, Is this issue still open? I would like to work on it.
Hi, I'd like to pick this up, I have the changes, I'll raise the PR.
Hi, is this issue open? I'd like to work on it.
Hi @Dash198 Good day! I already have a PR out for this: https://github.com/llvm/llvm-project/pull/213202.
Hi, no issues and thanks for the heads-up!