[all-commits] [llvm/llvm-project] 5df3a8: [AArch64][X86] Don't assume __powidf2 is available...

Eli Friedman via All-commits all-commits at lists.llvm.org
Fri Nov 8 12:43:41 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5df3a87224ef5843a3374a5b87e57495b3f714c4
      https://github.com/llvm/llvm-project/commit/5df3a87224ef5843a3374a5b87e57495b3f714c4
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/powi-windows.ll
    A llvm/test/CodeGen/X86/powi-windows.ll

  Log Message:
  -----------
  [AArch64][X86] Don't assume __powidf2 is available on Windows.

We had some code for this for 32-bit ARM, but this doesn't really need
to be in target-specific code; generalize it.

(I think this started showing up recently because we added an
optimization that converts pow to powi.)

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




More information about the All-commits mailing list