[all-commits] [llvm/llvm-project] bcb15d: [APInt] Slightly simplify APInt::ashrSlowCase. NFC...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Oct 5 10:26:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcb15d00596f8f25310887494f171e7f70386e7c
      https://github.com/llvm/llvm-project/commit/bcb15d00596f8f25310887494f171e7f70386e7c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-10-05 (Sat, 05 Oct 2024)

  Changed paths:
    M llvm/lib/Support/APInt.cpp

  Log Message:
  -----------
  [APInt] Slightly simplify APInt::ashrSlowCase. NFC (#111220)

Use an arithmetic shift for the last word copy when BitShift!=0. This
avoids an explicit sign extend after the shift.



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