[all-commits] [llvm/llvm-project] 825496: [X86] LowerINSERT_VECTOR_ELT - always lower v32i8/...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 20 10:43:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 825496606206580b9b514e0013857bebfb1a8141
      https://github.com/llvm/llvm-project/commit/825496606206580b9b514e0013857bebfb1a8141
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-06-20 (Mon, 20 Jun 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/insertelement-ones.ll

  Log Message:
  -----------
  [X86] LowerINSERT_VECTOR_ELT - always lower v32i8/v16i16 allones insertions on AVX1 as OR ops

v32i8/v16i16 blend shuffles on AVX1 will expand to OR(AND,ANDN) patterns which can be easily broken by other combines




More information about the All-commits mailing list