[PATCH] D77543: [mlir][spirv] Fix wrong Phi parent block for back-to-back loops
Lei Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 05:55:08 PDT 2020
antiagainst created this revision.
antiagainst added reviewers: denis13, hanchung.
Herald added subscribers: llvm-commits, grosul1, bader, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: mravishankar.
Herald added a project: LLVM.
If we have two back-to-back loops with block arguments, the OpPhi
instructions generated for the second loop's block arguments should
have use the merge block of the first SPIR-V loop structure as
their incoming parent block.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77543
Files:
mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
mlir/test/Dialect/SPIRV/Serialization/phi.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77543.255299.patch
Type: text/x-patch
Size: 7116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200406/78df3465/attachment.bin>
More information about the llvm-commits
mailing list