summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXCompilationDatabase.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-05-23 13:36:25 +0000
committerAnna Thomas <anna@azul.com>2017-05-23 13:36:25 +0000
commitc07d5544dde0cc6e1d844028d82aa2cf1dc8066a (patch)
tree0417d53c3fb6d2126732b357a23f41491058daa4 /clang/tools/libclang/CXCompilationDatabase.cpp
parentb6d40cceeed08876e6d633099de7c5c15f66c453 (diff)
downloadbcm5719-llvm-c07d5544dde0cc6e1d844028d82aa2cf1dc8066a.tar.gz
bcm5719-llvm-c07d5544dde0cc6e1d844028d82aa2cf1dc8066a.zip
[JumpThreading] Safely replace uses of condition
This patch builds over https://reviews.llvm.org/rL303349 and replaces the use of the condition only if it is safe to do so. We should not blindly RAUW the condition if experimental.guard or assume is a use of that condition. This is because LVI may have used the guard/assume to identify the value of the condition, and RUAWing will fold the guard/assume and uses before the guards/assumes. Reviewers: sanjoy, reames, trentxintong, mkazantsev Reviewed by: sanjoy, reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33257 llvm-svn: 303633
Diffstat (limited to 'clang/tools/libclang/CXCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud