From 979592a6f735a7111ba2c3a19e5ef3e8d336e01a Mon Sep 17 00:00:00 2001 From: Djordje Todorovic Date: Wed, 20 Nov 2019 12:20:53 +0100 Subject: [DebugInfo] Remove the DIFlagArgumentNotModified debug info flag Due to changes in D68206, we remove the DIFlagArgumentNotModified and its usage. Differential Revision: https://reviews.llvm.org/D68207 --- llvm/lib/CodeGen/LiveDebugValues.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp') diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index 623ae5f0a89..7734f5e5ef7 100644 --- a/llvm/lib/CodeGen/LiveDebugValues.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues.cpp @@ -1292,7 +1292,7 @@ bool LiveDebugValues::isEntryValueCandidate( // TODO: Add support for modified arguments that can be expressed // by using its entry value. auto *DIVar = MI.getDebugVariable(); - if (!DIVar->isParameter() || !DIVar->isNotModified()) + if (!DIVar->isParameter()) return false; // Do not consider parameters that belong to an inlined function. -- cgit v1.2.3