Page MenuHomePhabricator

[MIPS GlobalISel] Select G_FENCE

Authored by Petar.Avramovic on Wed, Sep 4, 8:20 AM.



G_FENCE comes form fence instruction. For MIPS fence is generated in
AtomicExpandPass when atomic instruction gets surrounded with fence
instruction when needed.
G_FENCE arguments don't have LLT, because of that there is no job for
legalizer and regbankselect. Instruction select G_FENCE for MIPS32.

Diff Detail

Event Timeline

Petar.Avramovic created this revision.Wed, Sep 4, 8:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Sep 4, 8:20 AM
This revision is now accepted and ready to land.Wed, Sep 4, 1:16 PM
This revision was automatically updated to reflect the committed changes.