Skip to content

Commit

Permalink
Bump llvm to 4b06b01e (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx authored Jan 16, 2025
1 parent 22f53c9 commit 0d03400
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/aie/Dialect/AIEVec/AIEVecUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ inline mlir::VectorType getVectorOpDestType(mlir::VectorType type, bool AIE2) {
if (auto ftype = llvm::dyn_cast<mlir::FloatType>(stype)) {
if (AIE2 && ftype.getWidth() == 16)
return mlir::VectorType::get(type.getShape(),
mlir::FloatType::getF32(ftype.getContext()));
mlir::Float32Type::get(ftype.getContext()));

// Floating point vector types for aie1 are returned as is since the
// floating point operations write back to registers and not accumulators
Expand Down
2 changes: 1 addition & 1 deletion lib/Dialect/AIE/Transforms/AIECoreToStandard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static auto getAIE1Intrinsics(OpBuilder &builder) {
Type int32Type = IntegerType::get(builder.getContext(), 32);
Type int128Type = IntegerType::get(builder.getContext(), 128);
Type int384Type = IntegerType::get(builder.getContext(), 384);
Type floatType = FloatType::getF32(builder.getContext());
Type floatType = Float32Type::get(builder.getContext());

// Note that not all of these are valid for a particular design, or needed.
// For right now, we will just accept the noise.
Expand Down
3 changes: 3 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ if (AIE_ENABLE_PYTHON_PASSES)
endforeach()
set_property(TARGET MLIRPythonSources.ExecutionEngine PROPERTY mlir_python_DEPENDS "")

# Set NB_DOMAIN for nanobind, to avoid domain conflict with other LLVM projects.
set(MLIR_BINDINGS_PYTHON_NB_DOMAIN "_aie")

add_mlir_python_modules(AIEPythonModules
ROOT_PREFIX "${AIE_PYTHON_PACKAGES_DIR}/aie"
INSTALL_PREFIX "${AIE_PYTHON_INSTALL_DIR}/aie"
Expand Down
4 changes: 2 additions & 2 deletions utils/clone-llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
##===----------------------------------------------------------------------===##

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

############################################################################################
Expand Down

0 comments on commit 0d03400

Please sign in to comment.