This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Select G_FENCE
ClosedPublic

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

Details

Summary

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.Sep 4 2019, 8:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 4 2019, 8:20 AM
This revision is now accepted and ready to land.Sep 4 2019, 1:16 PM
This revision was automatically updated to reflect the committed changes.