[all-commits] [llvm/llvm-project] 07eeb5: [PowerPC] Lower ucmp using subtractions (#146446)

AZero13 via All-commits all-commits at lists.llvm.org
Fri Oct 10 20:34:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07eeb5f08d92d5d396f210c7d5eddd091639121e
      https://github.com/llvm/llvm-project/commit/07eeb5f08d92d5d396f210c7d5eddd091639121e
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2025-10-11 (Sat, 11 Oct 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    M llvm/test/CodeGen/PowerPC/memcmp.ll
    M llvm/test/CodeGen/PowerPC/ucmp.ll

  Log Message:
  -----------
  [PowerPC] Lower ucmp using subtractions (#146446)

Source: Hacker's delight, page 21.

Using the carry, we can use contractions to use the ucmp.



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