You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
15
external/llvm/test/CodeGen/AArch64/arm64-builtins-linux.ll
vendored
Normal file
15
external/llvm/test/CodeGen/AArch64/arm64-builtins-linux.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llc < %s -mtriple=aarch64-linux-gnu | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=aarch64-fuchsia | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=aarch64-fuchsia -code-model=kernel | FileCheck --check-prefix=FUCHSIA-KERNEL %s
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare i8* @llvm.thread.pointer() #1
|
||||
|
||||
define i8* @thread_pointer() {
|
||||
; CHECK: thread_pointer:
|
||||
; CHECK: mrs {{x[0-9]+}}, TPIDR_EL0
|
||||
; FUCHSIA-KERNEL: thread_pointer:
|
||||
; FUCHSIA-KERNEL: mrs {{x[0-9]+}}, TPIDR_EL1
|
||||
%1 = tail call i8* @llvm.thread.pointer()
|
||||
ret i8* %1
|
||||
}
|
Reference in New Issue
Block a user