More optimizations in IfB2.