OSDN Git Service

[SimplifyLibCalls] Restore the old behaviour, emit a libcall.
authorDavide Italiano <davide@freebsd.org>
Wed, 10 Aug 2016 06:33:32 +0000 (06:33 +0000)
committerDavide Italiano <davide@freebsd.org>
Wed, 10 Aug 2016 06:33:32 +0000 (06:33 +0000)
commit1ea5b393e53e43b698331747cf4657808db1461a
treeba5478b7d3da424c8675cf82885e998d5e6ee7ae
parent74dacfe33ee75c89dbe0127af6d0ef1f6bc6d224
[SimplifyLibCalls] Restore the old behaviour, emit a libcall.

Hal pointed out that the semantic of our intrinsic and the libc
call are slightly different. Add a comment while I'm here to
explain why we can't emit an intrinsic. Thanks Hal!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278200 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/pow-sqrt.ll