You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
602 B
21 lines
602 B
4 months ago
|
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
||
|
; RUN: verify-uselistorder %s
|
||
|
|
||
|
declare void @llvm.metadata(metadata)
|
||
|
|
||
|
define void @foo(i32 %arg) {
|
||
|
entry:
|
||
|
%before = alloca i32
|
||
|
call void @llvm.metadata(metadata i32 %arg)
|
||
|
call void @llvm.metadata(metadata i32* %after)
|
||
|
call void @llvm.metadata(metadata i32* %before)
|
||
|
%after = alloca i32
|
||
|
ret void
|
||
|
|
||
|
; CHECK: %before = alloca i32
|
||
|
; CHECK: call void @llvm.metadata(metadata i32 %arg)
|
||
|
; CHECK: call void @llvm.metadata(metadata i32* %after)
|
||
|
; CHECK: call void @llvm.metadata(metadata i32* %before)
|
||
|
; CHECK: %after = alloca i32
|
||
|
}
|