[all-commits] [llvm/llvm-project] 0eaa69: [VPlan] Handle VPExpandSCEVRecipe in isUniformAfte...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jan 7 13:37:16 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0eaa69eb234798774a08743b64a9aa0cf71c5356
      https://github.com/llvm/llvm-project/commit/0eaa69eb234798774a08743b64a9aa0cf71c5356
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanUtils.h
    M llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination.ll

  Log Message:
  -----------
  [VPlan] Handle VPExpandSCEVRecipe in isUniformAfterVectorization.

VPExpandSCEVRecipes must be placed in the entry and are alway uniform.
This fixes a crash by always identifying them as uniform, even if the
main vector loop region has been removed.

Fixes https://github.com/llvm/llvm-project/issues/121897.



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