[all-commits] [llvm/llvm-project] c75e1e: [SLP] Check for instruction before casting

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon May 4 04:22:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c75e1e62d11be965a4dca0d816a4d19a6684b043
      https://github.com/llvm/llvm-project/commit/c75e1e62d11be965a4dca0d816a4d19a6684b043
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/post-stores-non-inst-ops.ll

  Log Message:
  -----------
  [SLP] Check for instruction before casting

Values can be transformed during earlier attempts for vectorization, so
need to check if they are still instructions to avoid a compiler crash.

Fixes #195607

Reviewers: 

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



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