[clang] [CIR] Add framework for CIR to LLVM IR lowering (PR #124650)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 28 11:54:41 PST 2025


================
@@ -55,6 +56,13 @@ class EmitCIRAction : public CIRGenAction {
   EmitCIRAction(mlir::MLIRContext *MLIRCtx = nullptr);
 };
 
+class EmitLLVMAction : public CIRGenAction {
+  virtual void anchor();
+
+public:
+  EmitLLVMAction(mlir::MLIRContext *MLIRCtx = nullptr);
----------------
AaronBallman wrote:

Okay, this seems like a code smell to me, but it's reasonable enough. Thanks!

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


More information about the cfe-commits mailing list