Skip to content

Commit 5c95484

Browse files
committed
[Analysis] Use implicit-check-not in test
1 parent 0e3fbfd commit 5c95484

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/test/Analysis/AliasSet/intrinsics.ll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
; RUN: opt -passes=print-alias-sets -S -o - < %s 2>&1 | FileCheck %s
1+
; RUN: opt -passes=print-alias-sets -S -o - < %s 2>&1 | FileCheck %s --implicit-check-not="Unknown instructions"
22

33
; CHECK: Alias sets for function 'test1':
44
; CHECK: Alias Set Tracker: 2 alias sets for 2 pointer values.
55
; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Memory locations: (ptr %a, LocationSize::precise(1))
6-
; CHECK-NOT: 1 Unknown instruction
76
; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Memory locations: (ptr %b, LocationSize::precise(1))
87
define void @test1(i32 %c) {
98
entry:
@@ -64,7 +63,6 @@ entry:
6463
; CHECK: Alias sets for function 'test5':
6564
; CHECK: Alias Set Tracker: 2 alias sets for 2 pointer values.
6665
; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Memory locations: (ptr %a, LocationSize::precise(1))
67-
; CHECK-NOT: 1 Unknown instruction
6866
; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Memory locations: (ptr %b, LocationSize::precise(1))
6967
define void @test5() {
7068
entry:

0 commit comments

Comments
 (0)