• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: %lli %s > /dev/null
2
3define i64 @foo() {
4  ret i64 42
5}
6
7define i32 @main() {
8  %val = call i64 @foo()
9  %is42 = icmp eq i64 %val, 42
10  br i1 %is42, label %good, label %bad
11
12good:
13  ret i32 0
14
15bad:
16  ret i32 1
17}
18