[all-commits] [llvm/llvm-project] 96d2dc: [SCEVAA] Enhance SCEVAAResult::alias() to handle t...

csstormq via All-commits all-commits at lists.llvm.org
Wed May 29 19:50:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
      https://github.com/llvm/llvm-project/commit/96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
  Author: csstormq <swust_xiaoqiangxu at 163.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
    M llvm/test/Analysis/ScalarEvolution/scev-aa.ll

  Log Message:
  -----------
  [SCEVAA] Enhance SCEVAAResult::alias() to handle two pointers with different pointer bases (#91453)

This patch enhances the SCEVAAResult::alias() interface to handle two
pointers with different pointer bases.

Before calling getMinusSCEV(), we firstly try to explicitly convert
these two pointers into ptrtoint expressions to do that.

Either both pointers are used with ptrtoint or neither, so we can't
end up with a ptr + int mix.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list