Skip to content

Commit

Permalink
update tt-mlir version (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilkicTT authored Aug 8, 2024
1 parent aa9f431 commit 9fdcd5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pybuda/csrc/passes/lower_to_mlir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,15 @@ class MLIRGenerator
::llvm::ArrayRef<::llvm::StringRef> operation_attributes = TTIROp::getAttributeNames();
for(auto attribute_name: operation_attributes)
{
if(attribute_name.equals("operand_constraints"))
if(attribute_name == "operand_constraints")
{
// Create operation constraint attributes
mlir::NamedAttribute operand_constraints_attribute = builder_.getNamedAttr(
"operand_constraints",
builder_.getArrayAttr(get_mlir_operand_constraint_attributes(graph, op_node)));
attributes.push_back(operand_constraints_attribute);
}
else if(attribute_name.equals(mlir::OpTrait::AttrSizedOperandSegments<void>::getOperandSegmentSizeAttr()))
else if(attribute_name == mlir::OpTrait::AttrSizedOperandSegments<void>::getOperandSegmentSizeAttr())
{
// Create operation segment sizes attributes
mlir::NamedAttribute operand_segment_sizes_attribute = builder_.getNamedAttr(
Expand Down
2 changes: 1 addition & 1 deletion third_party/tt-mlir
Submodule tt-mlir updated 110 files

0 comments on commit 9fdcd5a

Please sign in to comment.