[all-commits] [llvm/llvm-project] 4ed7bc: [VPlan][NFC] Add new getMiddleBlock interface to V...

David Sherwood via All-commits all-commits at lists.llvm.org
Fri Nov 1 03:51:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ed7bcb4a6100b2634580d9ef39e2f4cb3470fe9
      https://github.com/llvm/llvm-project/commit/4ed7bcb4a6100b2634580d9ef39e2f4cb3470fe9
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

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

  Log Message:
  -----------
  [VPlan][NFC] Add new getMiddleBlock interface to VPlan (#113558)

This work is in preparation for PRs #112138 and #88385 where
the middle block is not guaranteed to be the immediate successor
to the region block. I've simply add new getMiddleBlock()
interfaces to VPlan that for now just return

cast<VPBasicBlock>(VectorRegion->getSingleSuccessor())

Once PR #112138 lands we'll need to do more work to discover
the middle block.



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