[all-commits] [llvm/llvm-project] bc7487: [VPlan] Cast header and latch to VPBasicBlock earl...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Jul 27 01:51:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc7487d8ed1e9afcf709492c64359861e61af91d
      https://github.com/llvm/llvm-project/commit/bc7487d8ed1e9afcf709492c64359861e61af91d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-07-27 (Sun, 27 Jul 2025)

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

  Log Message:
  -----------
  [VPlan] Cast header and latch to VPBasicBlock early (NFC).

There are only VPBasicBlocks when prepareForVectorization is called.
Cast them early instead of having multiple casts later on.


  Commit: c9a87b45a355d4f60cb6a06099e47a8ccaea7c63
      https://github.com/llvm/llvm-project/commit/c9a87b45a355d4f60cb6a06099e47a8ccaea7c63
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-07-27 (Sun, 27 Jul 2025)

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

  Log Message:
  -----------
  [VPlan] Retrieve latch terminator from VPlan. (NFC)

Remove an unnecessary lookup via original IR loop.


Compare: https://github.com/llvm/llvm-project/compare/a7c9563995cd...c9a87b45a355

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