diff options
| author | Kazu Hirata <kazu@google.com> | 2022-07-13 23:11:56 -0700 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-07-13 23:11:56 -0700 |
| commit | 611ffcf4e4a2ab19063174f6990969f96e9078de (patch) | |
| tree | da5c836c83b643f1dd57d1f7d6fccb984dc28caa /llvm/lib/CodeGen/MachineFunctionSplitter.cpp | |
| parent | 6882ca9aff076738bbffd68f73892187519554f8 (diff) | |
[llvm] Use value instead of getValue (NFC)
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineFunctionSplitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<StringRef> 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; } |
