brintos

brintos / llvm-project-archived public Read only

0
0
Text · 377 B · d4f318a Raw
13 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=riscv64 | FileCheck %s3; RUN: llc < %s -mtriple=riscv32 | FileCheck %s4 5define ptr @thread_pointer() nounwind {6; CHECK-LABEL: thread_pointer:7; CHECK:       # %bb.0:8; CHECK-NEXT:    mv a0, tp9; CHECK-NEXT:    ret10  %1 = tail call ptr @llvm.thread.pointer()11  ret ptr %112}13