[all-commits] [llvm/llvm-project] f564a4: [SLP]Fix PR108700: correctly identify id of the op...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Sep 16 09:45:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f564a48f0ea4d2100c0cadfa6e6f20f97244025e
      https://github.com/llvm/llvm-project/commit/f564a48f0ea4d2100c0cadfa6e6f20f97244025e
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-09-16 (Mon, 16 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-user-not-min.ll
    A llvm/test/Transforms/SLPVectorizer/X86/trunc-node-reused.ll

  Log Message:
  -----------
  [SLP]Fix PR108700: correctly identify id of the operand node

If the operand node for truncs is not created during construction, but
one of the previous ones is reused instead, need to correctly identify
its index, to correctly emit the code.

Fixes https://github.com/llvm/llvm-project/issues/108700



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