diff options
author | Nikita Popov <npopov@redhat.com> | 2024-01-24 10:15:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 10:15:42 +0100 |
commit | a7a1b8b17e264fb0f2d2b4165cf9a7f5094b08b3 (patch) | |
tree | 95df72ef48fcdca6b9ef928e05a77d75b3d0caea /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | 33ecef9812e2c9bfadef035b8e34a949acae2abc (diff) | |
download | llvm-a7a1b8b17e264fb0f2d2b4165cf9a7f5094b08b3.zip llvm-a7a1b8b17e264fb0f2d2b4165cf9a7f5094b08b3.tar.gz llvm-a7a1b8b17e264fb0f2d2b4165cf9a7f5094b08b3.tar.bz2 |
[MSSAUpdater] Handle simplified accesses when updating phis (#78272)
This is a followup to #76819. After those changes, we can still run into
an assertion failure for a slight variation of the test case: When
fixing up MemoryPhis, we map the incoming access to the access of the
cloned instruction -- which may now no longer exist.
Fix this by reusing the getNewDefiningAccessForClone() helper, which
will look upwards for a new defining access in that case.
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions