[Mlir-commits] [mlir] [mlir][spirv] Split conditional basic blocks during deserialization (PR #127639)
Igor Wodiany
llvmlistbot at llvm.org
Mon Feb 24 09:30:41 PST 2025
================
@@ -2158,13 +2158,69 @@ LogicalResult spirv::Deserializer::wireUpBlockArgument() {
return success();
}
+LogicalResult spirv::Deserializer::splitConditionalBlocks() {
+ // Create a copy, so we can modify keys in the original.
+ BlockMergeInfoMap blockMergeInfoCopy = blockMergeInfo;
+ for (auto it = blockMergeInfoCopy.begin(); it != blockMergeInfoCopy.end();
+ ++it) {
----------------
IgWod-IMG wrote:
I have fixed that and pushed an update!
https://github.com/llvm/llvm-project/pull/127639
More information about the Mlir-commits
mailing list