[all-commits] [llvm/llvm-project] b7ccac: [NFC] Remove min/max functions from InstructionCost

david-arm via All-commits all-commits at lists.llvm.org
Mon Jan 11 01:05:31 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b7ccaca53700fce21b0e8e5d7bd2a956bd391fee
      https://github.com/llvm/llvm-project/commit/b7ccaca53700fce21b0e8e5d7bd2a956bd391fee
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M llvm/include/llvm/Support/InstructionCost.h
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/unittests/Support/InstructionCostTest.cpp

  Log Message:
  -----------
  [NFC] Remove min/max functions from InstructionCost

Removed the InstructionCost::min/max functions because it's
fine to use std::min/max instead.

Differential Revision: https://reviews.llvm.org/D94301




More information about the All-commits mailing list