We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5909b23 commit 9820044Copy full SHA for 9820044
llvm/test/Transforms/RewriteStatepointsForGC/unsupported-gc-error.ll
@@ -0,0 +1,12 @@
1
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2
+; RUN: not --crash opt -disable-output -passes=rewrite-statepoints-for-gc %s 2>&1 | FileCheck %s
3
+
4
+; CHECK: LLVM ERROR: unsupported GC: unsupported-gc
5
6
+declare void @g()
7
+declare i32 @h()
8
9
+define ptr addrspace(1) @f0(ptr addrspace(1) %arg) gc "unsupported-gc" {
10
+ call void @g() [ "deopt"(i32 100) ]
11
+ ret ptr addrspace(1) %arg
12
+}
0 commit comments