aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
diff options
context:
space:
mode:
authorMatt Davis <Matthew.Davis@sony.com>2018-03-19 16:06:40 +0000
committerMatt Davis <Matthew.Davis@sony.com>2018-03-19 16:06:40 +0000
commit4b54e5fc386e5aa62725efe893d8ac9b9ee1dd01 (patch)
treeab404b6142c29a0976fee270af56a6d88632e1f8 /llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
parent5cca20f825e66eea684d5fb8c8303ee2b32456b4 (diff)
downloadllvm-4b54e5fc386e5aa62725efe893d8ac9b9ee1dd01.zip
llvm-4b54e5fc386e5aa62725efe893d8ac9b9ee1dd01.tar.gz
llvm-4b54e5fc386e5aa62725efe893d8ac9b9ee1dd01.tar.bz2
[CodeGen] Avoid handling DBG_VALUE in the LivePhysRegs (addUses,removeDefs,stepForward)
Summary: This patch prevents DBG_VALUE instructions from influencing LivePhysRegs::stepBackwards and stepForwards. In at least one case, specifically branch folding, the stepBackwards logic was having an influence on code generation. The result was that certain code compiled with '-g -O2' would differ from that compiled with '-O2' alone. It seems that the original logic, accounting for DBG_VALUE, was influencing the placement of an IMPLICIT_DEF which had a later impact on how blocks were processed in branch folding. Reviewers: kparzysz, MatzeB Reviewed By: kparzysz Subscribers: bjope, llvm-commits Tags: #debug-info Differential Revision: https://reviews.llvm.org/D43850 llvm-svn: 327862
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
0 files changed, 0 insertions, 0 deletions