[all-commits] [llvm/llvm-project] 8d71a2: [VPlan] Use ExitBocks to check in VPlan::isExitBlo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Apr 6 01:49:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d71a2a905508f32ed201920ef7ac15a3ad8e4e6
      https://github.com/llvm/llvm-project/commit/8d71a2a905508f32ed201920ef7ac15a3ad8e4e6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-04-06 (Sun, 06 Apr 2025)

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

  Log Message:
  -----------
  [VPlan] Use ExitBocks to check in VPlan::isExitBlock (NFC).

Exit blocks of the VPlan are now hold in ExitBlocks. Use it to check if
a block is an exit block. Otherwise we currently mis-classify the scalar
loop header also as exit block, as it is not explicitly connected to the
exit blocks.

NFC at the moment, as the helper currently is never queried with the
scalar header, but that will change in the future.



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