[all-commits] [llvm/llvm-project] 6ce9e3: [GISel] handle CTTZ in `computeKnownBits` (#181474)

Aayush Sabharwal via All-commits all-commits at lists.llvm.org
Sun Feb 15 15:43:27 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ce9e363e0022d6f3ef42363cfb1761aaed4f77b
      https://github.com/llvm/llvm-project/commit/6ce9e363e0022d6f3ef42363cfb1761aaed4f77b
  Author: Aayush Sabharwal <aayush.sabharwal at gmail.com>
  Date:   2026-02-15 (Sun, 15 Feb 2026)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-cttz.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz-zero-undef.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
    M llvm/test/CodeGen/AMDGPU/cttz.ll
    M llvm/test/CodeGen/X86/GlobalISel/legalize-trailing-zeros-undef.mir
    M llvm/test/CodeGen/X86/GlobalISel/legalize-trailing-zeros.mir

  Log Message:
  -----------
  [GISel] handle CTTZ in `computeKnownBits` (#181474)

Addresses part of #150515. Adapted from the CTLZ code below this



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