We can simplify an extractvalue of an insertvalue to extract out of the base of the insertvalue, if the insert and extract are at distinct and non-prefix'd indices
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D120915
[MLIR][LLVM] Fold extractvalue to ignore insertvalue at distinct index ClosedPublic Authored by wsmoses on Mar 3 2022, 9:33 AM.
Details Summary We can simplify an extractvalue of an insertvalue to extract out of the base of the insertvalue, if the insert and extract are at distinct and non-prefix'd indices
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 4 2022, 4:23 AM This revision was landed with ongoing or failed builds.Mar 4 2022, 8:03 AM Closed by commit rG4a94a33ca6cb: [MLIR][LLVM] Fold extractvalue to ignore insertvalue at distinct index (authored by wsmoses). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413008 mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/test/Dialect/LLVMIR/canonicalize.mlir
|