[PATCH] D26855: New unsafe-fp-math implementation for X86 target

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 03:02:38 PST 2017


avt77 updated this revision to Diff 86947.
avt77 added a comment.

I fixed the issue with compile time increasing - see usage of MinInstr->getTrace(MBB). Now we're getting the trace when we really need it only. As result the executing profile was totally changed and the compiling time is now even less than it was in DAG Combiner  - about 1.5 s on my laptop (I'm speaking about our worst case test only).


https://reviews.llvm.org/D26855

Files:
  include/llvm/CodeGen/MachineCombinerPattern.h
  lib/CodeGen/MachineCombiner.cpp
  lib/CodeGen/MachineTraceMetrics.cpp
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/recip-fastmath.ll
  test/CodeGen/X86/recip-fastmath2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26855.86947.patch
Type: text/x-patch
Size: 53256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170203/72a40d3e/attachment-0001.bin>


More information about the llvm-commits mailing list