These tests will be optimized with INCT32/INCF32/DECT32/DECF32
in the future.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hope all Pats added are all covered by test.
llvm/test/CodeGen/CSKY/dect-decf.ll | ||
---|---|---|
366 | Any need to construct such pattern with call? Although, no harm of more test. |
llvm/test/CodeGen/CSKY/dect-decf.ll | ||
---|---|---|
366 | This call test is for the Pat def : Pat<(select CARRY:$ca, (add GPR:$rx, uimm5:$imm), GPR:$false), (INCT32 CARRY:$ca, GPR:$false, GPR:$rx, uimm5:$imm)>; def : Pat<(select CARRY:$ca, GPR:$true, (add GPR:$rx, uimm5:$imm)), (INCF32 CARRY:$ca, GPR:$true, GPR:$rx, uimm5:$imm)>; in https://reviews.llvm.org/D153436, you can see the improvement in this call test at there. |
Any need to construct such pattern with call? Although, no harm of more test.