[all-commits] [llvm/llvm-project] 404af3: [VPlan] Remove stale assertion in HCFG builder.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Feb 20 08:02:17 PST 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
    A llvm/test/Transforms/LoopVectorize/loop-with-constant-exit-condition.ll

  Log Message:
  -----------
  [VPlan] Remove stale assertion in HCFG builder.

The assertion was left over from a time when VPBBs still had an
associated condition bit. This is not the case any more (comment was
stale). In case a branch on condition is needed, a BranchOnCond
VPInstruction is added when constructing recipes. That's also where it
is checked if the condition is available.

Exposed by 38376dee9.



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