HomePhabricator

[AArch64][X86] Don't assume __powidf2 is available on Windows.

Authored by efriedma on Oct 31 2019, 12:06 PM.

Description

[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