[PowerPC] Make use of the TargetRecip system
authorHal Finkel <hfinkel@anl.gov>
Sun, 12 Jul 2015 02:33:57 +0000 (02:33 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 12 Jul 2015 02:33:57 +0000 (02:33 +0000)
commit866cf31c07b469f8fa60ce02244e71188d569a01
tree39d5ee6cd0c96d309d5d68fa49456dbffe848a59
parentd14325bee9702b309bef4109d454e9437488388d
[PowerPC] Make use of the TargetRecip system

r238842 added the TargetRecip system for controlling use of reciprocal
estimates for sqrt and division using a set of parameters that can be set by
the frontend. Clang now supports a sophisticated -mrecip option, and this will
allow that option to effectively control the relevant code-generation
functionality of the PPC backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241985 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
lib/Target/PowerPC/PPCTargetMachine.h
test/CodeGen/PowerPC/recipest.ll