[all-commits] [llvm/llvm-project] a9f4d3: [GlobalISel] Add G_VECTOR_COMPRESS support of comp...

Vikash Gupta via All-commits all-commits at lists.llvm.org
Mon Sep 21 06:05:22 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9f4d3ff18c554d29bbabc546f9a9df0376701e0
      https://github.com/llvm/llvm-project/commit/a9f4d3ff18c554d29bbabc546f9a9df0376701e0
  Author: Vikash Gupta <Vikash.Gupta at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-vector-compress.mir

  Log Message:
  -----------
  [GlobalISel] Add G_VECTOR_COMPRESS support of computeKnownBits & computeNumSignBits (#223967)

Port the value tracking for ISD::VECTOR_COMPRESS to the GlobalISel
G_VECTOR_COMPRESS. Each result lane is either a lane of the source or
the passthrough operand, so:
  - KnownBits is the intersection of the source and passthrough and,
  - the number of sign bits is the minimum of the two.



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