This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Refactor immediate details out of add/sub tblgen class (NFCI)
ClosedPublic

Authored by olista01 on Sep 25 2018, 7:18 AM.

Details

Summary

Bits [23-22] are used in Add and Sub to specify the shift. The value of the
shift field must be 0x; values of 1x are unallocated. MTE adds some instructions
that use such encodings, and this patch refactors the Add/Sub class so that
another class could derive from this one to implement other encodings and other
formats of bitfields.

Patch by Pablo Barrio!

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 created this revision.Sep 25 2018, 7:18 AM
t.p.northover accepted this revision.Sep 27 2018, 6:22 AM

This is fine.

This revision is now accepted and ready to land.Sep 27 2018, 6:22 AM
This revision was automatically updated to reflect the committed changes.