We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb58ab commit 420f3edCopy full SHA for 420f3ed
flang/lib/Optimizer/Dialect/FIROps.cpp
@@ -3957,9 +3957,6 @@ llvm::LogicalResult fir::CopyOp::verify() {
3957
mlir::Type destinationType = fir::unwrapRefType(getDestination().getType());
3958
if (sourceType != destinationType)
3959
return emitOpError("source and destination must have the same value type");
3960
- if (fir::hasDynamicSize(sourceType))
3961
- return emitOpError(
3962
- "source value type must have a compile time constant size");
3963
return mlir::success();
3964
}
3965
0 commit comments