Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

copy-metadata-of-declaration.ll
; RUN: opt -run-twice -verify -S -o - %s | FileCheck %s

; This test is used to check metadata attached to global variable declarations
; are copied when CloneModule(). This is required by out-of-tree passes.

; CHECK: @g = external addrspace(64) global i32, !spirv.InOut !0

@g = external addrspace(64) global i32, !spirv.InOut !0

!0 = !{i32 1}