OSDN Git Service

[GlobalISel] Refactor the logic to constraint registers.
authorQuentin Colombet <qcolombet@apple.com>
Thu, 22 Dec 2016 21:56:19 +0000 (21:56 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 22 Dec 2016 21:56:19 +0000 (21:56 +0000)
commitb993023ac9ebc7225a01f1e2e02a6f9a5fc02b7b
treeac9bcc4802cd755bd4b9c02b213745349c678232
parente2b3286a2645ceb3a660e57348b7e7c808e62280
[GlobalISel] Refactor the logic to constraint registers.

Move the logic to constraint register from InstructionSelector to a
utility function. It will be required by other passes in the GlobalISel
pipeline.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290374 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/Utils.h [new file with mode: 0644]
lib/CodeGen/GlobalISel/CMakeLists.txt
lib/CodeGen/GlobalISel/InstructionSelector.cpp
lib/CodeGen/GlobalISel/Utils.cpp [new file with mode: 0644]