https://github.com/DonatNagyE commented: Good commit! I was suspicious at first because `getBitWidth()` tends to be problematic, but I couldn't find any concrete case where the new code behaves incorrectly. https://github.com/llvm/llvm-project/pull/67212