[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)
commite393bc72eeaf57e608f52fb160df92c046b7b376
tree44614b82b41b22c5cad4c110105e7ab77e3aed71
parentd0faf16d048df958c34fd33523eea13d94f1e2b2
[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.

llvm-svn: 315071
llvm/lib/Target/ARM/ARMInstructionSelector.cpp
llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir