[all-commits] [llvm/llvm-project] 7d1a68: [SystemZ] Use APInt::getAllOnes()

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 5 06:25:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d1a68178ef4332c9bf19a5c959a3ec4cef0285d
      https://github.com/llvm/llvm-project/commit/7d1a68178ef4332c9bf19a5c959a3ec4cef0285d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp

  Log Message:
  -----------
  [SystemZ] Use APInt::getAllOnes()

This was using -1 without setting the signed flag.

Split off from https://github.com/llvm/llvm-project/pull/80309.


  Commit: 67e19e5bb11d8ed2f1b5a0b8145331c8bf4522e9
      https://github.com/llvm/llvm-project/commit/67e19e5bb11d8ed2f1b5a0b8145331c8bf4522e9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp

  Log Message:
  -----------
  [flang] Set isSigned=true for negative constant (NFC)

We're providing this as a negative signed value, so set the flag.
Currently doesn't make a difference, but will assert in the future.

Split out of https://github.com/llvm/llvm-project/pull/80309.


  Commit: 9e9971b100e121b83f1de9e9206cddb52cda4815
      https://github.com/llvm/llvm-project/commit/9e9971b100e121b83f1de9e9206cddb52cda4815
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M llvm/unittests/IR/PatternMatch.cpp

  Log Message:
  -----------
  [PatternMatchTest] Use APInt::getAllOnes() (NFC)

Split out from https://github.com/llvm/llvm-project/pull/80309 to
avoid assertion failures in the future.


Compare: https://github.com/llvm/llvm-project/compare/3d01f0a33b9a...9e9971b100e1

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