[all-commits] [llvm/llvm-project] d9c269: [VPlan] Remove manual constant fold in VPWidenIntO...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Nov 28 15:22:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9c269577e6e68e1336461f266b20780f4d78dba
      https://github.com/llvm/llvm-project/commit/d9c269577e6e68e1336461f266b20780f4d78dba
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-11-29 (Fri, 29 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

  Log Message:
  -----------
  [VPlan] Remove manual constant fold in VPWidenIntOrFpInductionRecipe. NFC (#118028)

This manual constant folding was added in 2017 in
https://reviews.llvm.org/D29956, but since then it looks like IRBuilder
has learnt to fold it away itself.
I'm not sure at what point this happened, I just verified this by
stepping through the call to CreateVectorSplat in the debugger.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list