[all-commits] [llvm/llvm-project] 0cc12b: [X86] Remove regcall calling convention from fp-st...

topperc via All-commits all-commits at lists.llvm.org
Thu Nov 21 16:33:57 PST 2019


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

  Changed paths:
    M llvm/test/CodeGen/X86/fp-strict-scalar.ll

  Log Message:
  -----------
  [X86] Remove regcall calling convention from fp-strict-scalar.ll. Add 32-bit and 64-bit check prefixes.

The regcall was making 32-bit mode pass things in xmm registers
which made 32-bit and 64-bit more similar. But I have upcoming
patches that require them to be separated anyway.


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vec-strict-128.ll
    M llvm/test/CodeGen/X86/vec-strict-256.ll
    M llvm/test/CodeGen/X86/vec-strict-512.ll
    M llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [X86] Mark vector STRICT_FADD/STRICT_FSUB as Legal and add mutation to X86ISelDAGToDAG

The prevents LegalizeVectorOps from scalarizing them. We'll need
to remove the X86 mutation code when we add isel patterns.


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

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

  Log Message:
  -----------
  [LegalizeDAG][X86] Add support for turning STRICT_FADD/SUB/MUL/DIV into libcalls. Use it for fp128 on x86-64.

This requires a minor hack for f32/f64 strict fadd/fsub to avoid
turning those into libcalls.


Compare: https://github.com/llvm/llvm-project/compare/b6d3774a2721...7696b99258d1


More information about the All-commits mailing list