[all-commits] [llvm/llvm-project] fea828: [X86] Add test case for f128 fma. NFC

topperc via All-commits all-commits at lists.llvm.org
Thu Nov 21 11:59:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fea8288c174c63cd174e841a9c1cbd9e9bc74427
      https://github.com/llvm/llvm-project/commit/fea8288c174c63cd174e841a9c1cbd9e9bc74427
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M llvm/test/CodeGen/X86/fp128-libcalls.ll

  Log Message:
  -----------
  [X86] Add test case for f128 fma. NFC

This should be turned into a libcall to fmal. We already do it
correctly, but we had no test to confirm.


  Commit: 1439059cc76a51954b6eba9b657a23ff662dfbf8
      https://github.com/llvm/llvm-project/commit/1439059cc76a51954b6eba9b657a23ff662dfbf8
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fp128-extract.ll
    M llvm/test/CodeGen/X86/fp128-g.ll
    M llvm/test/CodeGen/X86/fp128-i128.ll
    M llvm/test/CodeGen/X86/soft-fp.ll

  Log Message:
  -----------
  [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.


Compare: https://github.com/llvm/llvm-project/compare/5fcf89f77893...1439059cc76a


More information about the All-commits mailing list