forked from OSchip/llvm-project
[AArch64] Fix D19098 fallout.
The intrinsic is now called llvm.thread.pointer, not llvm.aarch64.thread.pointer. Also, the code handling it in CGBuiltin.cpp is dead - it's already covered by GCCBuiltin. Remove it. Differential Revision: http://reviews.llvm.org/D19099 llvm-svn: 266817
This commit is contained in:
parent
0536ec0242
commit
4005070e1b
|
@ -4647,11 +4647,6 @@ Value *CodeGenFunction::EmitAArch64BuiltinExpr(unsigned BuiltinID,
|
|||
return Builder.CreateCall(F);
|
||||
}
|
||||
|
||||
if (BuiltinID == AArch64::BI__builtin_thread_pointer) {
|
||||
Function *F = CGM.getIntrinsic(Intrinsic::aarch64_thread_pointer);
|
||||
return Builder.CreateCall(F);
|
||||
}
|
||||
|
||||
// CRC32
|
||||
Intrinsic::ID CRCIntrinsicID = Intrinsic::not_intrinsic;
|
||||
switch (BuiltinID) {
|
||||
|
|
|
@ -7,7 +7,7 @@ void f0(void *a, void *b) {
|
|||
|
||||
void *tp (void) {
|
||||
return __builtin_thread_pointer ();
|
||||
// CHECK: call {{.*}} @llvm.aarch64.thread.pointer()
|
||||
// CHECK: call {{.*}} @llvm.thread.pointer()
|
||||
}
|
||||
|
||||
// CHECK: call {{.*}} @llvm.aarch64.rbit.i32(i32 %a)
|
||||
|
|
Loading…
Reference in New Issue