-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
[llvm-exegesis][RISCV] computeAliasingInstructions in SerialSnipperGenerate generates instructions that can't be assembled #122974
Comments
@llvm/issue-subscribers-backend-risc-v Author: Craig Topper (topperc)
I tried to run through all RISC-V opcodes available on my SiFive P550 system using -opcode-index=-1. I got some crashes trying to assemble pseudo instructions.
Should llvm-exegesis be filtering pseudos and custom insertion instructions in this function? CC: @boomanaiden154 @mshockwave |
@llvm/issue-subscribers-tools-llvm-exegesis Author: Craig Topper (topperc)
I tried to run through all RISC-V opcodes available on my SiFive P550 system using -opcode-index=-1. I got some crashes trying to assemble pseudo instructions.
Should llvm-exegesis be filtering pseudos and custom insertion instructions in this function? CC: @boomanaiden154 @mshockwave |
Probably. |
Is that this code and the isInvalidOpcode function?
|
…ck. (llvm#122986) Prevents crashes trying to encode pseudo instuctions. Tested on HiFive Premier P550. Fixes llvm#122974
…ck. (llvm#122986) Prevents crashes trying to encode pseudo instuctions. Tested on HiFive Premier P550. Fixes llvm#122974
I tried to run through all RISC-V opcodes available on my SiFive P550 system using -opcode-index=-1. I got some crashes trying to assemble pseudo instructions.
Should llvm-exegesis be filtering pseudos and custom insertion instructions in this function?
CC: @boomanaiden154 @mshockwave
The text was updated successfully, but these errors were encountered: