[all-commits] [llvm/llvm-project] 6c9da9: [ScheduleDAGRRList] Pacify overload mismatch in st...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jul 23 03:57:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c9da995fc44058cfaddae0f578106dcff401a68
      https://github.com/llvm/llvm-project/commit/6c9da995fc44058cfaddae0f578106dcff401a68
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

  Log Message:
  -----------
  [ScheduleDAGRRList] Pacify overload mismatch in std::min.

On systems where size() doesn't return unsigned long, this leads to an
overloading mismatch. Convert the constant to whatever type is used for
Q.size() on the system.




More information about the All-commits mailing list