mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

Modified the intrinsics int_addressofreturnaddress, int_frameaddress & int_sponentry. This commit depends on the changes in rL366679 Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D64563 llvm-svn: 366683
9 lines
267 B
C
9 lines
267 B
C
// RUN: %clang_cc1 -triple aarch64-windows-gnu -Oz -emit-llvm %s -o - | FileCheck %s
|
|
|
|
void *test_sponentry() {
|
|
return __builtin_sponentry();
|
|
}
|
|
// CHECK-LABEL: define dso_local i8* @test_sponentry()
|
|
// CHECK: = tail call i8* @llvm.sponentry.p0i8()
|
|
// CHECK: ret i8*
|