efriedma added a comment. I'm not sure what rule you're using to justify this. Even if x18 is "reserved", assembly is allowed to use it for whatever purpose it's reserved for. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78650/new/ https://reviews.llvm.org/D78650