summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
diff options
context:
space:
mode:
authorEkaterina Romanova <katya_romanova@playstation.sony.com>2014-03-13 18:47:12 +0000
committerEkaterina Romanova <katya_romanova@playstation.sony.com>2014-03-13 18:47:12 +0000
commit8d62008ecb3edd841341789112a0fcab587beff5 (patch)
tree2d4176db3955c65cf9283bbbec535bffea398b39 /clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
parentc3ec337e4db6ee91db5471cb9e4e479d2f6c1d99 (diff)
downloadbcm5719-llvm-8d62008ecb3edd841341789112a0fcab587beff5.tar.gz
bcm5719-llvm-8d62008ecb3edd841341789112a0fcab587beff5.zip
Fix for http://llvm.org/bugs/show_bug.cgi?id=18590
This patch fixes the bug in peephole optimization that folds a load which defines one vreg into the one and only use of that vreg. With debug info, a DBG_VALUE that referenced the vreg considered to be a use, preventing the optimization. The fix is to ignore DBG_VALUE's during the optimization, and undef a DBG_VALUE that references a vreg that gets removed. Patch by Trevor Smigiel! llvm-svn: 203829
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud