[llvm-bugs] [Bug 31529] New: llvm/lib/Target/X86/X86ISelLowering.cpp:13056: local variable 'NumSentinelElements' set but not used ?

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 4 01:06:11 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31529

            Bug ID: 31529
           Summary: llvm/lib/Target/X86/X86ISelLowering.cpp:13056: local
                    variable 'NumSentinelElements' set but not used ?
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

llvm/lib/Target/X86/X86ISelLowering.cpp:13056]: (style) Variable
'NumSentinelElements' is modified but its new value is never used.

$ fgrep NumSentinelElements trunk/llvm/lib/Target/X86/X86ISelLowering.cpp
  int NumV1Elements = 0, NumV2Elements = 0, NumSentinelElements = 0;
      ++NumSentinelElements;
$ 

I am not sure if this local variable should be used in some
way or can be safely deleted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170104/a8cfbd61/attachment.html>


More information about the llvm-bugs mailing list