source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AArch64/arm64-builtins-linux.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 316 bytes
Line 
1; RUN: llc < %s -march=aarch64 -mtriple=aarch64-linux-gnu | FileCheck %s
2
3; Function Attrs: nounwind readnone
4declare i8* @llvm.aarch64.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.aarch64.thread.pointer()
10  ret i8* %1
11}
Note: See TracBrowser for help on using the repository browser.