]> granicus.if.org Git - llvm/commit
[GlobalIsel][X86] support G_CONSTANT selection.
authorIgor Breger <igor.breger@intel.com>
Wed, 12 Apr 2017 12:54:54 +0000 (12:54 +0000)
committerIgor Breger <igor.breger@intel.com>
Wed, 12 Apr 2017 12:54:54 +0000 (12:54 +0000)
commite353fb8d83b1608e9ea428d09c5e497b2b8b233e
tree6cd227a1753513c49f9246ec700ee75935dbd4dc
parent43d439da886fb7df1b90c1d8136c58de47e24b92
[GlobalIsel][X86] support G_CONSTANT selection.

Summary: [GlobalISel][X86] support G_CONSTANT selection. Add regbank select tests.

Reviewers: zvi, guyblank

Reviewed By: guyblank

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

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300057 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstructionSelector.cpp
test/CodeGen/X86/GlobalISel/X86-regbankselect.mir
test/CodeGen/X86/GlobalISel/constant.ll [new file with mode: 0644]
test/CodeGen/X86/GlobalISel/select-constant.mir [new file with mode: 0644]