aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2017-03-21 11:36:21 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2017-03-21 11:36:21 +0000
commit7937be7dd3d9c3a2f4dfc79f271185edeeefc0d8 (patch)
treeb24edd5109725517ee4e55323d1339338d691a60 /clang/lib/Lex/ModuleMap.cpp
parent4cc6130f52c390548b021b6f488c8f427a779ea1 (diff)
downloadllvm-7937be7dd3d9c3a2f4dfc79f271185edeeefc0d8.zip
llvm-7937be7dd3d9c3a2f4dfc79f271185edeeefc0d8.tar.gz
llvm-7937be7dd3d9c3a2f4dfc79f271185edeeefc0d8.tar.bz2
[DebugInfo][X86] Teach Optimize LEAs pass to handle debug values
This patch fixes an issue in the Optimize LEAs pass where redundant LEAs were not removed because they were being used by debug values. The debug values are now ignored when determining whether LEAs are redundant. For now the debug values for the redundant LEAs are marked as undefined, effectively lost. The intention is for a follow up patch which will attempt to preserve the debug values where possible. Patch by Andrew Ng. Differential Revision: https://reviews.llvm.org/D30835 llvm-svn: 298360
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions