• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@myvar = internal constant i8 1, align 1
2@llvm.used = appending global [1 x i8*] [i8* @myvar], section "llvm.metadata"
3
4define void @foo(i64* %v) #0 {
5entry:
6  %v.addr = alloca i64*, align 8
7  store i64* %v, i64** %v.addr, align 8
8  %0 = load i64*, i64** %v.addr, align 8
9  call void asm sideeffect "movzbl     myvar(%rip), %eax\0A\09movq %rax, $0\0A\09", "=*m,~{eax},~{dirflag},~{fpsr},~{flags}"(i64* %0) #1
10  ret void
11}
12