[all-commits] [llvm/llvm-project] f3f7f0: [SLP] Fix Wsign-compare warning (NFC) (#131948)

Longsheng Mou via All-commits all-commits at lists.llvm.org
Wed Mar 19 02:02:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3f7f08ecaf0889b16bbe11fd6c9d38586979b1e
      https://github.com/llvm/llvm-project/commit/f3f7f08ecaf0889b16bbe11fd6c9d38586979b1e
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] Fix Wsign-compare warning (NFC) (#131948)

llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:4805:57:
warning: comparison of integer expressions of different signedness:
‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
    [](const auto &P) { return P.value() % 2 != P.index() % 2; }))
                               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~



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