[all-commits] [llvm/llvm-project] 775ae1: [GlobalISel] Add G_ADD for computeNumSignBits (#15...

Yatao Wang via All-commits all-commits at lists.llvm.org
Tue Oct 14 04:01:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 775ae160df1fb8160a2dc0702d010611a886d9a3
      https://github.com/llvm/llvm-project/commit/775ae160df1fb8160a2dc0702d010611a886d9a3
  Author: Yatao Wang <ningxinr at live.cn>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-add.mir
    M llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp

  Log Message:
  -----------
  [GlobalISel] Add G_ADD for computeNumSignBits (#159202)

This patch ports the ISD::ADD handling from SelectionDAG’s ComputeNumSignBits to GlobalISel.

Related to https://github.com/llvm/llvm-project/issues/150515.

---------

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



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