asb added a comment. I think it would be worth expanding option-relax.s to also check symbol diffing does/doesn't produce relocations for .option relax/norelax. Other than that, this is looking good to me. Repository: rL LLVM https://reviews.llvm.org/D46423