[all-commits] [llvm/llvm-project] 37e531: [UnitTests] Fix APInt signed flags (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Sep 20 03:14:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37e5319a12ba47c18049728804d3d1e1b10c4eb4
      https://github.com/llvm/llvm-project/commit/37e5319a12ba47c18049728804d3d1e1b10c4eb4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M llvm/unittests/ADT/APIntTest.cpp
    M llvm/unittests/ADT/APSIntTest.cpp
    M llvm/unittests/ADT/StringExtrasTest.cpp
    M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
    M llvm/unittests/IR/MetadataTest.cpp
    M llvm/unittests/Support/DivisionByConstantTest.cpp

  Log Message:
  -----------
  [UnitTests] Fix APInt signed flags (NFC)

This makes unit tests compatible with the assertion added in
https://github.com/llvm/llvm-project/pull/106524, by setting the
isSigned flag to the correct value or changing how the value is
constructed.



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