[llvm] [mlir] [clang-tools-extra] [clang] [mlir] Fix a zero stride canonicalizer crash (PR #74200)

Kai Sasaki via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 3 22:39:56 PST 2023


================
@@ -139,12 +139,36 @@ SmallVector<int64_t>
 getValuesSortedByKey(ArrayRef<Attribute> keys, ArrayRef<int64_t> values,
                      llvm::function_ref<bool(Attribute, Attribute)> compare);
 
+/// Helper function to check whether the passed in `sizes` or `values` are
----------------
Lewuathe wrote:

```suggestion
/// Helper function to check whether the passed in `sizes` or `offsets` are
```

https://github.com/llvm/llvm-project/pull/74200


More information about the cfe-commits mailing list