From c9157d925c489f07ba9c0b2ce47e5149b75969a5 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 18 Dec 2023 21:30:12 +0100 Subject: Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb. PR: 276104 MFC after: 1 month (cherry picked from commit 5f757f3ff9144b609b3c433dfd370cc6bdc191ad) --- contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp') diff --git a/contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp b/contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp index 3a1e1720be9c..d57a912f418b 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp @@ -88,6 +88,8 @@ bool MachineFunctionPass::runOnFunction(Function &F) { MF.print(OS); } + MFProps.reset(ClearedProperties); + bool RV = runOnMachineFunction(MF); if (ShouldEmitSizeRemarks) { @@ -114,7 +116,6 @@ bool MachineFunctionPass::runOnFunction(Function &F) { } MFProps.set(SetProperties); - MFProps.reset(ClearedProperties); // For --print-changed, print if the serialized MF has changed. Modes other // than quiet/verbose are unimplemented and treated the same as 'quiet'. -- cgit v1.2.3