[PATCH] D24816: [Target] move reciprocal estimate settings from TargetOptions to TargetLowering

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 08:54:42 PDT 2016


spatel updated this revision to Diff 72291.
spatel added a comment.

Patch updated:
Add getTargetRecipForFunc() to TargetLoweringBase to eliminate the repeated code in the callers. Now the lowering diffs for PPC and x86 are one-line changes.


https://reviews.llvm.org/D24816

Files:
  include/llvm/CodeGen/CommandFlags.h
  include/llvm/Target/TargetLowering.h
  include/llvm/Target/TargetOptions.h
  include/llvm/Target/TargetRecip.h
  lib/CodeGen/TargetLoweringBase.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCTargetMachine.cpp
  lib/Target/TargetRecip.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/PowerPC/recipest.ll
  test/CodeGen/X86/recip-fastmath.ll
  test/CodeGen/X86/sqrt-fastmath-mir.ll
  test/CodeGen/X86/sqrt-fastmath.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24816.72291.patch
Type: text/x-patch
Size: 39190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160923/717f25b2/attachment.bin>


More information about the llvm-commits mailing list