[all-commits] [llvm/llvm-project] 03cb46: [CodeGen] Use getSignedConstant() in more places (...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Feb 18 00:29:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03cb46d248b08fa7ca740d78f0847adcc3e76ad8
      https://github.com/llvm/llvm-project/commit/03cb46d248b08fa7ca740d78f0847adcc3e76ad8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.cpp

  Log Message:
  -----------
  [CodeGen] Use getSignedConstant() in more places (#127501)

Use getSignedConstant() in a few more places, based on a search of
`\bgetConstant(-`. Most of these were fine as-is (e.g. because they work
on 64-bits), but I think it's better to use getSignedConstant()
consistently for negative numbers.



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