repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
HelloNew
/
helloworld.ll
blob
48817c24801ae0d9d5533871f08f8639ba36977b
1
; RUN: opt -disable-output -passes=helloworld %s 2>&1 | FileCheck %s
2
3
; CHECK: {{^}}foo{{$}}
4
define i32 @foo() {
5
%a = add i32 2, 3
6
ret i32 %a
7
}
8
9
; CHECK-NEXT: {{^}}bar{{$}}
10
define void @bar() {
11
ret void
12
}