• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=aarch64 -mtriple=aarch64-linux-gnu | FileCheck %s
2
3; Function Attrs: nounwind readnone
4declare i8* @llvm.thread.pointer() #1
5
6define i8* @thread_pointer() {
7; CHECK: thread_pointer:
8; CHECK: mrs {{x[0-9]+}}, TPIDR_EL0
9  %1 = tail call i8* @llvm.thread.pointer()
10  ret i8* %1
11}
12