[clang] [CIR] Add additional frontend actions (PR #127249)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 08:54:56 PST 2025


================
@@ -52,6 +52,9 @@ CIRGenModule::CIRGenModule(mlir::MLIRContext &mlirContext,
   DoubleTy = cir::DoubleType::get(&getMLIRContext());
   FP80Ty = cir::FP80Type::get(&getMLIRContext());
   FP128Ty = cir::FP128Type::get(&getMLIRContext());
+
+  theModule->setAttr(cir::CIRDialect::getTripleAttrName(),
----------------
erichkeane wrote:

Can you mention that this is ALSO setting the module 'triple' correctly in the commit message?

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


More information about the cfe-commits mailing list