rampitec added a comment. In https://reviews.llvm.org/D51794#1228186, @arsenm wrote: > There is no error to hide. This is perfectly valid IR Could you elaborate how did we end up with a call to undef? https://reviews.llvm.org/D51794