OSDN Git Service

GlobalISel: translate @llvm.pow intrinsic to G_FPOW.
authorTim Northover <tnorthover@apple.com>
Wed, 8 Feb 2017 23:23:32 +0000 (23:23 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 8 Feb 2017 23:23:32 +0000 (23:23 +0000)
commitd8f030286c2549fb3fdc87de13b54513b1cfb835
tree199d84c5e13500afbe0b707b5a596c2f0a4d33f7
parent9cf01663e315acbecafa6e4d2ebc0e6dee7c9593
GlobalISel: translate @llvm.pow intrinsic to G_FPOW.

It'll usually be immediately legalized back to a libcall, but occasionally
something can be done with it so we'd just as well enable that flexibility from
the start.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294530 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/GenericOpcodes.td
include/llvm/Target/TargetOpcodes.def
lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll