aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@nvidia.com>2025-01-29 22:53:24 -0600
committerGitHub <noreply@github.com>2025-01-29 22:53:24 -0600
commit4b2d6157744ca7693e6e904bd53d435df1ff6ee8 (patch)
treec6c89d613f4f923d8219b8049926c0da5b8ad359 /clang/lib/CodeGen/BackendUtil.cpp
parentc4a019747c98ad9326a675d3cb5a70311ba170a2 (diff)
downloadllvm-4b2d6157744ca7693e6e904bd53d435df1ff6ee8.zip
llvm-4b2d6157744ca7693e6e904bd53d435df1ff6ee8.tar.gz
llvm-4b2d6157744ca7693e6e904bd53d435df1ff6ee8.tar.bz2
[DA] use alias analysis cross iteration mode (#116628)
This patch fixes two bugs: https://github.com/llvm/llvm-project/issues/41488 https://github.com/llvm/llvm-project/issues/53942 The dependence analysis assumes that the base address of array accesses is invariant across loop iterations. In both bugs the base address evolves following loop iterations: the base address flip-flops between two different memory objects. The patch uses the cross iteration mode of alias analysis to disambiguate the base objects.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions