[X86] Change legalization action for f128 fadd/fsub/fmul/fdiv from Custom to LibCall.
authorCraig Topper <craig.topper@intel.com>
Thu, 21 Nov 2019 19:27:04 +0000 (11:27 -0800)
committerCraig Topper <craig.topper@intel.com>
Thu, 21 Nov 2019 19:44:29 +0000 (11:44 -0800)
commit1439059cc76a51954b6eba9b657a23ff662dfbf8
tree412f1f5fde27600e4ddc157ef82ecf3308be25e8
parentfea8288c174c63cd174e841a9c1cbd9e9bc74427
[X86] Change legalization action for f128 fadd/fsub/fmul/fdiv from Custom to LibCall.

The custom code just emits a libcall, but we can do the same
with generic code. The only difference is that the generic code
can form tail calls where the custom code couldn't. This is
responsible for the test changes.

This avoids needing to modify the Custom handling for strict fp.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/fp128-extract.ll
llvm/test/CodeGen/X86/fp128-g.ll
llvm/test/CodeGen/X86/fp128-i128.ll
llvm/test/CodeGen/X86/soft-fp.ll