Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

Wave.hlsl
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil--shadermodel6.7-library  %s  -verify

// Make sure WaveActiveCountBits is accepted.

// expected-no-diagnostics
unsigned foo(bool b) {
    return WaveActiveCountBits(b);
}