[llvm] [PowerPC][AIX] Emit PowerPC version for XCOFF (PR #113214)

Kai Nacke via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 14:05:33 PST 2024


================
@@ -225,6 +228,9 @@ class MCAssembler {
     return make_pointee_range(Symbols);
   }
 
+  void setCPU(std::string TargetCPU) { CPU = std::move(TargetCPU); }
+  StringRef getCPU() const { return CPU; }
+
----------------
redstar wrote:

Is this used anywhere? The CPU is emitted via the PPCTargetStreamer, so I think there is no use for it here.

https://github.com/llvm/llvm-project/pull/113214


More information about the llvm-commits mailing list