nikic added a comment. Not familiar with this pass, but I suspect the right fix for this might be to use CreateLogicalAnd instead of CreateAnd. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126354/new/ https://reviews.llvm.org/D126354