[all-commits] [llvm/llvm-project] d3846e: [mlir] Guard sccp pass from crashing with differen...
Kai Sasaki via All-commits
all-commits at lists.llvm.org
Tue Dec 24 19:20:14 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3846eca2061e6e9a8d654551153f7362c27b59a
https://github.com/llvm/llvm-project/commit/d3846eca2061e6e9a8d654551153f7362c27b59a
Author: Kai Sasaki <lewuathe at gmail.com>
Date: 2024-12-25 (Wed, 25 Dec 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Transforms/sccp.mlir
Log Message:
-----------
[mlir] Guard sccp pass from crashing with different source type (#120656)
Vector::BroadCastOp expects the identical element type in folding. It
causes the crash if the different source type is given to the SCCP pass.
We need to guard the pass from crashing if the nonidentical element type
is given, but still compatible. (e.g. index vs integer type)
https://github.com/llvm/llvm-project/issues/120193
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list