[flang-commits] [flang] [flang] Fix FIR AliasAnalysis for zero-offset view chains (PR #192710)
Razvan Lupusoru via flang-commits
flang-commits at lists.llvm.org
Mon May 4 20:03:48 PDT 2026
https://github.com/razvanlupusoru commented:
I made similar changes and I had to update an existing test - are you not seeing having to do the same?
```
--- a/flang/test/Analysis/AliasAnalysis/alias-analysis-pack-array.fir
+++ b/flang/test/Analysis/AliasAnalysis/alias-analysis-pack-array.fir
@@ -18,8 +18,8 @@
// Ideally, these should report MustAlias, but MayAlias
// may work as well:
-// CHECK-DAG: test1_y_repack(1)#0 <-> test1_y_repack2(1)#0: MayAlias
-// CHECK-DAG: test1_x_repack(1)#0 <-> test1_x_repack2(1)#0: MayAlias
+// CHECK-DAG: test1_y_repack(1)#0 <-> test1_y_repack2(1)#0: MustAlias
+// CHECK-DAG: test1_x_repack(1)#0 <-> test1_x_repack2(1)#0: MustAlias
```
https://github.com/llvm/llvm-project/pull/192710
More information about the flang-commits
mailing list