[NFC] Remove min/max functions from InstructionCost
authorDavid Sherwood <david.sherwood@arm.com>
Thu, 7 Jan 2021 15:02:50 +0000 (15:02 +0000)
committerDavid Sherwood <david.sherwood@arm.com>
Mon, 11 Jan 2021 09:00:12 +0000 (09:00 +0000)
commitb7ccaca53700fce21b0e8e5d7bd2a956bd391fee
treee8369f7748199feab5f0af92ff6dcfb63f754f86
parentdcefcd51e01741c79c9d9a729fe803b13287a372
[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
llvm/include/llvm/Support/InstructionCost.h
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/unittests/Support/InstructionCostTest.cpp