Skip to content

Commit 893cde3

Browse files
Address a comment.
1 parent 2343cd5 commit 893cde3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/include/llvm/Support/InstructionCost.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ class InstructionCost {
5959
State = Invalid;
6060
}
6161

62-
static inline constexpr CostType MaxValue =
63-
std::numeric_limits<CostType>::max();
64-
static inline constexpr CostType MinValue =
65-
std::numeric_limits<CostType>::min();
62+
static constexpr CostType MaxValue = std::numeric_limits<CostType>::max();
63+
static constexpr CostType MinValue = std::numeric_limits<CostType>::min();
6664

6765
public:
6866
// A default constructed InstructionCost is a valid zero cost

0 commit comments

Comments
 (0)