From a13b6fc61908fd6afa460b88f94e4a67be74bb9a Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 28 Apr 2022 20:32:24 +0200 Subject: Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-14.0.3-0-g1f9140064dfb. PR: 261742 MFC after: 2 weeks (cherry picked from commit 3a9a9c0ca44ec535dcf73fe8462bee458e54814b) --- contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp') diff --git a/contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp b/contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp index fd5ea5cad072..02f58ca5eef0 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp @@ -1181,9 +1181,6 @@ void MachineFunction::finalizeDebugInstrRefs() { MI.getOperand(1).ChangeToRegister(0, false); }; - if (!useDebugInstrRef()) - return; - for (auto &MBB : *this) { for (auto &MI : MBB) { if (!MI.isDebugRef() || !MI.getOperand(0).isReg()) -- cgit v1.2.3