[all-commits] [llvm/llvm-project] 5d6218: [PowerPC] extend smaller splats into bigger splats...

RolandF77 via All-commits all-commits at lists.llvm.org
Mon Jun 9 11:01:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d6218d311854a0b5d48ae19636f6abe1e67fc69
      https://github.com/llvm/llvm-project/commit/5d6218d311854a0b5d48ae19636f6abe1e67fc69
  Author: RolandF77 <55763885+RolandF77 at users.noreply.github.com>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/build-vector-tests.ll
    M llvm/test/CodeGen/PowerPC/mul-const-vector.ll
    M llvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll
    M llvm/test/CodeGen/PowerPC/pre-inc-disable.ll
    A llvm/test/CodeGen/PowerPC/splat-extend.ll
    M llvm/test/CodeGen/PowerPC/vec_add_sub_doubleword.ll
    M llvm/test/CodeGen/PowerPC/vector-extend-sign.ll
    M llvm/test/CodeGen/PowerPC/vector-popcnt-128-ult-ugt.ll

  Log Message:
  -----------
  [PowerPC] extend smaller splats into bigger splats (with fix) (#142194)

For pwr9, xxspltib is a byte splat with a range -128 to 127 - it can be
used with a following vector extend sign to make splats of i16, i32, or
i64 element size. For pwr8, vspltisw with a following vector extend sign
can be used to make splats of i64 elements in the range -16 to 15.

Add check for P8 to make sure the 64-bit vector ops are there.



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