[all-commits] [llvm/llvm-project] 0424f5: [GIsel] Add constant-folding for more unary intege...

Alex MacLean via All-commits all-commits at lists.llvm.org
Mon Apr 27 15:01:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0424f5e45af770f6f0372c916e849b3d11de7ee6
      https://github.com/llvm/llvm-project/commit/0424f5e45af770f6f0372c916e849b3d11de7ee6
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    R llvm/test/CodeGen/AArch64/GlobalISel/combine-constant-fold-count.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-constant-fold-unary-int.mir
    M llvm/test/CodeGen/SPIRV/extensions/enable-all-extensions-but-one.ll

  Log Message:
  -----------
  [GIsel] Add constant-folding for more unary integer ops (#194265)

Generalize ConstantFoldCountOp to ConstantFoldUnaryIntOp including
G_ABS, G_BSWAP, G_BITREVERSE



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