OSDN Git Service

[ARM] GlobalISel: Minor cleanups in inst selector
authorDiana Picus <diana.picus@linaro.org>
Tue, 5 Sep 2017 08:22:47 +0000 (08:22 +0000)
committerDiana Picus <diana.picus@linaro.org>
Tue, 5 Sep 2017 08:22:47 +0000 (08:22 +0000)
commit853df6350533910c4ee19dd7bf673729a1b2408e
treed2fdb9290e1d071c6a947280979c2d5d5ebfb32c
parentcd919a1d282445b10716e13b335ca7bb6ba15afb
[ARM] GlobalISel: Minor cleanups in inst selector

Use the STI member of ARMInstructionSelector instead of
TII.getSubtarget() and also make use of STI's methods instead of
checking the object format manually.

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