[PATCH] D69013: [AArch64] Don't assume __powidf2 is available on Windows.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 17:35:49 PDT 2019


efriedma created this revision.
efriedma added reviewers: rnk, compnerd.
Herald added a subscriber: kristof.beyls.
Herald added a project: LLVM.

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

Not sure if we also need this for x86; I would guess we do, but I haven't tried.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D69013

Files:
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/AArch64/powi-windows.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69013.225141.patch
Type: text/x-patch
Size: 8679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191016/6fb7f6a3/attachment.bin>


More information about the llvm-commits mailing list