[llvm] [BasicAA] Add Vscale GEP decomposition on variable index (PR #69152)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 07:27:45 PST 2024


================
@@ -1165,6 +1204,46 @@ AliasResult BasicAAResult::aliasGEP(
   if (!V1Size.hasValue() || !V2Size.hasValue())
     return AliasResult::MayAlias;
 
+  // VScale Alias Analysis
----------------
nikic wrote:

Please drop this code from the initial patch -- let's make sure everything works with vscale in the decomposition first, before we extend to also handling scalable location size.

https://github.com/llvm/llvm-project/pull/69152


More information about the llvm-commits mailing list