[all-commits] [llvm/llvm-project] 79f6f9: [mlir][spirv] Enhance folding capability of spirv:...
Nishant Patel via All-commits
all-commits at lists.llvm.org
Fri May 26 16:23:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 79f6f92e10b7cebe2d73f3bbe493ee1392779e26
https://github.com/llvm/llvm-project/commit/79f6f92e10b7cebe2d73f3bbe493ee1392779e26
Author: Nishant Patel <nishant.b.patel at intel.com>
Date: 2023-05-26 (Fri, 26 May 2023)
Changed paths:
M mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.cpp
M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
Log Message:
-----------
[mlir][spirv] Enhance folding capability of spirv::CompositeExtractOp::fold
This PR improves the `spirv::CompositeExtractOp::fold` function by adding a backtracking mechanism.
The updated function can now traverse a chain of `CompositeInsertOp`s to find a match.
Patch By: nbpatel
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D151536
More information about the All-commits
mailing list