diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index 623ae5f..7734f5e 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. |