llvm-project/clang/test/CodeGen/mbackchain-3.c
Marcin Koscielnicki b31ee6db11 [SystemZ] Add -mbackchain option.
This option, like the corresponding gcc option, is SystemZ-specific and
enables storing frame backchain links, as specified in the ABI.

Differential Revision: http://reviews.llvm.org/D19891

llvm-svn: 268575
2016-05-04 23:37:40 +00:00

8 lines
180 B
C

// RUN: %clang -mno-backchain --target=s390x-linux -S -emit-llvm -o - %s | FileCheck %s
// CHECK: define void @foo() [[NUW:#[0-9]+]]
void foo(void) {
}
// CHECK-NOT: "backchain"