Skip to content

Commit 57d6172

Browse files
authored
Fixing typo in #21142 that was causing failures on MSVC. (#21211)
This was not MSVC-specific, just that MSVC caught it. It was undefined behavior on other compilers.
1 parent 3078d3f commit 57d6172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/iree/compiler/Codegen/Dialect/GPU/Transforms/ExpandUndistributedInnerTiles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct ExpandInnerTileShapes final : OpRewritePattern<Codegen::InnerTiledOp> {
125125
SmallVector<tensor::ExpandShapeOp> maybeExpands(numOperands, nullptr);
126126
SmallVector<Value> newOperands(tiledOp.getOperands());
127127
SmallVector<Attribute> newPermutations;
128-
if (*permutationsAttr) {
128+
if (permutationsAttr) {
129129
newPermutations = llvm::to_vector(*permutationsAttr);
130130
}
131131

0 commit comments

Comments
 (0)