[llvm-bugs] [Bug 26172] New: llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp:412: possible pointless indirection ?

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 15 23:03:29 PST 2016


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

            Bug ID: 26172
           Summary: llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp:412:
                    possible pointless indirection ?
           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

[trunk/llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp:412]: (warning)
Ineffective statement similar to '*A++;'. Did you intend to write '(*A)++;'?

         *It++;

Maybe the indirection is pointless. Maybe

         It++;

would be better code.

-- 
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/20160116/ab6a1928/attachment.html>


More information about the llvm-bugs mailing list