[llvm] [SimplifyCFG] Treat umul + extract pattern as cheap single instruction. (PR #124933)

Gábor Spaits via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 05:11:52 PST 2025


spaits wrote:

I think I will try to move this optimization to to `foldTwoEntryPHINode`. That function is calling the `dominatesMergePoint` function. In that I will match to the pattern and set a low cost value for this pattern.

https://github.com/llvm/llvm-project/pull/124933


More information about the llvm-commits mailing list