efriedma added inline comments.
================ Comment at: lib/CodeGen/CGBuiltin.cpp:6589 + std::string Reg = StrVal == "31" ? "sp" : + "x" + std::string(StrVal.c_str()); + ---------------- Could you just write this as `std::string Reg = Value == 31 ? "sp" : "x" + Value.toString(10);`, and get rid of StrVal? https://reviews.llvm.org/D52838 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits