[llvm] [Xtensa] Initial codegen support from IR (PR #78548)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 07:16:51 PST 2024


================
@@ -36,10 +37,15 @@ class XtensaTargetMachine : public LLVMTargetMachine {
                       std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
                       bool JIT);
 
+  const XtensaSubtarget *getSubtargetImpl() const { return &Subtarget; }
----------------
s-barannikov wrote:

This method should not exist. Subtarget is per-function.


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


More information about the llvm-commits mailing list