[PATCH] D69547: DAG: Add function context to isFMAFasterThanFMulAndFAdd

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 19:59:32 PDT 2019


arsenm created this revision.
arsenm added reviewers: bogner, cameron.mcinally.
Herald added subscribers: jsji, kbarton, hiraditya, kristof.beyls, tpr, nhaehnle, wdng, jvesely, nemanjai, jholewinski.
Herald added a project: LLVM.

AMDGPU needs to know the FP mode for the function to answer this
correctly when this is removed from the subtarget

      

AArch64 had to make this more complicated by using this from an IR
hook, so add an IR typed overload.


https://reviews.llvm.org/D69547

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
  llvm/lib/Target/Hexagon/HexagonISelLowering.h
  llvm/lib/Target/NVPTX/NVPTXISelLowering.h
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
  llvm/lib/Target/SystemZ/SystemZISelLowering.h
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69547.226833.patch
Type: text/x-patch
Size: 14797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191029/b32e53bc/attachment.bin>


More information about the llvm-commits mailing list