Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
; RUN: opt < %s -passes=instcombine define i32 @test(i32 %X, i32 %Z) { %Y = srem i32 %X, undef ; <i32> [#uses=1] ret i32 %Y }