aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-01-12 01:09:22 -0600
committerJohannes Doerfert <johannes@jdoerfert.de>2020-02-12 17:36:38 -0600
commit23f41f16d415cdcd9b3f6e7d31aa27caabf844e6 (patch)
tree5054001f52b49adb5ad727917e73f69eca659486 /clang/lib/CodeGen/CodeGenFunction.cpp
parentb2c76002caae91689e94d4ddd2bf4c3474e82066 (diff)
downloadllvm-23f41f16d415cdcd9b3f6e7d31aa27caabf844e6.zip
llvm-23f41f16d415cdcd9b3f6e7d31aa27caabf844e6.tar.gz
llvm-23f41f16d415cdcd9b3f6e7d31aa27caabf844e6.tar.bz2
[Attributor] Use fine-grained liveness in all helpers
We used coarse-grained liveness before, thus we looked if the instruction was executed, but we did not use fine-grained liveness, hence if the instruction was needed or could be deleted even if the surrounding ones are live. This patches introduces this level of liveness checks together with other liveness queries, e.g., for uses. For more control we enforce that all liveness queries go through the Attributor. Test have been adjusted to reflect the changes or augmented to prevent deletion of the parts we want to check. Reviewed By: sstefan1 Differential Revision: https://reviews.llvm.org/D73313
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions