[all-commits] [llvm/llvm-project] 122874: [X86] Fold scalar_to_vector(shift(x, imm)) -> vshif...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Sep 5 08:18:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 122874c955e06defb619b1afd4e26db482dbbf19
      https://github.com/llvm/llvm-project/commit/122874c955e06defb619b1afd4e26db482dbbf19
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/buildvec-insertvec.ll
    M llvm/test/CodeGen/X86/known-signbits-vector.ll
    M llvm/test/CodeGen/X86/load-scalar-as-vector.ll
    M llvm/test/CodeGen/X86/pr44915.ll
    M llvm/test/CodeGen/X86/vec_insert-5.ll
    M llvm/test/CodeGen/X86/vec_shift5.ll
    M llvm/test/CodeGen/X86/vector-sext.ll
    M llvm/test/CodeGen/X86/vector-shuffle-combining.ll

  Log Message:
  -----------
  [X86] Fold scalar_to_vector(shift(x,imm)) -> vshift(scalar_to_vector(x),imm)

Noticed while working on #107289



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