test/CodeGen/builtins.c: reinstate #ifdef __x86_64__ around __builtin_longjmp

Unadvertently removed in r285019

llvm-svn: 285041
This commit is contained in:
Mehdi Amini 2016-10-24 23:38:24 +00:00
parent 3acb187d95
commit ebff247d41
1 changed files with 5 additions and 0 deletions

View File

@ -355,6 +355,9 @@ void test_float_builtin_ops(float F, double D, long double LD) {
}
// __builtin_longjmp isn't supported on all platforms, so only test it on X86.
#ifdef __x86_64__
// CHECK-LABEL: define void @test_builtin_longjmp
void test_builtin_longjmp(void **buffer) {
// CHECK: [[BITCAST:%.*]] = bitcast
@ -363,6 +366,8 @@ void test_builtin_longjmp(void **buffer) {
// CHECK-NEXT: unreachable
}
#endif
// CHECK-LABEL: define i64 @test_builtin_readcyclecounter
long long test_builtin_readcyclecounter() {
// CHECK: call i64 @llvm.readcyclecounter()