forked from OSchip/llvm-project
[Bitcode] Make attribute test more robust (NFC)
The ID of the { nobuiltin } attribute set increases every time a new test is added to this file. Store it in a variable instead.
This commit is contained in:
parent
a3a27a7aee
commit
3496d6e4be
|
@ -204,7 +204,7 @@ define void @f34()
|
|||
; CHECK: define void @f34()
|
||||
{
|
||||
call void @nobuiltin() nobuiltin
|
||||
; CHECK: call void @nobuiltin() #40
|
||||
; CHECK: call void @nobuiltin() #[[NOBUILTIN:[0-9]+]]
|
||||
ret void;
|
||||
}
|
||||
|
||||
|
@ -420,4 +420,4 @@ define void @f64(i32* preallocated(i32) %a)
|
|||
; CHECK: attributes #37 = { nofree }
|
||||
; CHECK: attributes #38 = { nosync }
|
||||
; CHECK: attributes #39 = { sanitize_memtag }
|
||||
; CHECK: attributes #40 = { nobuiltin }
|
||||
; CHECK: attributes #[[NOBUILTIN]] = { nobuiltin }
|
||||
|
|
Loading…
Reference in New Issue