diff options
| author | Florian Hahn <flo@fhahn.com> | 2026-02-11 11:51:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-11 11:51:51 +0000 |
| commit | 2dcf858ba0db3227a186c1322be052a163fca51a (patch) | |
| tree | 9ecdcb094bc635e0ef3a4835c17e1256e64b8015 /lld/test/ELF/linkerscript/align5.test | |
| parent | 064694160fcb255d014c7b1cedeeb4d42e8392ff (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
The checks created by LAA only compute a pointer difference and do not
need to capture provenance. Use SCEVPtrToAddr instead of SCEVPtrToInt
for computations.
To avoid regressions while parts of SCEV are migrated to use PtrToAddr
this adds logic to rewrite all PtrToInt to PtrToAddr if possible in the
created expressions. This is needed to avoid regressions.
Similarly, if in the original IR we have a PtrToInt, SCEVExpander tries
to re-use it if possible when expanding PtrToAddr.
Depends on https://github.com/llvm/llvm-project/pull/178727.
Fixes https://github.com/llvm/llvm-project/issues/156978.
PR: https://github.com/llvm/llvm-project/pull/178861
Diffstat (limited to 'lld/test/ELF/linkerscript/align5.test')
0 files changed, 0 insertions, 0 deletions
