From 356799872432d9e3986a9cfeabe3535d0908dcf5 Mon Sep 17 00:00:00 2001 From: David Stuttard Date: Tue, 2 Jul 2024 11:55:07 +0100 Subject: [PATCH 1/2] Include Module.h after IRBuilder change Required since https://github.com/llvm/llvm-project/pull/97159 --- lib/TableGen/GenDialect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/TableGen/GenDialect.cpp b/lib/TableGen/GenDialect.cpp index 3436c75..f533b13 100644 --- a/lib/TableGen/GenDialect.cpp +++ b/lib/TableGen/GenDialect.cpp @@ -237,6 +237,7 @@ void llvm_dialects::genDialectDefs(raw_ostream& out, RecordKeeper& records) { #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "llvm/IR/InstrTypes.h" +#include "llvm/IR/Module.h" )"; if (!noMemoryEffects()) { From 2841d17b968581f5de8280da9e58fcc5a79ac69f Mon Sep 17 00:00:00 2001 From: David Stuttard Date: Tue, 2 Jul 2024 12:09:34 +0100 Subject: [PATCH 2/2] Update test --- test/example/generated/ExampleDialect.cpp.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/example/generated/ExampleDialect.cpp.inc b/test/example/generated/ExampleDialect.cpp.inc index 67768ca..13f57dd 100644 --- a/test/example/generated/ExampleDialect.cpp.inc +++ b/test/example/generated/ExampleDialect.cpp.inc @@ -13,6 +13,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "llvm/IR/InstrTypes.h" +#include "llvm/IR/Module.h" #include "llvm/Support/ModRef.h"