[all-commits] [llvm/llvm-project] 1e3536: [SLP]Fix PR108620: Need to check, if the reduced v...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Sep 13 15:51:34 PDT 2024


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/reduced-val-extracted-and-externally-used.ll

  Log Message:
  -----------
  [SLP]Fix PR108620: Need to check, if the reduced value was transformed

Before trying to include the scalar into the list of
ExternallyUsedValues, need to check, if it was transformed in previous
iteration and use the transformed value, not the original one, to avoid
compiler crash when building external uses.

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



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