[PATCH] D35831: Don't use std::numeric_limits<double>::infinity() as result of function

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 07:08:10 PDT 2017


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

I got rid of "double Unknown = std::numeric_limits<double>::infinity();" - many tnx to Simon for this idea.


https://reviews.llvm.org/D35831

Files:
  lib/CodeGen/TargetSchedule.cpp
  test/CodeGen/X86/avx-schedule.ll
  test/CodeGen/X86/bmi-schedule.ll
  test/CodeGen/X86/bmi2-schedule.ll
  test/CodeGen/X86/f16c-schedule.ll
  test/CodeGen/X86/sse41-schedule.ll
  test/CodeGen/X86/sse42-schedule.ll
  test/CodeGen/X86/sse4a-schedule.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35831.108272.patch
Type: text/x-patch
Size: 32106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170726/435cf46d/attachment.bin>


More information about the llvm-commits mailing list