Add commutable attribute to opcodes for ARC
authorMark Schimmel <marksl@synopsys.com>
Fri, 4 Jun 2021 16:47:50 +0000 (19:47 +0300)
committerDanila Malyutin <danila@synopsys.com>
Fri, 4 Jun 2021 16:49:19 +0000 (19:49 +0300)
commit12592a439ae53fe35f6b70ee7e2eea60000d3063
treef981075cd3909916753e6884c1df5166f624be3e
parenta1cdd4efad41d5ba64c14da33d4617be3aa23716
Add commutable attribute to opcodes for ARC

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

Differential Revision: https://reviews.llvm.org/D103653
llvm/lib/Target/ARC/ARCInstrInfo.td