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-unneeded.ll
; RUN: llvm-link %s -S -o - | FileCheck %s

$foo = comdat largest
define internal void @foo() comdat($foo) {
  ret void
}

; CHECK-NOT: foo