diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-04-28 18:32:24 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-06-04 12:00:08 +0000 |
| commit | a13b6fc61908fd6afa460b88f94e4a67be74bb9a (patch) | |
| tree | 68df48b0f7f1fabab646b6c53e5ce62783a5bbf6 /contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | d3978dca08ee3d50ec8b01dfe90d388e0499bded (diff) | |
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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()) |
