OSDN Git Service

[X86][GlobalISel] Initial implementation , select G_ADD gpr, gpr
authorIgor Breger <igor.breger@intel.com>
Wed, 22 Feb 2017 12:25:09 +0000 (12:25 +0000)
committerIgor Breger <igor.breger@intel.com>
Wed, 22 Feb 2017 12:25:09 +0000 (12:25 +0000)
commit8ae3570fa8049dde3ccb0f10f974023a06159e7a
treebc5cd905cc1d4907fa222203e66f3512c1df272a
parent0766c65e732d429ed7cbc8288cd79f09065bdc53
[X86][GlobalISel] Initial implementation , select G_ADD gpr, gpr

Summary: Initial implementation for X86InstructionSelector. Handle selection COPY and G_ADD/G_SUB gpr, gpr .

Reviewers: qcolombet, rovka, zvi, ab

Reviewed By: rovka

Subscribers: mgorny, dberris, kristof.beyls, llvm-commits

Differential Revision: https://reviews.llvm.org/D29816

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295824 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/InstructionSelector.cpp
lib/Target/X86/CMakeLists.txt
lib/Target/X86/X86InstructionSelector.cpp [new file with mode: 0644]
lib/Target/X86/X86InstructionSelector.h [new file with mode: 0644]
lib/Target/X86/X86LegalizerInfo.cpp
lib/Target/X86/X86RegisterBankInfo.cpp
lib/Target/X86/X86TargetMachine.cpp
test/CodeGen/X86/GlobalISel/binop-isel.ll [new file with mode: 0755]
test/CodeGen/X86/GlobalISel/legalize-sub.mir [new file with mode: 0644]
test/CodeGen/X86/GlobalISel/x86_64-instructionselect.mir [new file with mode: 0644]