OSDN Git Service

[GlobalISel][X86] G_FCONSTANT support.
authorIgor Breger <igor.breger@intel.com>
Sun, 17 Sep 2017 08:08:13 +0000 (08:08 +0000)
committerIgor Breger <igor.breger@intel.com>
Sun, 17 Sep 2017 08:08:13 +0000 (08:08 +0000)
commit9e0b9aa749743a124bd89c5aa3f4cf166bca29fe
tree9e6e9c7dded4b4ca77cfd579918f64e0e0083012
parentdd58287024c5872fd4d717499c8a755005a6f65f
[GlobalISel][X86] G_FCONSTANT support.

Summary: G_FCONSTANT support, port the implementation from X86FastIsel.

Reviewers: zvi, delena, guyblank

Reviewed By: delena

Subscribers: rovka, llvm-commits, kristof.beyls

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

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