[llvm] [SPIR-V] Add pass to merge convergence region exit targets (PR #92531)
Sameer Sahasrabuddhe via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 20:03:16 PDT 2024
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/92531 at github.com>
https://github.com/ssahasra commented:
There is a lot of overlap between GPU backends like SPIRV and AMDGPU, where we are tackling similar problems with the CFG. It will be good to reuse and improve code wherever possible. After a cursory look, I think `FixIrreducible.cpp` and `UnifyLoopExits.cpp` can both potentially benefit from the "exit variable" created here. Those passes currently track a whole bunch of boolean variables, one for each exit block.
https://github.com/llvm/llvm-project/pull/92531
More information about the llvm-commits
mailing list