Limit the backtracking along def-use chains when a prefix is encountered as it would generate incorrect foldings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D113975
[mlir][LLVM] Fix folding of LLVM::ExtractValueOp ClosedPublic Authored by nicolasvasilache on Nov 16 2021, 2:06 AM.
Details Summary Limit the backtracking along def-use chains when a prefix is encountered as it would generate incorrect foldings.
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others. · View Herald TranscriptNov 16 2021, 2:06 AM gysit added inline comments. This revision is now accepted and ready to land.Nov 16 2021, 4:21 AM This revision was landed with ongoing or failed builds.Nov 16 2021, 6:49 AM Closed by commit rGb377807a76e7: [mlir][LLVM] Fix folding of LLVM::ExtractValueOp (authored by nicolasvasilache). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 387536 mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/test/Dialect/LLVMIR/canonicalize.mlir
|
nit: should