Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dcaballe committed Nov 6, 2024
1 parent a0da17c commit 4c814a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mlir/lib/Dialect/Vector/IR/VectorOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1713,10 +1713,11 @@ static Value foldExtractFromBroadcast(ExtractOp extractOp) {
/// : vector<8xf32>, vector<8xf32>
/// %extract = vector.extract %shuffle[3] : f32 from vector<4xf32>
/// ->
/// %extract = vector.extract %b[7] : f32 from vector<4xf32>
/// %extract = vector.extract %b[7] : f32 from vector<8xf32>
///
static Value foldExtractFromShuffle(ExtractOp extractOp) {
// TODO: Canonicalization for dynamic position not implemented yet.
// Dynamic positions are not folded as the resulting code would be more
// complex than the input code.
if (extractOp.hasDynamicPosition())
return Value();

Expand Down

0 comments on commit 4c814a2

Please sign in to comment.