Skip to content

Commit

Permalink
Fix deprecation warnings (#1520)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenneuendorffer authored May 29, 2024
1 parent aa2178a commit 431abd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Dialect/AIE/IR/AIEDialect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ MemRefType AIEObjectFifoSubviewType::getElementType() {
/// ::= `objectfifosubview` `<` type `>`
static OptionalParseResult aieTypeParser(DialectAsmParser &parser,
StringRef name, Type &result) {
if (name.equals("objectfifo")) {
if (name == "objectfifo") {
MemRefType elementType;
SMLoc typeLoc = parser.getCurrentLocation();
if (parser.parseLess() || parser.parseType(elementType) ||
Expand All @@ -311,7 +311,7 @@ static OptionalParseResult aieTypeParser(DialectAsmParser &parser,
return result = AIEObjectFifoType::get(elementType), success();
}

if (name.equals("objectfifosubview")) {
if (name == "objectfifosubview") {
if (parser.parseLess())
return failure();

Expand Down

0 comments on commit 431abd0

Please sign in to comment.