[all-commits] [llvm/llvm-project] 7a49d8: [VPlan] Skip users outside loop in check for exit ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jul 11 14:05:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a49d80f587eff76d29d1770b1e90e9e13bc5759
      https://github.com/llvm/llvm-project/commit/7a49d80f587eff76d29d1770b1e90e9e13bc5759
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-07-11 (Thu, 11 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/X86/multi-exit-cost.ll

  Log Message:
  -----------
  [VPlan] Skip users outside loop in check for exit pre-compute candidates

When collecting candidates to pre-compute cost for operands of exit
conditions, skip users outside the loop when checking if they are in
ExistInstrs. The users outside the loop should be ignored, as they won't
make a value live in the VPlan.

This fixes a failure when building for X86 with sanitizers on macOS
after b841e2eca3b5c
(https://green.lab.llvm.org/job/llvm.org/job/clang-stage2-cmake-RgSan/287/)



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