[all-commits] [llvm/llvm-project] e80594: [RISCV] Fix -Wsign-compare warning from f8ee58a

Philip Reames via All-commits all-commits at lists.llvm.org
Sat Mar 29 15:51:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8059467ef0041f6735b23ef680eb9070e308e33
      https://github.com/llvm/llvm-project/commit/e8059467ef0041f6735b23ef680eb9070e308e33
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-03-29 (Sat, 29 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Fix -Wsign-compare warning from f8ee58a

lib/Target/RISCV/RISCVISelLowering.cpp:4629:26: error: comparison of integers of different signs: 'unsigned int' and 'int' [-Werror,-Wsign-compare]
 4629 |   for (unsigned i = 0; i != NumElts; ++i) {
      |                        ~ ^  ~~~~~~~
1 error generated.



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