[all-commits] [llvm/llvm-project] 54fedf: [SLP]Fix miscompile from poison base in alias-chec...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Jul 31 12:08:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54fedf4ed12903bb938db99bd77c779b0bc73366
      https://github.com/llvm/llvm-project/commit/54fedf4ed12903bb938db99bd77c779b0bc73366
  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
    M llvm/test/Transforms/SLPVectorizer/X86/runtime-alias-checks.ll

  Log Message:
  -----------
  [SLP]Fix miscompile from poison base in alias-check versioning

Emit the runtime alias check while the block is still fully connected.
LCSSA-preserving SCEV expansion rewrites out-of-loop uses of
loop-defined bases to poison in predecessor-less blocks, corrupting
both the moved body and the scalar fallback clone.

Reviewers: 

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



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