[all-commits] [llvm/llvm-project] 2e5a5f: [X86] Add test showing failure to remove sign spla...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Oct 1 06:55:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e5a5fdd329073e3d4b174743dfc7fca655e9491
      https://github.com/llvm/llvm-project/commit/2e5a5fdd329073e3d4b174743dfc7fca655e9491
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-10-01 (Wed, 01 Oct 2025)

  Changed paths:
    A llvm/test/CodeGen/X86/combine-pack.ll

  Log Message:
  -----------
  [X86] Add test showing failure to remove sign splats from PACKSS intrinsics (#161518)

PACKSS intrinsic calls are only expanded to X86ISD::PACKSS nodes during
legalisation, after which time we fail to handle cases where ASHR sign
splats (now lowered to X86ISD::VSRAI) are unnecessary.

Add additional example of FREEZE(PACKSS()) as that's an issue as well.



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