Page MenuHomePhabricator

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

Authored by paquette on Tue, Aug 13, 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

Repository
rL LLVM

Event Timeline

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

LGTM.

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