[all-commits] [llvm/llvm-project] b622cc: [X86] LowerCTPOP - check if the operand is a const...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jan 11 06:05:29 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b622cc67d0af9326b9e4f1f91d8be790c57dd86c
      https://github.com/llvm/llvm-project/commit/b622cc67d0af9326b9e4f1f91d8be790c57dd86c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-01-11 (Sat, 11 Jan 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/pr122580.ll

  Log Message:
  -----------
  [X86] LowerCTPOP - check if the operand is a constant when collecting KnownBits

Under certain circumstances, lowering of other instructions can result in computeKnownBits being able to detect a constant that it couldn't previously.

Fixes #122580



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