This is an archive of the discontinued LLVM Phabricator instance.

[CSKY] Optimize constant materialization with BMASKI32
AbandonedPublic

Authored by benshi001 on Jul 3 2023, 2:37 AM.

Details

Reviewers
zixuan-wu
Summary

For constant like 0b1, 0b11, 0b111, 0b1111, ..., they can be
materialized with BMASKI32 other than a MOVIH32/ORI32 pair.

Diff Detail

Event Timeline

benshi001 created this revision.Jul 3 2023, 2:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 2:37 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
benshi001 requested review of this revision.Jul 3 2023, 2:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 2:37 AM
benshi001 abandoned this revision.Jul 8 2023, 6:21 PM