aboutsummaryrefslogtreecommitdiff
path: root/lld/test/ELF/relocatable-script.s
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2026-02-11 11:51:51 +0000
committerGitHub <noreply@github.com>2026-02-11 11:51:51 +0000
commit2dcf858ba0db3227a186c1322be052a163fca51a (patch)
tree9ecdcb094bc635e0ef3a4835c17e1256e64b8015 /lld/test/ELF/relocatable-script.s
parent064694160fcb255d014c7b1cedeeb4d42e8392ff (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[LAA] Use SCEVPtrToAddr in tryToCreateDiffChecks. (#178861)HEADmain
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/relocatable-script.s')
0 files changed, 0 insertions, 0 deletions