- add sched to brev8, zip and unzip instruction
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | ||
---|---|---|
602 | This change isn't mentioned in the title or the description. |
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | ||
---|---|---|
860 | Is this not a functional change for RV64 because ZIP_RV32 will put 0b01111 in bits 24:20 which matches the 15 that was requested in the pattern? |
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | ||
---|---|---|
860 | This change will not affect RV64. where defined ZIP_RV32 and UNZIP_RV32 also add "IsRV32" constrain. |
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | ||
---|---|---|
860 | Without this patch isel will pick these instructions on rv64. The IsRV32 on the instructions only affects the assembler or disassembler. We need to understand what really happens on RV64 so I know if this needs to be bacported to LLVM 14 |
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | ||
---|---|---|
860 | OK, I will remove this change and keep adding only sched in this patch. |
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | ||
---|---|---|
860 | I investigated this, the use of i32 in the pattern prevents it from matching on RV64. So there was no issue. Still a good idea to use IsRV32. I'll go ahead and commit that. Thanks for spotting it. |
This change isn't mentioned in the title or the description.