mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-22 08:32:23 +00:00
9739ef67a8
1) Turns the canonicalization into a fold, so it can cleanup IR within other passes. 2) When the output of the reshape is a dynamic shaped tensor, we cannot apply the fold to the constant, because constants are required to have static shape. Differential Revision: https://reviews.llvm.org/D154615
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.