[all-commits] [llvm/llvm-project] a3cc9d: [MergeICmps] Fix -Wsign-compare and typos (NFC)

Jie Fu via All-commits all-commits at lists.llvm.org
Wed May 24 07:24:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3cc9d19b574636821e974365deb0e05f7b7a857
      https://github.com/llvm/llvm-project/commit/a3cc9d19b574636821e974365deb0e05f7b7a857
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MergeICmps.cpp

  Log Message:
  -----------
  [MergeICmps] Fix -Wsign-compare and typos (NFC)

/data/llvm-project/llvm/lib/Transforms/Scalar/MergeICmps.cpp:623:21: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigne
d long') [-Werror,-Wsign-compare]
  for (int i = 0; i < Comparisons.size(); i++) {
                  ~ ^ ~~~~~~~~~~~~~~~~~~
1 error generated.




More information about the All-commits mailing list