[all-commits] [llvm/llvm-project] 1f919a: VectorCombine: lift one-use limitation in foldExtr...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Thu Oct 10 06:11:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f919aa77805b951fb06b44732a87f1f83929247
      https://github.com/llvm/llvm-project/commit/1f919aa77805b951fb06b44732a87f1f83929247
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/X86/extract-cmp-binop.ll

  Log Message:
  -----------
  VectorCombine: lift one-use limitation in foldExtractedCmps (#110902)

There are artificial one-use limitations on foldExtractedCmps. Adjust
the costs to account for multi-use, and strip the one-use matcher,
lifting the limitations.



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