[all-commits] [llvm/llvm-project] b8b054: Reland "Ensure that InstructionCost actually imple...

Christopher Tetreault via All-commits all-commits at lists.llvm.org
Thu Feb 4 10:07:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8b054aa8aacfd01005054f5ec9e2342ed152516
      https://github.com/llvm/llvm-project/commit/b8b054aa8aacfd01005054f5ec9e2342ed152516
  Author: Christopher Tetreault <ctetreau at quicinc.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Support/InstructionCost.h
    M llvm/unittests/Support/InstructionCostTest.cpp

  Log Message:
  -----------
  Reland "Ensure that InstructionCost actually implements a total ordering"

The operator< in the previous attempt was incorrect. It is unfortunate
that this was only caught by the expensive checks.

This reverts commit ff1147c3635685ba6aefbdc9394300adb5404595.




More information about the All-commits mailing list