Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
; RUN: opt -S -mergefunc < %s | FileCheck %s define void @foo(i32 %x) { ; CHECK-LABEL: @foo( ; CHECK-NOT: call ret void } define void @bar(i32 %x) { ; CHECK-LABEL: @bar( ; CHECK-NOT: call ret void }