[all-commits] [llvm/llvm-project] f4974e: [SLP] Add a check for poison value in AShrChecker

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Nov 29 06:52:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4974e09312afc9549fcfc0304b738d235da9eca
      https://github.com/llvm/llvm-project/commit/f4974e09312afc9549fcfc0304b738d235da9eca
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-11-29 (Fri, 29 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/ashr-node-with-poison.ll

  Log Message:
  -----------
  [SLP] Add a check for poison value in AShrChecker

Need to check if the value in AShrChecker is a poison before casting it
to instruction to avoid compiler crash

Fixes #118030



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