Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D122644  
[RISCV] Add CMOV isel pattern for (select (setgt X,  Imm), Y, Z) ClosedPublic Authored by Miss_Grape on Mar 29 2022, 4:03 AM. 
Details 
Diff Detail 
 Event TimelineHerald added subscribers: llvm-commits, • pcwang-thead, eopXD and 2 others.  ·  View Herald Transcript Miss_Grape added a parent revision: D122723: [RISCV] [NFC] Add Immediate tests for the cmov  instruction.Mar 30 2022, 7:12 PM Miss_Grape removed a parent revision: D122723: [RISCV] [NFC] Add Immediate tests for the cmov  instruction. Comment Actions 
 Done 
 
 This revision is now accepted and ready to land.Apr 6 2022, 8:55 PM This revision was landed with ongoing or failed builds.Apr 6 2022, 10:56 PM Closed by commit rGf89112355668: [RISCV] Add CMOV isel pattern for (select (setgt X, Imm), Y, Z) (authored by Miss_Grape, committed by benshi001).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 421094 llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
 llvm/test/CodeGen/RISCV/rv32zbt.ll
 llvm/test/CodeGen/RISCV/rv64zbt.ll
 llvm/test/CodeGen/RISCV/select-cc.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This doesn't look like it's doing what it was supposed to do. The immediate is in a register.