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

Andrei Safronov via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 15:31:01 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; }
----------------
andreisfr wrote:

Fixed. I implemented "getSubtargetImpl()" as it is done in M68k backend.

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


More information about the llvm-commits mailing list