================
@@ -45,7 +45,8 @@ class SparcSubtarget : public SparcGenSubtargetInfo {
 
 public:
   SparcSubtarget(const Triple &TT, const std::string &CPU,
-                 const std::string &FS, const TargetMachine &TM, bool is64bit);
+                 const std::string &TuneCPU, const std::string &FS,
----------------
s-barannikov wrote:

While here, could change all `const std::string &` to `StringRef` and/or remove 
the `TT` parameter (it can be obtained as `TM.getTargetTriple()`.).


https://github.com/llvm/llvm-project/pull/77195
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to