Debian Codegraph @

llvm/test/Transforms/RewriteStatepointsForGC/unsupported-gc-error.ll

raw
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 }