https://github.com/nikic commented: Hm, I'd consider enabling this only for switches to start with. Converting phi to zext for the br case is a lot more likely to cause regressions. https://github.com/llvm/llvm-project/pull/142263