[all-commits] [llvm/llvm-project] 878234: [BasicAA] Scalable offset with scalable typesize. ...

David Green via All-commits all-commits at lists.llvm.org
Thu Feb 8 03:07:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 878234b3202c9fe343cd59c71b50c4c4c5dc1b8c
      https://github.com/llvm/llvm-project/commit/878234b3202c9fe343cd59c71b50c4c4c5dc1b8c
  Author: David Green <david.green at arm.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/test/Analysis/BasicAA/vscale.ll

  Log Message:
  -----------
  [BasicAA] Scalable offset with scalable typesize. (#80818)

This patch adds a simple alias analysis check for accesses that are scalable
with a offset between them that is also trivially scalable (there are no other
constant/variable offsets). We essentially divide each side by vscale and are
left needing to check that the offset >= typesize.




More information about the All-commits mailing list