[PATCH] D35831: Don't use std::numeric_limits<double>::infinity() as result of function
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 05:48:44 PDT 2017
RKSimon added inline comments.
================
Comment at: lib/CodeGen/TargetSchedule.cpp:365
double Unknown = std::numeric_limits<double>::infinity();
double Throughput = Unknown;
----------------
Can Throughput be converted to a Optional<double> and let us get rid of Unknown completely?
https://reviews.llvm.org/D35831
More information about the llvm-commits
mailing list