diff options
| author | aqjune <aqjune@gmail.com> | 2021-02-13 16:22:25 +0900 |
|---|---|---|
| committer | aqjune <aqjune@gmail.com> | 2021-02-14 22:50:48 +0900 |
| commit | 5f3c99085d4c2ebf57fd0586b013b02e32a8e20b (patch) | |
| tree | cb18e98d5efa842731a9c3dc6ec7e012dd5724ef /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
| parent | 39ff002e526e1df3e4bebbfdd2beebf0440d7d92 (diff) | |
[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
