You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
22
external/llvm/test/CodeGen/ARM/readtp.ll
vendored
Normal file
22
external/llvm/test/CodeGen/ARM/readtp.ll
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
; RUN: llc -mtriple=armeb-linux-gnueabihf -O2 -mattr=+read-tp-hard %s -o - | FileCheck %s -check-prefix=CHECK-HARD
|
||||
; RUN: llc -mtriple=armeb-linux-gnueabihf -O2 %s -o - | FileCheck %s -check-prefix=CHECK-SOFT
|
||||
|
||||
|
||||
; __thread int counter;
|
||||
; void foo() {
|
||||
; counter = 5;
|
||||
; }
|
||||
|
||||
|
||||
@counter = thread_local local_unnamed_addr global i32 0, align 4
|
||||
|
||||
define void @foo() local_unnamed_addr #0 {
|
||||
entry:
|
||||
store i32 5, i32* @counter, align 4
|
||||
ret void
|
||||
}
|
||||
|
||||
|
||||
; CHECK-LABEL: foo:
|
||||
; CHECK-HARD: mrc p15, #0, {{r[0-9]+}}, c13, c0, #3
|
||||
; CHECK-SOFT: bl __aeabi_read_tp
|
Reference in New Issue
Block a user