[all-commits] [llvm/llvm-project] d1f3fe: [InstCombine][X86] Only demand the active index bi...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Aug 31 03:52:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1f3fecf11a1013dcea12c93a3aaf9e4b6164f92
      https://github.com/llvm/llvm-project/commit/d1f3fecf11a1013dcea12c93a3aaf9e4b6164f92
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-31 (Sat, 31 Aug 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-vperm.ll
    M llvm/test/Transforms/InstCombine/X86/x86-vpermi2.ll

  Log Message:
  -----------
  [InstCombine][X86] Only demand the active index bits for VPERMV/VPERMV3 mask values (#106750)

VPERMV/VPERMV3 only uses the lower bits of the vector element indices - so use SimplifyDemandedBits to ignore anything touching the remaining bits.

Fixes #106413



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