[all-commits] [llvm/llvm-project] 282af2: [VPlan] Remove unneeded checks from PlanCFGBuilder...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue May 6 11:05:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 282af2ddfcfa14a19e2cf596de370c2ead13d0a9
      https://github.com/llvm/llvm-project/commit/282af2ddfcfa14a19e2cf596de370c2ead13d0a9
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

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

  Log Message:
  -----------
  [VPlan] Remove unneeded checks from PlanCFGBuilder::isExternalDef (NFC).

Remove checking if the instruction is in the preheader or exit blocks.
Those checks are redundant and handled by checking if the instruction is
outside the loop below.

Split off as suggested from https://github.com/llvm/llvm-project/pull/137709.



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