Skip to content

Bump IREE to bbe7f5c17a041bed5b4f652c49475ae8789eba86 #1059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/plugins/target/AMD-AIE/aievec/AIEVecUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,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
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ static SmallVector<Value> getCollapsedIndices(RewriterBase &rewriter,
collapsedOffset = affine::makeComposedFoldedAffineApply(
rewriter, loc, collapsedExpr, collapsedVals);

if (collapsedOffset.is<Value>()) {
indicesAfterCollapsing.push_back(collapsedOffset.get<Value>());
if (isa<Value>(collapsedOffset)) {
indicesAfterCollapsing.push_back(cast<Value>(collapsedOffset));
} else {
indicesAfterCollapsing.push_back(rewriter.create<arith::ConstantIndexOp>(
loc, *getConstantIntValue(collapsedOffset)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ namespace {
LogicalResult foldMixed(SmallVectorImpl<OpFoldResult> &ofrs) {
bool valuesChanged = false;
for (OpFoldResult &ofr : ofrs) {
if (ofr.is<Attribute>()) continue;
if (isa<Attribute>(ofr)) continue;
Attribute attr;
if (matchPattern(ofr.get<Value>(), m_Constant(&attr))) {
if (matchPattern(cast<Value>(ofr), m_Constant(&attr))) {
ofr = attr;
valuesChanged = true;
}
Expand Down
2 changes: 1 addition & 1 deletion third_party/iree
Submodule iree updated 198 files
Loading