diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2019-10-29 11:46:00 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2019-10-31 14:47:06 -0500 |
commit | 2d6d651e8cb62fc5f17782c37dcad0b7bf18a4e6 (patch) | |
tree | e68e597cf0eb3d774af71677e7c2ced5fa57ae81 /llvm/lib/CodeGen/SwitchLoweringUtils.cpp | |
parent | 57dd4b03e4806bbb4760ab6150940150d884df20 (diff) | |
download | llvm-2d6d651e8cb62fc5f17782c37dcad0b7bf18a4e6.zip llvm-2d6d651e8cb62fc5f17782c37dcad0b7bf18a4e6.tar.gz llvm-2d6d651e8cb62fc5f17782c37dcad0b7bf18a4e6.tar.bz2 |
[Attributor] Make AANonNull perform context sensitive queries
Summary:
In order to get context sensitivity from isKnownNonZero we need to
provide a context instruction *and* a dominator tree. The latter is
passed now to which actually allows to remove some initialization code.
Tests taken from PR43833.
Reviewers: uenoku, sstefan1
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69595
Diffstat (limited to 'llvm/lib/CodeGen/SwitchLoweringUtils.cpp')
0 files changed, 0 insertions, 0 deletions