summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/thread_pointer.ll
diff options
context:
space:
mode:
authorMarcin Koscielnicki <koriakin@0x04.net>2016-04-19 20:51:05 +0000
committerMarcin Koscielnicki <koriakin@0x04.net>2016-04-19 20:51:05 +0000
commit3fdc257d6a5d6e7a1851d9c78dc49d516ee488be (patch)
treec233d3f54b6a3d79301636604e1ff7d4ac2c8e9c /llvm/test/CodeGen/ARM/thread_pointer.ll
parent4005070e1bad88113f45cb843635206050fe62e2 (diff)
downloadbcm5719-llvm-3fdc257d6a5d6e7a1851d9c78dc49d516ee488be.tar.gz
bcm5719-llvm-3fdc257d6a5d6e7a1851d9c78dc49d516ee488be.zip
[AArch64] [ARM] Make a target-independent llvm.thread.pointer intrinsic.
Both AArch64 and ARM support llvm.<arch>.thread.pointer intrinsics that just return the thread pointer. I have a pending patch that does the same for SystemZ (D19054), and there are many more targets that could benefit from one. This patch merges the ARM and AArch64 intrinsics into a single target independent one that will also be used by subsequent targets. Differential Revision: http://reviews.llvm.org/D19098 llvm-svn: 266818
Diffstat (limited to 'llvm/test/CodeGen/ARM/thread_pointer.ll')
-rw-r--r--llvm/test/CodeGen/ARM/thread_pointer.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/thread_pointer.ll b/llvm/test/CodeGen/ARM/thread_pointer.ll
index c403fa5c4a2..fe1d3a4dfd0 100644
--- a/llvm/test/CodeGen/ARM/thread_pointer.ll
+++ b/llvm/test/CodeGen/ARM/thread_pointer.ll
@@ -3,8 +3,8 @@
define i8* @test() {
entry:
- %tmp1 = call i8* @llvm.arm.thread.pointer( ) ; <i8*> [#uses=0]
+ %tmp1 = call i8* @llvm.thread.pointer( ) ; <i8*> [#uses=0]
ret i8* %tmp1
}
-declare i8* @llvm.arm.thread.pointer()
+declare i8* @llvm.thread.pointer()
OpenPOWER on IntegriCloud