DavidSpickett added a comment. FWIW, a 2 stage build on armv8 with `-mthumb` didn't turn up any codegen Gremlins. (that's how I saw the unused var) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D118044/new/ https://reviews.llvm.org/D118044