[all-commits] [llvm/llvm-project] e3f8c2: [VectorCombine] foldInsExtVectorToShuffle - insert...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Dec 23 07:50:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3f8c229f5710b52d18300b561925e556407ebee
      https://github.com/llvm/llvm-project/commit/e3f8c229f5710b52d18300b561925e556407ebee
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-23 (Mon, 23 Dec 2024)

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

  Log Message:
  -----------
  [VectorCombine] foldInsExtVectorToShuffle - inserting into a poison base vector can be modelled as a single src shuffle

We already canonicalized an undef base vector to the RHS to improve further folding, this extends this to improve the shuffle cost estimate of the single src shuffle



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