lbenes added a comment. I can confirm that this patch fixes the failing immediates.ll test on x86 built by gcc 10. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97490/new/ https://reviews.llvm.org/D97490