diff options
author | Johannes Doerfert <jdoerfert@anl.gov> | 2019-08-04 18:38:53 +0000 |
---|---|---|
committer | Johannes Doerfert <jdoerfert@anl.gov> | 2019-08-04 18:38:53 +0000 |
commit | 4361da24acab41e378136906d5c12b372ac2b0bc (patch) | |
tree | 7e4ffedbc82c61e0ae42de4cee09a1bc27f3f5fe /llvm/docs/tutorial | |
parent | d1c3793563bf1caf05b6babe10e3ff32ab446f2a (diff) | |
download | llvm-4361da24acab41e378136906d5c12b372ac2b0bc.zip llvm-4361da24acab41e378136906d5c12b372ac2b0bc.tar.gz llvm-4361da24acab41e378136906d5c12b372ac2b0bc.tar.bz2 |
[Attributor][Fix] Resolve various liveness issues
Summary:
This contains various fixes:
- Explicitly determine and return the next noreturn instruction.
- If an invoke calls a noreturn function which is not nounwind we
keep the unwind destination live. This also means we require an
invoke. Though we can still add the unreachable to the normal
destination block.
- Check if the return instructions are dead after we look for calls
to avoid triggering an optimistic fixpoint in the presence of
assumed liveness information.
- Make the interface work with "const" pointers.
- Some simplifications
While additional tests are included, full coverage is achieved only with
D59978.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65701
llvm-svn: 367791
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions