diff options
author | Craig Topper <craig.topper@intel.com> | 2017-12-10 19:47:56 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-12-10 19:47:56 +0000 |
commit | a0be5a06c1d06df8bc0e4871eed7d31cf4e6869a (patch) | |
tree | e3aecd340f78fa866c2d31c3ff1a8c8695258054 /llvm/lib/Target/X86/X86FastISel.cpp | |
parent | 58946cdb087561fa75065f3557b00919bc891ac4 (diff) | |
download | bcm5719-llvm-a0be5a06c1d06df8bc0e4871eed7d31cf4e6869a.tar.gz bcm5719-llvm-a0be5a06c1d06df8bc0e4871eed7d31cf4e6869a.zip |
[X86] Rename some instructions that start with Int_ to have the _Int at the end.
This matches AVX512 version and is more consistent overall. And improves our scheduler models.
In some cases this adds _Int to instructions that didn't have any Int_ before. It's a side effect of the adjustments made to some of the multiclasses.
llvm-svn: 320325
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86FastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 03be87e467a..cea4dec503d 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -2424,11 +2424,11 @@ bool X86FastISel::X86SelectSIToFP(const Instruction *I) { if (I->getType()->isDoubleTy()) { // sitofp int -> double - Opcode = InTy->isIntegerTy(64) ? X86::VCVTSI2SD64rr : X86::VCVTSI2SDrr; + Opcode = InTy->isIntegerTy(64) ? X86::VCVTSI642SDrr : X86::VCVTSI2SDrr; RC = &X86::FR64RegClass; } else if (I->getType()->isFloatTy()) { // sitofp int -> float - Opcode = InTy->isIntegerTy(64) ? X86::VCVTSI2SS64rr : X86::VCVTSI2SSrr; + Opcode = InTy->isIntegerTy(64) ? X86::VCVTSI642SSrr : X86::VCVTSI2SSrr; RC = &X86::FR32RegClass; } else return false; |