aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2025-10-28 09:53:56 -0700
committerGitHub <noreply@github.com>2025-10-28 09:53:56 -0700
commit41f65666f6378bba7266be7c662c70074f04ed75 (patch)
tree512ef68406b09e29123c67ecd296a45cbd85b337 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent466c5267141a221b5919b701e26d8b50d776bc55 (diff)
downloadllvm-41f65666f6378bba7266be7c662c70074f04ed75.zip
llvm-41f65666f6378bba7266be7c662c70074f04ed75.tar.gz
llvm-41f65666f6378bba7266be7c662c70074f04ed75.tar.bz2
[MLIR] Revamp RegionBranchOpInterface (#165429)
This is still somehow a WIP, we have some issues with this interface that are not trivial to solve. This patch tries to make the concepts of RegionBranchPoint and RegionSuccessor more robust and aligned with their definition: - A `RegionBranchPoint` is either the parent (`RegionBranchOpInterface`) op or a `RegionBranchTerminatorOpInterface` operation in a nested region. - A `RegionSuccessor` is either one of the nested region or the parent `RegionBranchOpInterface` Some new methods with reasonnable default implementation are added to help resolving the flow of values across the RegionBranchOpInterface. It is still not trivial in the current state to walk the def-use chain backward with this interface. For example when you have the 3rd block argument in the entry block of a for-loop, finding the matching operands requires to know about the hidden loop iterator block argument and where the iterargs start. The API is designed around forward-tracking of the chain unfortunately. Try to reland #161575 ; I suspect a buildbot incremental build issue.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions