llvm / llvm/llvm-project

Issues found PVS studio static analyzer. LoopUnrollAndJam.cpp

Open
#170,126 4 comments 0 reactions 0 assignees View on GitHub
code-quality loopoptim
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Main issue:
https://github.com/llvm/llvm-project/issues/169959
20. Minor misoptimization. The PVS-Studio warning: V791 The initial value of the index in the nested loop equals 'I'. Perhaps, 'I + 1' should be used instead. LoopUnrollAndJam.cpp 793

Contributor guide

Open the contributing guide

Research direction

Start with LoopUnrollAndJam.cpp around line 793 and read the related issue #169959 for context on the PVS-Studio V791 warning. Determine whether the warning represents a real misoptimization, then confirm the intended loop behavior and add or update coverage as appropriate; done means the reported issue is addressed and the relevant compiler tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.