Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

comdat.ll
; RUN: opt -S < %s -passes=deadargelim | FileCheck %s

$f = comdat any

define void @f() comdat {
  call void @g(i32 0)
  ret void
}

define internal void @g(i32 %dead) comdat($f) {
  ret void
}

; CHECK: define internal void @g() comdat($f) {