Page MenuHomePhabricator

[MIPS GlobalISel] Select branch instructions
ClosedPublic

Authored by Petar.Avramovic on Feb 13 2019, 7:30 AM.

Details

Summary

Select G_BR and G_BRCOND for MIPS32.
Unconditional branch G_BR does not have register operand,
for that reason we only add tests.
Since conditional branch G_BRCOND compares register to zero on MIPS32,
explicit extension must be performed on i1 condition in order to set
high bits to appropriate value.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Feb 14 2019, 2:33 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2019, 3:39 AM