14 lines · plain
1; RUN: not --crash llc -mtriple=riscv64 -mattr=+f,+d -verify-machineinstrs -filetype=null < %s 2>&1 | FileCheck %s2; RUN: not --crash llc -mtriple=riscv32 -mattr=+f,+d -verify-machineinstrs -filetype=null < %s 2>&1 | FileCheck %s3 4define ghccc ptr @nest_receiver(ptr nest %arg) nounwind {5 ret ptr %arg6}7 8define ghccc ptr @nest_caller(ptr %arg) nounwind {9 %result = call ghccc ptr @nest_receiver(ptr nest %arg)10 ret ptr %result11}12 13; CHECK: LLVM ERROR: Attribute 'nest' is not supported in GHC calling convention14