[all-commits] [llvm/llvm-project] 6e574a: [X86] lowerVECTOR_SHUFFLE - canonicalize zeros/one...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 23 03:03:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e574a4fa332cd458dc75dc29027026b2d416b3a
      https://github.com/llvm/llvm-project/commit/6e574a4fa332cd458dc75dc29027026b2d416b3a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/pr34592.ll
    M llvm/test/CodeGen/X86/pr38639.ll
    M llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll
    M llvm/test/CodeGen/X86/vector-shuffle-avx512.ll

  Log Message:
  -----------
  [X86] lowerVECTOR_SHUFFLE - canonicalize zeros/ones/fp splat constants to ensure no undefs (#141214)

Make it easier for splat/element-equivalent detection by ensuring
constant splats contain no undefs.

Integer constants are limited to rematerializable zeros/ones values to
avoid unnecessary scalar_to_vector(int) -> load conversions - we can
relax this later if useful



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