[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
Tue Jul 25 05:17:15 PDT 2017
avt77 created this revision.
There is special Optional class which should be used to return invalid numeric value.
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.108054.patch
Type: text/x-patch
Size: 30174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170725/b3823077/attachment.bin>
More information about the llvm-commits
mailing list