This is an archive of the discontinued LLVM Phabricator instance.

Add commutable attribute to opcodes for ARC

Authored by marksl on Jun 3 2021, 3:32 PM.



This is a very trivial change I'd like to use to go through the process of creating a patch for the ARC code generator.

This patch sets the isCommutable attribute for several opcodes that have the "reg = OPCODE reg, reg" format.

Diff Detail

Event Timeline

marksl created this revision.Jun 3 2021, 3:32 PM
marksl requested review of this revision.Jun 3 2021, 3:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2021, 3:32 PM
danilaml accepted this revision.Jun 4 2021, 5:37 AM


This revision is now accepted and ready to land.Jun 4 2021, 5:37 AM
This revision was automatically updated to reflect the committed changes.