OSDN Git Service

[ARM GlobalISel] Select G_PHI
authorDiana Picus <diana.picus@linaro.org>
Thu, 4 Jan 2018 13:09:25 +0000 (13:09 +0000)
committerDiana Picus <diana.picus@linaro.org>
Thu, 4 Jan 2018 13:09:25 +0000 (13:09 +0000)
commitece975ca81166bb4316cc5c83b7e58ee7ba958c6
treefbdd3079f9eb1acbb9083af4e77e6568a322e3ff
parent07bd08dd759839c4d3ba2f0509200dada722bf4f
[ARM GlobalISel] Select G_PHI

Select G_PHI to PHI and manually constrain the result register. This is
very similar to how COPY is handled, so extract and reuse some of that
code.

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