OSDN Git Service

[ARM] GlobalISel: Support G_OR
authorDiana Picus <diana.picus@linaro.org>
Wed, 7 Jun 2017 10:14:23 +0000 (10:14 +0000)
committerDiana Picus <diana.picus@linaro.org>
Wed, 7 Jun 2017 10:14:23 +0000 (10:14 +0000)
commitacf87402fabd5e9c8201f50b4eb97a836d88a0c8
tree4f00397dc2a43798b6d14eecec873e1f1824dedb
parenta7783d770860deb3181e68b70b1ad373c6988b97
[ARM] GlobalISel: Support G_OR

Same as the other binary operators:
- legalize to 32 bits
- map to GPRs
- select ORRrr thanks to TableGen'erated code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304890 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLegalizerInfo.cpp
lib/Target/ARM/ARMRegisterBankInfo.cpp
test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
test/CodeGen/ARM/GlobalISel/arm-isel.ll
test/CodeGen/ARM/GlobalISel/arm-legalizer.mir
test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir