aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authoraqjune <aqjune@gmail.com>2021-02-13 16:22:25 +0900
committeraqjune <aqjune@gmail.com>2021-02-14 22:50:48 +0900
commit5f3c99085d4c2ebf57fd0586b013b02e32a8e20b (patch)
treecb18e98d5efa842731a9c3dc6ec7e012dd5724ef /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent39ff002e526e1df3e4bebbfdd2beebf0440d7d92 (diff)
downloadllvm-5f3c99085d4c2ebf57fd0586b013b02e32a8e20b.zip
llvm-5f3c99085d4c2ebf57fd0586b013b02e32a8e20b.tar.gz
llvm-5f3c99085d4c2ebf57fd0586b013b02e32a8e20b.tar.bz2
[ValueTracking] Dereferenced pointers are noundef
This is a follow-up of D95238's LangRef update. This patch updates `programUndefinedIfUndefOrPoison(V)` to return true if `V` is used by any memory-accessing instruction. Interestingly, this affected many tests in Attributors, mainly about adding noundefs. The tests are updated using llvm/utils/update_test_checks.py. I checked that the diffs are about updating noundefs. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D96642
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions