[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)
commit3b97ea39e76af6edfcf38075c75ff8d87e989d84
treefbe162a023b1d2bee45859678b5479b98c39452c
parentda74ed42dadbbf62644fb8fe0ff1e7885c7b2a04
[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

llvm-svn: 300057
llvm/lib/Target/X86/X86InstructionSelector.cpp
llvm/test/CodeGen/X86/GlobalISel/X86-regbankselect.mir
llvm/test/CodeGen/X86/GlobalISel/constant.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/GlobalISel/select-constant.mir [new file with mode: 0644]