[InstSimplify] Do not remove insertvalue of undef into poison
We cannot remove an insertvalue of undef if it inserts into a potentially poison value. The new implementation matches that of insertelement. See https://alive2.llvm.org/ce/z/pCcFsW for the previously incorrect transform.
parent
c07a01c2
Please register or sign in to comment