[all-commits] [llvm/llvm-project] 25c941: [InstCombine][X86] Add vpermilpd/vpermilps test co...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Aug 29 04:54:08 PDT 2024


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll

  Log Message:
  -----------
  [InstCombine][X86] Add vpermilpd/vpermilps test coverage for #106413


  Commit: d57c04647e6f0a6f0cd79e280c257f570e8f30f4
      https://github.com/llvm/llvm-project/commit/d57c04647e6f0a6f0cd79e280c257f570e8f30f4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

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

  Log Message:
  -----------
  [InstCombine][X86] Only demand used bits for VPERMILPD/VPERMILPS mask values

VPERMILPS lower bits0-3 (to index per-lane i32/f32 0-3)
VPERMILPD uses bit1  (to index per-lane i64/f64 0-1)

Use SimplifyDemandedBits to ignore anything touching the remaining bits.

Part of #106413


Compare: https://github.com/llvm/llvm-project/compare/cb608cc5f62b...d57c04647e6f

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