OSDN Git Service

[ARM GlobalISel] Minor refactoring. NFCI
authorDiana Picus <diana.picus@linaro.org>
Fri, 14 Dec 2018 12:37:24 +0000 (12:37 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 14 Dec 2018 12:37:24 +0000 (12:37 +0000)
commit53a285d891cd215bad528da2ea6f4cc54f795398
tree846b6674fc67e42450a7deb4afd156271a2c4c5e
parentf4f855ccc75fcb26eb4a64dc1bb52da33a1091dd
[ARM GlobalISel] Minor refactoring. NFCI

Refactor the ARMInstructionSelector to cache some opcodes in the
constructor instead of checking all the time if we're in ARM or Thumb
mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349143 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstructionSelector.cpp