OSDN Git Service

[X86] Remove an fp->int->fp domain crossing in LowerUINT_TO_FP_i64.
authorCraig Topper <craig.topper@intel.com>
Sat, 15 Sep 2018 16:23:35 +0000 (16:23 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 15 Sep 2018 16:23:35 +0000 (16:23 +0000)
commitaf350d56690b6d230c72eee19dc4723b89fa977f
treee0f1b17508dd5cc656befc085dd321c0be7385dd
parentb7d1fd0cf8204c6d43199038236d04bf850c833f
[X86] Remove an fp->int->fp domain crossing in LowerUINT_TO_FP_i64.

Summary: This unfortunately adds a move, but isn't that better than going to the int domain and back?

Reviewers: RKSimon

Reviewed By: RKSimon

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342327 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/ftrunc.ll
test/CodeGen/X86/scalar-int-to-fp.ll
test/CodeGen/X86/vec_int_to_fp.ll