[all-commits] [llvm/llvm-project] ca318a: Reapply "[VPlan] Handle calls in VPInstruction:opc...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Apr 13 14:43:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca318abfe65a3224b8b6286f836ee4335fde9d95
      https://github.com/llvm/llvm-project/commit/ca318abfe65a3224b8b6286f836ee4335fde9d95
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    A llvm/test/Transforms/LoopVectorize/early-exit-calls.ll
    A llvm/test/Transforms/LoopVectorize/early-exit-unary-ops.ll

  Log Message:
  -----------
  Reapply "[VPlan] Handle calls in VPInstruction:opcodeMayReadOrWriteFromMemory." (#191886)

This reverts commit
https://github.com/llvm/llvm-project/commit/3bf9639ec04544902670ab4199401ac470c1fcca.

The reapply adds trivial support for ExtractValue and InsertValue to fix
the crash causing the revert.

Original message:

Retrieve the called function and check its memory attributes, to
determine if a VPInstruction calling a function reads or writes memory.

Use it to strengthen assert in areAllLoadsDereferenceable.

PR: https://github.com/llvm/llvm-project/pull/190681



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