Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/CSKY/select.ll | ||
---|---|---|
8328 | This test is not optimized with BTSTI due to the immediate 256 can be directly encoded into ANDI. |
Comment Actions
Not sure why it reports patch application failed, but this patch did pass all tests on my localhost.
llvm/lib/Target/CSKY/CSKYInstrInfo.td | ||
---|---|---|
1251 | can this opt also applied here? |
llvm/lib/Target/CSKY/CSKYInstrInfo.td | ||
---|---|---|
1251 | Thanks. I have added that, and along with a test in llvm/test/CodeGen/CSKY/cmp-i.ll. |
llvm/lib/Target/CSKY/CSKYInstrInfo.td | ||
---|---|---|
170 | This is a typo in my previous commit. The max immediate can be directly encoded into ANDI32 is 0xfff, not 0xffff. This is a typo, need not another patch. |
This is a typo in my previous commit. The max immediate can be directly encoded into ANDI32 is 0xfff, not 0xffff.
This is a typo, need not another patch.