1 ; Test autoupgrade of arch-specific thread pointer intrinsics
2 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
4 declare i8* @llvm.aarch64.thread.pointer()
5 declare i8* @llvm.arm.thread.pointer()
9 ; CHECK: call i8* @llvm.thread.pointer()
10 %1 = call i8* @llvm.aarch64.thread.pointer()
16 ; CHECK: call i8* @llvm.thread.pointer()
17 %1 = call i8* @llvm.arm.thread.pointer()