[PATCH] D25440: [Target] remove TargetRecip class; move reciprocal estimate isel functionality to TargetLowering
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 18 08:48:59 PDT 2016
spatel updated this revision to Diff 75014.
spatel added a comment.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: nhaehnle, arsenm.
Implement Hal's suggestion to reduce the repeated code by pulling getRsqrtEstimate/getSqrtRefinementSteps and the Div siblings into DAGCombiner. This changes the hook interface, so the patch grows a bit, but this is less ugly overall. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 43227 bytes
Desc: not available
More information about the llvm-commits