mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
c7fb4c55c4
This reverts commit rGcd5b308b828e, rGcd5b308b828e, rG8cedf0e2994c. There are issues to be investigated for polly bots and bots turning on EXPENSIVE_CHECKS.
17 lines
396 B
LLVM
17 lines
396 B
LLVM
; Check that the GHC calling convention works (s390x)
|
|
; Thread local storage is not supported in GHC calling convention
|
|
;
|
|
; RUN: not llc -mtriple=s390x-ibm-linux < %s 2>&1 | FileCheck %s
|
|
|
|
@x = thread_local global i32 0
|
|
|
|
define ghccc void @foo() nounwind {
|
|
entry:
|
|
call void @bar(i32 *@x)
|
|
ret void
|
|
}
|
|
|
|
declare void @bar(i32*)
|
|
|
|
; CHECK: LLVM ERROR: In GHC calling convention TLS is not supported
|