[all-commits] [llvm/llvm-project] 45513d: Aligned PowerPC Immediate Operand Definitions with...

Lei Huang via All-commits all-commits at lists.llvm.org
Thu Feb 5 08:48:57 PST 2026


  Branch: refs/heads/users/leih137/rewriteImmClassDef
  Home:   https://github.com/llvm/llvm-project
  Commit: 45513ddf1a56250204e21a85702c3a381ce2ff13
      https://github.com/llvm/llvm-project/commit/45513ddf1a56250204e21a85702c3a381ce2ff13
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    A llvm/lib/Target/PowerPC/PPCOperands.td
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.td

  Log Message:
  -----------
  Aligned PowerPC Immediate Operand Definitions with SystemZ Pattern


  Commit: 68ca629ec92ed13ea9cd71e37b9cf8b63b62114b
      https://github.com/llvm/llvm-project/commit/68ca629ec92ed13ea9cd71e37b9cf8b63b62114b
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  Added class integration with SDNodeXForm and PatLeaf


  Commit: 88ec861868b7bed4789c93a7f1160503f27e8c40
      https://github.com/llvm/llvm-project/commit/88ec861868b7bed4789c93a7f1160503f27e8c40
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  Add Multiclasses for complete immediate definitions


  Commit: 15be3b1e988fcb897062dd65ddb1ce2bfbf65ecc
      https://github.com/llvm/llvm-project/commit/15be3b1e988fcb897062dd65ddb1ce2bfbf65ecc
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/lib/Target/PowerPC/PPCInstrFutureMMA.td
    M llvm/lib/Target/PowerPC/PPCInstrP10.td
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  migrated u1imm


  Commit: 384cf15ac096f48cf22c10e03e51a95988fb3ff1
      https://github.com/llvm/llvm-project/commit/384cf15ac096f48cf22c10e03e51a95988fb3ff1
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/lib/Target/PowerPC/PPCInstrFutureMMA.td
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  migrate u2imm


  Commit: 3c94a6edfd6f5b89e8a8863171d1667274ee7788
      https://github.com/llvm/llvm-project/commit/3c94a6edfd6f5b89e8a8863171d1667274ee7788
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCInstrP10.td
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  migrate u4..u12 imm


  Commit: b9b4d31a903ca5443ae5dc000b856325262be3f1
      https://github.com/llvm/llvm-project/commit/b9b4d31a903ca5443ae5dc000b856325262be3f1
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  Simplify Immediate AsmOperand definitions


  Commit: 61fed850b0bb9ffb1e565c90d54e7638539d379c
      https://github.com/llvm/llvm-project/commit/61fed850b0bb9ffb1e565c90d54e7638539d379c
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/lib/Target/PowerPC/PPCInstrFutureMMA.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCInstrP10.td
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  migrate over pcrel class and some code reorg


  Commit: 8938008997b84238ecebc98bbc9d947b75ac7a49
      https://github.com/llvm/llvm-project/commit/8938008997b84238ecebc98bbc9d947b75ac7a49
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td

  Log Message:
  -----------
  In these test cases:
  * CodeGen/PowerPC/pr52894.ll
  * CodeGen/PowerPC/pr52894-32bit.ll

callseq_end is receiving a TargetConstant (524320) but our pattern expects
u16imm_timm.  The value 524320 is larger than what a u16imm can hold
(max 65535), so it's being passed as a TargetConstant instead of matching our
pattern.

ADJCALLSTACKUP and ADJCALLSTACKDOWN need to accept values larger than 16 bits
but seems it's currently setup to take u16imm.  Not sure what's going on
here, reverting so we don't regress current behaviour.


  Commit: a327f93c7ae5e039dc1b10981ac21a4d4474a2c2
      https://github.com/llvm/llvm-project/commit/a327f93c7ae5e039dc1b10981ac21a4d4474a2c2
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrFuture.td
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  merge the 2 operand class into one
remove unnecessary pcrel imm


  Commit: d09b116eaa46ce6d988524540af1d3973957bc96
      https://github.com/llvm/llvm-project/commit/d09b116eaa46ce6d988524540af1d3973957bc96
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  simplify multiclass def


  Commit: 220db2a217bf3249ac4f25c984f6dbe1b29412cc
      https://github.com/llvm/llvm-project/commit/220db2a217bf3249ac4f25c984f6dbe1b29412cc
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  update documentation for atimm and immZero


  Commit: 39ca857a3cdd638fdee35bd2dd12ff89a68c4dc3
      https://github.com/llvm/llvm-project/commit/39ca857a3cdd638fdee35bd2dd12ff89a68c4dc3
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCOperands.td

  Log Message:
  -----------
  update doc for 16imm


Compare: https://github.com/llvm/llvm-project/compare/45513ddf1a56%5E...39ca857a3cdd

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