Ilya Leoshkevich a933e1417b
[SystemZ] Do not run mbackchain-4.c test without SystemZ target (#71678)
mbackchain-4.c requires running the backend and causes CI failures when
this target is not configured.
2023-11-08 15:53:10 +01:00

13 lines
294 B
C

// REQUIRES: systemz-registered-target
// RUN: %clang --target=s390x-linux -O1 -S -o - %s | FileCheck %s
__attribute__((target("backchain")))
void *foo(void) {
return __builtin_return_address(1);
}
// CHECK-LABEL: foo:
// CHECK: lg %r1, 0(%r15)
// CHECK: lg %r2, 112(%r1)
// CHECK: br %r14