[llvm] [VPlan] Run CSE closer to VPlan::execute. (PR #160572)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 03:45:58 PDT 2025


lukel97 wrote:

> I think this is impossible, as we use costing to pick a VPlan, and currently, CSE runs after we have picked the final VPlan. I think what might be doable is to run CSE once earlier, and let costing take it into account.

Yeah that's what I had in mind, i.e. do costing as late possible. 

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


More information about the llvm-commits mailing list