[all-commits] [llvm/llvm-project] 8e9e38: [X86] Try to shrink i64 compares if the input has ...

AZero13 via All-commits all-commits at lists.llvm.org
Sat Aug 2 10:01:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e9e38acc8ff4c3bcae74e85a65e499947264782
      https://github.com/llvm/llvm-project/commit/8e9e38acc8ff4c3bcae74e85a65e499947264782
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2025-08-02 (Sat, 02 Aug 2025)

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

  Log Message:
  -----------
  [X86] Try to shrink i64 compares if the input has enough sign bits (#149719)

If there are enough sign bits in a 64 bit value, we can just compare the bottom 32 bits.

---------

Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



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