[PATCH] D87200: [SelectionDAGBuilder] Pass fast math flags to getNode calls rather than trying to set them after the fact.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 5 20:06:27 PDT 2020


craig.topper created this revision.
craig.topper added reviewers: spatel, jonpa, uweigand.
Herald added subscribers: ecnelises, dmgreen, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
craig.topper requested review of this revision.

This removes the after the fact FMF handling from D46854 <https://reviews.llvm.org/D46854> in favor of passing fast math flags to getNode. This should be a superset of D87130 <https://reviews.llvm.org/D87130>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87200

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/include/llvm/CodeGen/SelectionDAGNodes.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/AArch64/fp-const-fold.ll
  llvm/test/CodeGen/PowerPC/fmf-propagation.ll
  llvm/test/CodeGen/SystemZ/fp-mul-14.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-fadd.ll
  llvm/test/CodeGen/X86/fp-undef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87200.290120.patch
Type: text/x-patch
Size: 40872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200906/8850e061/attachment.bin>


More information about the llvm-commits mailing list