diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-07-27 14:31:55 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-07-27 14:31:55 +0000 |
commit | 6756a2c95335fba8bece4402e62f5057a20f3b4c (patch) | |
tree | 709ff96a5dff1a43cd8648f7001709782eb47020 /llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp | |
parent | 5e402eec7bc306343cfba703fd4d4acc981b4ead (diff) | |
download | bcm5719-llvm-6756a2c95335fba8bece4402e62f5057a20f3b4c.tar.gz bcm5719-llvm-6756a2c95335fba8bece4402e62f5057a20f3b4c.zip |
[GlobalISel] Introduce an instruction selector.
And implement it for AArch64, supporting x/w ADD/OR.
Differential Revision: https://reviews.llvm.org/D22373
llvm-svn: 276875
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp b/llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp index c0ea873bcfe..aac29f595e2 100644 --- a/llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp +++ b/llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp @@ -27,5 +27,6 @@ void llvm::initializeGlobalISel(PassRegistry &Registry) { initializeIRTranslatorPass(Registry); initializeMachineLegalizePassPass(Registry); initializeRegBankSelectPass(Registry); + initializeInstructionSelectPass(Registry); } #endif // LLVM_BUILD_GLOBAL_ISEL |