RKSimon added a comment. I've raised https://github.com/llvm/llvm-project/issues/59515 to cover the APSInt::getExtValue() issue Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139683/new/ https://reviews.llvm.org/D139683