[all-commits] [llvm/llvm-project] e647ff: [X86] Add tests for constrained float intrinsics o...

topperc via All-commits all-commits at lists.llvm.org
Thu Dec 26 20:38:29 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e647ff0d7d734d8e07d39670302b86f3c69bb0d5
      https://github.com/llvm/llvm-project/commit/e647ff0d7d734d8e07d39670302b86f3c69bb0d5
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    A llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll

  Log Message:
  -----------
  [X86] Add tests for constrained float intrinsics on i686-pc-windows-msvc. NFC

We need to promote these to double due to missing libcalls on
Windows.


  Commit: 53ee806d93e8d2371726ec5ce59b0e68b309c258
      https://github.com/llvm/llvm-project/commit/53ee806d93e8d2371726ec5ce59b0e68b309c258
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll

  Log Message:
  -----------
  [X86][FPEnv] Promote some float strictfp operations to double on i686-pc-windows-msvc to match what we do for non-strict.

The float libcalls are inlined in MSVC's math header where they
just cast to double and use the double libcall. Do the same when
we emit libcalls.


Compare: https://github.com/llvm/llvm-project/compare/a5d266b9cfc6...53ee806d93e8


More information about the All-commits mailing list