[all-commits] [llvm/llvm-project] 815a1b: [SystemZ] Use getSignedConstant() where necessary ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Nov 25 00:48:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 815a1bb53a9bb753f9aea177135150b23012550f
      https://github.com/llvm/llvm-project/commit/815a1bb53a9bb753f9aea177135150b23012550f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZOperands.td
    M llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp

  Log Message:
  -----------
  [SystemZ] Use getSignedConstant() where necessary (#117181)

This will avoid assertion failures once we disable implicit truncation
in getConstant().

Inside adjustSubwordCmp() I ended up suppressing the issue with an
explicit cast, because this code deals with a mix of unsigned and signed
immediates.



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