[all-commits] [llvm/llvm-project] 668938: [PowerPC] Optimize bitcast(truncate) patterns usin...

Maryam Moghadas via All-commits all-commits at lists.llvm.org
Tue Apr 7 07:03:47 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 668938917493fe05c98d5b725f68dfd17ab8eb2f
      https://github.com/llvm/llvm-project/commit/668938917493fe05c98d5b725f68dfd17ab8eb2f
  Author: Maryam Moghadas <maryammo at ca.ibm.com>
  Date:   2026-04-07 (Tue, 07 Apr 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    A llvm/test/CodeGen/PowerPC/bitcast-truncate-vec-i1.ll

  Log Message:
  -----------
  [PowerPC] Optimize bitcast(truncate) patterns using vbpermq (#181233)

Use vbpermq and vbpermd to efficiently pack i1 vector bits into scalar
integers, avoiding stack operations during type legalization.
Fixes https://github.com/llvm/llvm-project/issues/171879



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