[all-commits] [llvm/llvm-project] ee8066: [VPlan] Consistently use hasScalarVFOnly (NFC).

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Feb 8 04:20:03 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee806646ad893fcb0d19a75cebcc1f0e0bccabf1
      https://github.com/llvm/llvm-project/commit/ee806646ad893fcb0d19a75cebcc1f0e0bccabf1
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-02-08 (Sat, 08 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlan] Consistently use hasScalarVFOnly (NFC).

Consistently use hasScalarVFOnly instead of using
hasVF(ElementCount::getFixed(1)). Also add an assert to ensure all cases
are covered by hasScalarVFOnly.



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