1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr10 -relocation-model=pic -run-pass=ppc-tls-dynamic-call,pipeliner -verify-machineinstrs %s -o - | FileCheck %s 3 4# Just check that MachineVerifier does not fail due to PPCTLSDynamicCall failing 5# to preserve some analyses. 6# CHECK: name: test 7 8--- | 9 %0 = type { i32 (...)**, %0* } 10 @x = external dso_local thread_local unnamed_addr global %0*, align 8 11 define void @test(i8* %arg) { ret void } 12... 13--- 14name: test 15tracksRegLiveness: true 16body: | 17 bb.0: 18 liveins: $x3 19 20 %0:g8rc = COPY killed $x3 21 %1:g8rc_and_g8rc_nox0 = PADDI8pc 0, target-flags(ppc-got-tlsld-pcrel) @x 22 %2:g8rc_and_g8rc_nox0 = PADDIdtprel killed %1, target-flags(ppc-got-tlsld-pcrel) @x 23 STD killed %0, 0, killed %2 :: (store (s64) into `i8** bitcast (%0** @x to i8**)`) 24 BLR8 implicit $lr8, implicit $rm 25... 26