[AArch64] [ARM] Make a target-independent llvm.thread.pointer intrinsic.

Description

[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

Details

Committed
koriakinApr 19 2016, 1:51 PM
Differential Revision
D19098: [AArch64] [ARM] Make a target-independent llvm.thread.pointer intrinsic.
Parents
rL266817: [AArch64] Fix D19098 fallout.
Branches
Unknown
Tags
Unknown