This adds a new field isAdd to MCInstrDesc. The ARM and Hexagon instruction
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Tue, 13 Sep 2016 08:08:06 +0000 (08:08 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Tue, 13 Sep 2016 08:08:06 +0000 (08:08 +0000)
commit05453991fecf42341312212d2c5c3f34f7f3f039
tree9a85783b3b669a1787b5694c698690ef62d217e3
parentb79f4d3970621b16a28202afb7c2e3c50256995d
This adds a new field isAdd to MCInstrDesc. The ARM and Hexagon instruction
descriptions now tag add instructions, and the Hexagon backend is using this to
identify loop induction statements.

Patch by Sam Parker and Sjoerd Meijer.

Differential Revision: https://reviews.llvm.org/D23601

llvm-svn: 281304
llvm/include/llvm/MC/MCInstrDesc.h
llvm/include/llvm/Target/Target.td
llvm/lib/Target/ARM/ARMInstrInfo.td
llvm/lib/Target/ARM/ARMInstrThumb.td
llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
llvm/lib/Target/Hexagon/HexagonInstrInfo.td
llvm/test/CodeGen/Hexagon/addh-sext-trunc.ll
llvm/utils/TableGen/CodeGenInstruction.h
llvm/utils/TableGen/InstrInfoEmitter.cpp