1 ; RUN: not llc -mtriple=riscv32 < %s 2>&1 | FileCheck %s
2 ; RUN: not llc -mtriple=riscv64 < %s 2>&1 | FileCheck %s
4 ; CHECK: LLVM ERROR: RISC-V backend can't currently handle functions that need stack realignment and have variable sized objects
6 declare void @callee(i8*, i32*)
8 define void @caller(i32 %n) nounwind {
10 %2 = alloca i32, align 64
11 call void @callee(i8* %1, i32 *%2)