[all-commits] [llvm/llvm-project] 750247: [ARM] Fix APInt assert for CSNEG known bits.

David Green via All-commits all-commits at lists.llvm.org
Mon Nov 11 11:39:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 750247bc1cc34629a73f8311ccb87e3d7c03ae23
      https://github.com/llvm/llvm-project/commit/750247bc1cc34629a73f8311ccb87e3d7c03ae23
  Author: David Green <david.green at arm.com>
  Date:   2024-11-11 (Mon, 11 Nov 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/csel.ll

  Log Message:
  -----------
  [ARM] Fix APInt assert for CSNEG known bits.

Use APInt::getAllOnes(32), to avoid the assert when constructing an APInt
from -1.



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