From 611ffcf4e4a2ab19063174f6990969f96e9078de Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 13 Jul 2022 23:11:56 -0700 Subject: [llvm] Use value instead of getValue (NFC) --- llvm/lib/CodeGen/MachineFunctionSplitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp') diff --git a/llvm/lib/CodeGen/MachineFunctionSplitter.cpp b/llvm/lib/CodeGen/MachineFunctionSplitter.cpp index 81c97ba6a086..867a7ed584b2 100644 --- a/llvm/lib/CodeGen/MachineFunctionSplitter.cpp +++ b/llvm/lib/CodeGen/MachineFunctionSplitter.cpp @@ -106,8 +106,8 @@ bool MachineFunctionSplitter::runOnMachineFunction(MachineFunction &MF) { // We don't want to proceed further for cold functions // or functions of unknown hotness. Lukewarm functions have no prefix. Optional SectionPrefix = MF.getFunction().getSectionPrefix(); - if (SectionPrefix && (SectionPrefix.getValue().equals("unlikely") || - SectionPrefix.getValue().equals("unknown"))) { + if (SectionPrefix && (SectionPrefix.value().equals("unlikely") || + SectionPrefix.value().equals("unknown"))) { return false; } -- cgit v1.2.3