-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grep FSGNJX #1072
Labels
Comments
|
dtcxzyw
added a commit
to llvm/llvm-project
that referenced
this issue
Jul 27, 2024
This patch folds `fmul X, (fcopysign 1.0, Y)` into `fsgnjx X, Y`. This pattern exists in some graphics applications/math libraries. Alive2: https://alive2.llvm.org/ce/z/epyL33 Since fpimm +1.0 is lowered to a load from constant pool after OpLegalization, I have to introduce a new RISCVISD node FSGNJX and fold this pattern in DAGCombine. Closes dtcxzyw/llvm-opt-benchmark#1072.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://alive2.llvm.org/ce/z/epyL33
The text was updated successfully, but these errors were encountered: