OSDN Git Service

[ARM GlobalISel] Support shifts for Thumb2
authorDiana Picus <diana.picus@linaro.org>
Fri, 25 Jan 2019 10:48:42 +0000 (10:48 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 25 Jan 2019 10:48:42 +0000 (10:48 +0000)
commit3db7baf629b0df4233b62bbdabf954f0bf55ac23
tree6c7df8c03112af37a1a9ade7ad92114833281845
parentf474d69280aedc79c792b63501f66280f04a3bcb
[ARM GlobalISel] Support shifts for Thumb2

Same as ARM.

On this occasion we split some of the instruction select tests for more
complicated instructions into their own files, so we can reuse them for
ARM and Thumb mode. Likewise for the legalizer tests.

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