We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
phi
I tried this IR:
define i32 @src(i1 %c0, i1 %c1, i32 %v1) { start: br i1 %c0, label %bb0, label %bb1 bb0: br label %bb1 bb1: %x = phi i32 [ %v1, %bb0 ], [ undef, %start ] br i1 %c1, label %bb0, label %bb2 bb2: ret i32 %x }
phi should not be deleted by InstructionSimplify.
alive2: https://alive2.llvm.org/ce/z/LNXeGp