For constant like 0b1, 0b11, 0b111, 0b1111, ..., they can be
materialized with BMASKI32 other than a MOVIH32/ORI32 pair.
Details
Details
- Reviewers
zixuan-wu
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D154330
[CSKY] Optimize constant materialization with BMASKI32 AbandonedPublic Authored by benshi001 on Jul 3 2023, 2:37 AM.
Details
Summary For constant like 0b1, 0b11, 0b111, 0b1111, ..., they can be
Diff Detail
Revision Contents
Diff 536696 llvm/lib/Target/CSKY/CSKYInstrInfo.td
llvm/test/CodeGen/CSKY/base-i.ll
llvm/test/CodeGen/CSKY/switch.ll
|