[all-commits] [llvm/llvm-project] 7812fc: [VectorCombine] foldBitcastShuf - add support for ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Mar 20 08:07:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7812fcf3d79ef7fe9ec6bcdfc8fd9143864956cb
      https://github.com/llvm/llvm-project/commit/7812fcf3d79ef7fe9ec6bcdfc8fd9143864956cb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M clang/test/CodeGen/X86/avx-shuffle-builtins.c
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll

  Log Message:
  -----------
  [VectorCombine] foldBitcastShuf - add support for binary shuffles (REAPPLIED)

Generalise fold to "bitcast (shuf V0, V1, MaskC) --> shuf (bitcast V0), (bitcast V1), MaskC'".

Reapplied with a clang codegen test fix.

Further prep work for #67803



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