-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
[RISCV][GISel] Lower G_SCMP and G_UCMP. #119112
Conversation
|
@llvm/pr-subscribers-llvm-globalisel Author: Craig Topper (topperc) ChangesCodegen is not optimal for RISC-V yet. We should port the (sub (setgt X, Y), (setlt X, Y)) lowering from SelectionDAG. Full diff: https://github.com/llvm/llvm-project/pull/119112.diff 4 Files Affected:
|
|
@llvm/pr-subscribers-backend-risc-v Author: Craig Topper (topperc) ChangesCodegen is not optimal for RISC-V yet. We should port the (sub (setgt X, Y), (setlt X, Y)) lowering from SelectionDAG. Full diff: https://github.com/llvm/llvm-project/pull/119112.diff 4 Files Affected:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have end to end IR tests
|
We have We can add a variant based on LLT. |
|
SDAG AArch64 is doing both versions based on the type: #108830 |
Codegen is not optimal for RISC-V yet. We should port the (sub (setgt X, Y), (setlt X, Y)) lowering from SelectionDAG.
Codegen is not optimal for RISC-V yet. We should port the (sub (setgt X, Y), (setlt X, Y)) lowering from SelectionDAG.