[all-commits] [llvm/llvm-project] d59508: [SLP]Fix PR87384: check for fixed vector type befo...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Apr 2 11:42:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d595080b48297c6225eedb71d1985786fa9d55bd
      https://github.com/llvm/llvm-project/commit/d595080b48297c6225eedb71d1985786fa9d55bd
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/RISCV/mixed-extracts-types.ll

  Log Message:
  -----------
  [SLP]Fix PR87384: check for fixed vector type before using.

If we have mixed extractelement instructions, fixed and scalable ones,
need to check that compiler tries to estimate the cost for fixed vector
extractelement, not the scalable one, to avoid compiler crash.



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