Gerolf added a comment. Hans, you were right. The computeKnowBits etc parts should have been moved also. Sanjay committed the fix proper in r289442. I only kept the regression test in narrow-switch.ll (r293018). -Gerolf https://reviews.llvm.org/D27327