[llvm] 509f634 - [BasicAA] Fix new test Analysis/BasicAA/separate_storage-alias-sets.ll

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 08:34:08 PST 2024


Author: Bruno De Fraine
Date: 2024-01-17T17:33:58+01:00
New Revision: 509f634f76caa40d522875e17188ca77df9159b5

URL: https://github.com/llvm/llvm-project/commit/509f634f76caa40d522875e17188ca77df9159b5
DIFF: https://github.com/llvm/llvm-project/commit/509f634f76caa40d522875e17188ca77df9159b5.diff

LOG: [BasicAA] Fix new test Analysis/BasicAA/separate_storage-alias-sets.ll

An update of the test was not included in 656bf13004 since it was added
after the branch point of that patch.

Added: 
    

Modified: 
    llvm/test/Analysis/BasicAA/separate_storage-alias-sets.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/BasicAA/separate_storage-alias-sets.ll b/llvm/test/Analysis/BasicAA/separate_storage-alias-sets.ll
index 7bd87d1b227b36..37d8e55cb2ff39 100644
--- a/llvm/test/Analysis/BasicAA/separate_storage-alias-sets.ll
+++ b/llvm/test/Analysis/BasicAA/separate_storage-alias-sets.ll
@@ -7,8 +7,8 @@
 declare void @llvm.assume(i1)
 
 ; CHECK-LABEL: Alias sets for function 'arg_arg'
-; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Pointers: (ptr %a1, LocationSize::precise(1))
-; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Pointers: (ptr %a2, LocationSize::precise(1))
+; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Memory locations: (ptr %a1, LocationSize::precise(1))
+; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Memory locations: (ptr %a2, LocationSize::precise(1))
 define void @arg_arg(ptr %a1, ptr %a2) {
 entry:
   call void @llvm.assume(i1 true) [ "separate_storage"(ptr %a1, ptr %a2) ]
@@ -18,8 +18,8 @@ entry:
 }
 
 ; CHECK-LABEL: Alias sets for function 'arg_inst'
-; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Pointers: (ptr %a1, LocationSize::precise(1))
-; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Pointers: (ptr %0, LocationSize::precise(1))
+; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Memory locations: (ptr %a1, LocationSize::precise(1))
+; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Memory locations: (ptr %0, LocationSize::precise(1))
 define void @arg_inst(ptr %a1, ptr %a2) {
 entry:
   %0 = getelementptr inbounds i8, ptr %a2, i64 20
@@ -30,8 +30,8 @@ entry:
 }
 
 ; CHECK-LABEL: Alias sets for function 'inst_inst'
-; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Pointers: (ptr %0, LocationSize::precise(1))
-; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Pointers: (ptr %1, LocationSize::precise(1))
+; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Memory locations: (ptr %0, LocationSize::precise(1))
+; CHECK: AliasSet[{{.*}}, 1] must alias, Ref Memory locations: (ptr %1, LocationSize::precise(1))
 define void @inst_inst(ptr %a1, ptr %a2) {
 entry:
   %0 = getelementptr inbounds i8, ptr %a1, i64 20


        


More information about the llvm-commits mailing list