Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

switch-truncate-crash.ll
; RUN: opt -passes=instcombine < %s

define void @test() {
  switch i32 0, label %out [i32 0, label %out]
out:
  ret void
}