[all-commits] [llvm/llvm-project] f35ac8: Fix SimplifyAllocConst pattern when we have alloc ...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Tue Feb 28 12:02:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f35ac8a4ffbecd1fee09731e5a9a242e6425df80
https://github.com/llvm/llvm-project/commit/f35ac8a4ffbecd1fee09731e5a9a242e6425df80
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/canonicalize.mlir
Log Message:
-----------
Fix SimplifyAllocConst pattern when we have alloc of negative sizes
This is UB, but we shouldn't crash the compiler either.
Fixes #61056
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D144978
More information about the All-commits
mailing list