This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Support ISD::BR_CC and branch according to condition flag register
ClosedPublic

Authored by gonglingqin on Aug 28 2022, 11:37 PM.

Details

Summary

Use bceqz/bcnez instead of movcf2gr + bnez/beqz for branch jumps.

Diff Detail

Event Timeline

gonglingqin created this revision.Aug 28 2022, 11:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2022, 11:37 PM
gonglingqin requested review of this revision.Aug 28 2022, 11:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2022, 11:37 PM
xen0n accepted this revision.Aug 29 2022, 7:25 PM

Thanks!

This revision is now accepted and ready to land.Aug 29 2022, 7:25 PM