1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc -mtriple=m68k < %s | FileCheck %s
4 @tls = internal thread_local global <{ [5 x i8], [1 x i8] }> <{ [5 x i8] zeroinitializer, [1 x i8] undef }>, align 4
6 define i8 @tls_arid(ptr noundef nonnull %0) unnamed_addr #2 {
7 ; CHECK-LABEL: tls_arid:
8 ; CHECK: .cfi_startproc
9 ; CHECK-NEXT: ; %bb.0: ; %start
10 ; CHECK-NEXT: suba.l #4, %sp
11 ; CHECK-NEXT: .cfi_def_cfa_offset -8
12 ; CHECK-NEXT: jsr __m68k_read_tp
13 ; CHECK-NEXT: move.b (tls@TPOFF+4,%a0), %d0
14 ; CHECK-NEXT: adda.l #4, %sp
17 %1 = load i8, ptr getelementptr inbounds (i8, ptr @tls, i32 4), align 4