brintos

brintos / llvm-project-archived public Read only

0
0
Text · 414 B · 334a344 Raw
8 lines · plain
1; RUN: llvm-dis < %S/Inputs/memory-attribute-upgrade.bc | FileCheck %s2 3; CHECK: ; Function Attrs: memory(write, argmem: read, target_mem0: none, target_mem1: none)4; CHECK-NEXT: define void @test_any_write_argmem_read(ptr %p)5 6; CHECK: ; Function Attrs: memory(read, argmem: readwrite, inaccessiblemem: none, target_mem0: none, target_mem1: none)7; CHECK-NEXT: define void @test_any_read_argmem_readwrite(ptr %p)8