[all-commits] [llvm/llvm-project] 9d923e: [PowerPC] Implement Deeply Compressed Weights Buil...

Lei Huang via All-commits all-commits at lists.llvm.org
Thu Apr 16 08:37:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d923ec59516041609038fabeaae8202026adec6
      https://github.com/llvm/llvm-project/commit/9d923ec59516041609038fabeaae8202026adec6
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/Headers/altivec.h
    M clang/lib/Sema/SemaPPC.cpp
    A clang/test/CodeGen/PowerPC/builtins-ppc-deeply-compressed-weights.c
    A clang/test/Sema/builtins-ppc-deeply-compressed-weights-error.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCInstrFuture.td
    A llvm/test/CodeGen/PowerPC/deeply-compressed-weights.ll

  Log Message:
  -----------
  [PowerPC] Implement Deeply Compressed Weights Builtins (#184666)

Add support for the following deeply compressed weights builtins for ISA
Future.
- vec_uncompresshn(vector unsigned char, vector unsigned char)
- vec_uncompressln(vector unsigned char, vector unsigned char)
- vec_uncompresshb(vector unsigned char, vector unsigned char)
- vec_uncompresslb(vector unsigned char, vector unsigned char)
- vec_uncompresshh(vector unsigned char, vector unsigned char)
- vec_uncompresslh(vector unsigned char, vector unsigned char)
- vec_unpack_hsn_to_byte(vector unsigned char)
- vec_unpack_lsn_to_byte(vector unsigned char)
- vec_unpack_int4_to_bf16(vector unsigned char, uint2)
- vec_unpack_int8_to_bf16(vector unsigned char, uint1)
- vec_unpack_int4_to_fp32(vector unsigned char, uint3)
- vec_unpack_int8_to_fp32(vector unsigned char, uint2)

Assisted by AI.



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