[llvm] [GVN] Support rnflow pattern matching and transform (PR #162259)
Madhur Amilkanthwar via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 03:25:34 PDT 2026
================
----------------
madhur13490 wrote:
@alinas @antoniofrighetto @nikic
Long back @nikic suggested to simplify IR fed to GVN (somewhere up in the phases) here https://github.com/llvm/llvm-project/pull/144987#issuecomment-3077906788. Patch https://github.com/llvm/llvm-project/pull/206024 can simplify the IR before GVN and thus matching in this patch can be simplified a bit.
Please note, https://github.com/llvm/llvm-project/pull/206024 is not a must-have patch for this patch to work as it can only simplify the IR and the matching logic becomes a bit more easy. I don't see huge savings in LOC (just around ~8-10 lines) but it is a step.
I'd still appreciate if we progress on this patch.
https://github.com/llvm/llvm-project/pull/162259
More information about the llvm-commits
mailing list