[PATCH] D156600: [llvm][NFC] Make test less brittle

Nathan Sidwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 17:48:05 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGef1722497b29: [llvm] Remove unwanted attribute checking (authored by urnathan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156600/new/

https://reviews.llvm.org/D156600

Files:
  llvm/test/Analysis/BasicAA/cs-cs.ll


Index: llvm/test/Analysis/BasicAA/cs-cs.ll
===================================================================
--- llvm/test/Analysis/BasicAA/cs-cs.ll
+++ llvm/test/Analysis/BasicAA/cs-cs.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -aa-pipeline=basic-aa -passes=aa-eval -print-all-alias-modref-info -S 2>&1 | FileCheck %s
+; RUN: opt < %s -aa-pipeline=basic-aa -passes=aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:32:64-v128:32:128-a0:0:32-n32"
 target triple = "arm-apple-ios"
 
@@ -428,21 +428,6 @@
 ; CHECK: Both ModRef:   call void @an_argmemonly_func(ptr %q) #12 [ "unknown"() ] <->   call void @an_inaccessibleorargmemonly_func(ptr %q) #11 [ "unknown"() ]
 }
 
-
-; CHECK:      attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
-; CHECK-NEXT: attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
-; CHECK-NEXT: attributes #2 = { nosync nounwind willreturn memory(argmem: readwrite) }
-; CHECK-NEXT: attributes #3 = { noinline nounwind memory(read) }
-; CHECK-NEXT: attributes #4 = { noinline nounwind memory(write) }
-; CHECK-NEXT: attributes #5 = { nounwind ssp }
-; CHECK-NEXT: attributes #6 = { nounwind memory(inaccessiblemem: readwrite) }
-; CHECK-NEXT: attributes #7 = { nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) }
-; CHECK-NEXT: attributes #8 = { nounwind memory(argmem: readwrite) }
-; CHECK-NEXT: attributes #9 = { memory(read) }
-; CHECK-NEXT: attributes #10 = { memory(inaccessiblemem: readwrite) }
-; CHECK-NEXT: attributes #11 = { memory(argmem: readwrite, inaccessiblemem: readwrite) }
-; CHECK-NEXT: attributes #12 = { memory(argmem: readwrite) }
-
 attributes #0 = { argmemonly nounwind }
 attributes #1 = { noinline nounwind readonly }
 attributes #2 = { noinline nounwind writeonly }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156600.548420.patch
Type: text/x-patch
Size: 1915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230809/bf1ac7fb/attachment.bin>


More information about the llvm-commits mailing list