brintos

brintos / llvm-project-archived public Read only

0
0
Text · 356 B · 30d3c93 Raw
13 lines · plain
1; RUN: llc -mtriple=mips < %s | FileCheck %s2; RUN: llc -mtriple=mips64 < %s | FileCheck %s3; RUN: llc -mtriple=mipsel < %s | FileCheck %s4; RUN: llc -mtriple=mips64el < %s | FileCheck %s5 6declare ptr @llvm.thread.pointer() nounwind readnone7 8define ptr @thread_pointer() {9; CHECK: rdhwr $3, $2910  %1 = tail call ptr @llvm.thread.pointer()11  ret ptr %112}13