[all-commits] [llvm/llvm-project] 96c356: [SLP]Keep scheduled order when moving body in alia...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Jul 31 14:32:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96c356ab71439dbd08fe185ac7b580f7555b1722
      https://github.com/llvm/llvm-project/commit/96c356ab71439dbd08fe185ac7b580f7555b1722
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/runtime-alias-checks-scheduled-order.ll

  Log Message:
  -----------
  [SLP]Keep scheduled order when moving body in alias-check versioning

The scheduler physically reorders the block before versioning, and
emission insertion points depend on that order. Moving the body by the
pre-scheduling snapshot scrambled it and produced use-before-def IR.
Move in the block's current order instead, filtered to the original
body so the emitted check instructions stay in the header block.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/213358



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