This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Implement isLegalICmpImmediate
ClosedPublic

Authored by hev on Jul 9 2023, 7:30 PM.

Details

Summary

This brings a trivial improvement in the legalicmpimm.ll test case.

Signed-off-by: WANG Rui <wangrui@loongson.cn>

Diff Detail

Event Timeline

hev created this revision.Jul 9 2023, 7:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2023, 7:30 PM
hev requested review of this revision.Jul 9 2023, 7:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2023, 7:30 PM
hev updated this revision to Diff 538535.Jul 10 2023, 1:04 AM

Rebase.

xen0n accepted this revision.Jul 10 2023, 6:13 AM
This revision is now accepted and ready to land.Jul 10 2023, 6:13 AM
SixWeining accepted this revision.Jul 10 2023, 8:38 AM
SixWeining added inline comments.
llvm/test/CodeGen/LoongArch/legalicmpimm.ll
16

Seems this line is useless to demonstrate the diff?

SixWeining edited the summary of this revision. (Show Details)Jul 24 2023, 2:38 AM
This revision was landed with ongoing or failed builds.Jul 24 2023, 2:43 AM
This revision was automatically updated to reflect the committed changes.