source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/metadata-function-local.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 602 bytes
Line 
1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3
4declare void @llvm.metadata(metadata)
5
6define void @foo(i32 %arg) {
7entry:
8  %before = alloca i32
9  call void @llvm.metadata(metadata i32 %arg)
10  call void @llvm.metadata(metadata i32* %after)
11  call void @llvm.metadata(metadata i32* %before)
12  %after = alloca i32
13  ret void
14
15; CHECK: %before = alloca i32
16; CHECK: call void @llvm.metadata(metadata i32 %arg)
17; CHECK: call void @llvm.metadata(metadata i32* %after)
18; CHECK: call void @llvm.metadata(metadata i32* %before)
19; CHECK: %after = alloca i32
20}
Note: See TracBrowser for help on using the repository browser.