Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

byval-types-1.ll
%struct = type {i32, i8}

declare void @baz(%struct* byval(%struct))

define void @foo(%struct* byval(%struct) %a) {
  call void @baz(%struct* byval(%struct) %a)
  ret void
}