aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SwitchLoweringUtils.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2019-10-29 11:46:00 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2019-10-31 14:47:06 -0500
commit2d6d651e8cb62fc5f17782c37dcad0b7bf18a4e6 (patch)
treee68e597cf0eb3d774af71677e7c2ced5fa57ae81 /llvm/lib/CodeGen/SwitchLoweringUtils.cpp
parent57dd4b03e4806bbb4760ab6150940150d884df20 (diff)
downloadllvm-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