[all-commits] [llvm/llvm-project] b455aa: [LoongArch] Propagate demanded bits for CRC[C].W.{...

hev via All-commits all-commits at lists.llvm.org
Sun Jun 14 18:44:58 PDT 2026


  Branch: refs/heads/users/hev/crc
  Home:   https://github.com/llvm/llvm-project
  Commit: b455aa65ffaf7a5e6a6c522813b0ba8d179d3a6d
      https://github.com/llvm/llvm-project/commit/b455aa65ffaf7a5e6a6c522813b0ba8d179d3a6d
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/crc.ll

  Log Message:
  -----------
  [LoongArch] Propagate demanded bits for CRC[C].W.{B,H}.W

CRC byte and halfword instructions only use the low 8 or 16 bits of
their data operand. Propagate these demanded-bit requirements through
SimplifyDemandedBitsForTargetNode() so redundant masking operations can
be removed during DAG combining.



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