Skip to content

Commit

Permalink
Drop unused structtype, per reviewer feedback. Thanks!
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Schuiki <fabian@schuiki.ch>
  • Loading branch information
dtzSiFive and fabianschuiki authored Aug 9, 2024
1 parent 292aa3a commit b04d5c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Dialect/HW/Transforms/FlattenIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ class FlattenIOTypeConverter : public TypeConverter {

addTargetMaterialization([](OpBuilder &builder, hw::TypeAliasType type,
ValueRange inputs, Location loc) {
auto structType = getStructType(type);
assert(structType && "expected struct type");
auto result = builder.create<hw::StructCreateOp>(loc, type, inputs);
return result.getResult();
});
Expand Down

0 comments on commit b04d5c4

Please sign in to comment.