diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/aix-stackargs.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/aix-stackargs.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/aix-stackargs.ll b/llvm/test/CodeGen/PowerPC/aix-stackargs.ll new file mode 100644 index 00000000000..6cac691e071 --- /dev/null +++ b/llvm/test/CodeGen/PowerPC/aix-stackargs.ll @@ -0,0 +1,12 @@ +; 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 + +define void @bar() { +entry: + call void @foo(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9) + ret void +} + +declare void @foo(i32, i32, i32, i32, i32, i32, i32, i32, i32) + +; CHECK: LLVM ERROR: Handling of placing parameters on the stack is unimplemented! |

