Paul-C-Anagnostopoulos added a comment. Yes, making the 0 and 1 unsigned fixes the problem. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D89599/new/ https://reviews.llvm.org/D89599