This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Select logical_imm32 and logical_imm64 patterns
ClosedPublic

Authored by paquette on Aug 13 2019, 1:42 PM.

Details

Summary

Add a GlobalISel equivalent for the logical_imm32_XFORM and logical_imm64_XFORM SDNodeXForms in AArch64InstrFormats.td.

  • Add select-logical-imm.mir, which contains tests for each imported pattern.
  • Update select-pr32733.mir and select-scalar-shift-imm.mir, since they now

select instructions of this form.

Diff Detail

Event Timeline

paquette created this revision.Aug 13 2019, 1:42 PM
aemerson accepted this revision.Aug 13 2019, 3:04 PM

LGTM.

This revision is now accepted and ready to land.Aug 13 2019, 3:04 PM
This revision was automatically updated to reflect the committed changes.