]> granicus.if.org Git - llvm/commit
[ARM GlobalISel] Support G_ICMP for Thumb2
authorDiana Picus <diana.picus@linaro.org>
Thu, 7 Feb 2019 11:05:33 +0000 (11:05 +0000)
committerDiana Picus <diana.picus@linaro.org>
Thu, 7 Feb 2019 11:05:33 +0000 (11:05 +0000)
commitf118c99457ae1bf45b4b109f9e6e9ba06dfef1aa
tree8c450ce4700a95dcbf54bee61cde8f12c420562b
parentce31a9487575ed16bcc1f3f54083f0c03d35265d
[ARM GlobalISel] Support G_ICMP for Thumb2

Mark as legal and use the t2* equivalents of the arm mode instructions,
e.g. t2CMPrr instead of plain CMPrr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353392 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstructionSelector.cpp
lib/Target/ARM/ARMLegalizerInfo.cpp
test/CodeGen/ARM/GlobalISel/arm-legalize-cmp.mir [new file with mode: 0644]
test/CodeGen/ARM/GlobalISel/arm-legalizer.mir
test/CodeGen/ARM/GlobalISel/thumb-instruction-select-cmp.mir [new file with mode: 0644]