Skip to content

Commit 0d03400

Browse files
authored
Bump llvm to 4b06b01e (#2019)
1 parent 22f53c9 commit 0d03400

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

include/aie/Dialect/AIEVec/AIEVecUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ inline mlir::VectorType getVectorOpDestType(mlir::VectorType type, bool AIE2) {
9696
if (auto ftype = llvm::dyn_cast<mlir::FloatType>(stype)) {
9797
if (AIE2 && ftype.getWidth() == 16)
9898
return mlir::VectorType::get(type.getShape(),
99-
mlir::FloatType::getF32(ftype.getContext()));
99+
mlir::Float32Type::get(ftype.getContext()));
100100

101101
// Floating point vector types for aie1 are returned as is since the
102102
// floating point operations write back to registers and not accumulators

lib/Dialect/AIE/Transforms/AIECoreToStandard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static auto getAIE1Intrinsics(OpBuilder &builder) {
5151
Type int32Type = IntegerType::get(builder.getContext(), 32);
5252
Type int128Type = IntegerType::get(builder.getContext(), 128);
5353
Type int384Type = IntegerType::get(builder.getContext(), 384);
54-
Type floatType = FloatType::getF32(builder.getContext());
54+
Type floatType = Float32Type::get(builder.getContext());
5555

5656
// Note that not all of these are valid for a particular design, or needed.
5757
// For right now, we will just accept the noise.

python/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ if (AIE_ENABLE_PYTHON_PASSES)
213213
endforeach()
214214
set_property(TARGET MLIRPythonSources.ExecutionEngine PROPERTY mlir_python_DEPENDS "")
215215

216+
# Set NB_DOMAIN for nanobind, to avoid domain conflict with other LLVM projects.
217+
set(MLIR_BINDINGS_PYTHON_NB_DOMAIN "_aie")
218+
216219
add_mlir_python_modules(AIEPythonModules
217220
ROOT_PREFIX "${AIE_PYTHON_PACKAGES_DIR}/aie"
218221
INSTALL_PREFIX "${AIE_PYTHON_INSTALL_DIR}/aie"

utils/clone-llvm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
##===----------------------------------------------------------------------===##
1414

1515
# The LLVM commit to use.
16-
LLVM_PROJECT_COMMIT=f926bcf9068c808b643a56322b7ef6910eb36599
17-
DATETIME=2025011002
16+
LLVM_PROJECT_COMMIT=4b06b01e62ab0cfd059f47dceeb6cd0fb96304c9
17+
DATETIME=2025011619
1818
WHEEL_VERSION=20.0.0.$DATETIME+${LLVM_PROJECT_COMMIT:0:8}
1919

2020
############################################################################################

0 commit comments

Comments
 (0)