llvm-project/llvm/test/CodeGen/PowerPC/aix-trampoline.ll
Yuanfang Chen 6e24c6037f Revert "[Support] make report_fatal_error abort instead of exit"
This reverts commit 647c3f4e47de8a850ffcaa897db68702d8d2459a.

Got bots failure from sanitizer-windows and maybe others.
2020-01-15 17:52:25 -08:00

15 lines
491 B
LLVM

; RUN: not llc -mtriple powerpc-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
; RUN: not llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
; CHECK: LLVM ERROR: INIT_TRAMPOLINE operation is not supported on AIX.
define void @create_trampoline(i8* %buffer, i8* %nval) nounwind {
entry:
call void @llvm.init.trampoline(i8* %buffer, i8* bitcast (i32 (i32)* @nested to i8*) , i8* %nval)
ret void
}
declare i32 @nested(i32);
declare void @llvm.init.trampoline(i8*, i8*, i8*) nounwind