mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
11 lines
203 B
LLVM
11 lines
203 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
|
||
|
; RUN: grep {movzbl %gs:i@NTPOFF, %eax} %t
|
||
|
|
||
|
@i = thread_local global i8 15
|
||
|
|
||
|
define i8 @f() {
|
||
|
entry:
|
||
|
%tmp1 = load i8* @i
|
||
|
ret i8 %tmp1
|
||
|
}
|