OSDN Git Service

[X86] Add CMOV_FR32X/CMOV_FR64X pseudo instructions. Use them in fast isel to fix...
authorCraig Topper <craig.topper@intel.com>
Sat, 11 May 2019 16:00:28 +0000 (16:00 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 11 May 2019 16:00:28 +0000 (16:00 +0000)
commit7fc8dfe8f6f98f2308bb5ccf6be10ba9ef72364c
treea9d0cc17a72ad47e9e80937999ffba990a96b9bd
parent5b00225cdb3a85838b91139676165226025ad3ce
[X86] Add CMOV_FR32X/CMOV_FR64X pseudo instructions. Use them in fast isel to fix a machine verifier error after adding test cases.

Fast isel picks the FR32X/FR64X register classes when lowering pseudo select, but it didn't have the right opcode to go with it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrCompiler.td
test/CodeGen/X86/fast-isel-select-pseudo-cmov.ll