]> granicus.if.org Git - llvm/commit
[ARM] GlobalISel: Select shifts
authorDiana Picus <diana.picus@linaro.org>
Fri, 6 Oct 2017 15:39:16 +0000 (15:39 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 6 Oct 2017 15:39:16 +0000 (15:39 +0000)
commite4864187fd979946bebd56bdc74d3dda4cbe0699
treec881d2b39971b5bd914de1cc955e86aa4309b73d
parent89f711604f5b504eadccc5527e9428a7a24aaa94
[ARM] GlobalISel: Select shifts

Unfortunately TableGen doesn't handle this yet:
Unable to deduce gMIR opcode to handle Src (which is a leaf).

Just add some temporary hand-written code to generate the proper MOVsr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315071 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstructionSelector.cpp
test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir