17 lines · plain
1; Check that the GHC calling convention works (s390x)2; Thread local storage is not supported in GHC calling convention3;4; RUN: not --crash llc -mtriple=s390x-ibm-linux < %s 2>&1 | FileCheck %s5 6@x = thread_local global i32 07 8define ghccc void @foo() nounwind {9entry:10 call void @bar(ptr@x)11 ret void12}13 14declare void @bar(ptr)15 16; CHECK: LLVM ERROR: In GHC calling convention TLS is not supported17