[llvm-bugs] [Bug 26719] New: Error in description of atomic load instruction

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 23 10:55:35 PST 2016


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

            Bug ID: 26719
           Summary: Error in description of atomic load instruction
           Product: Documentation
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: General docs
          Assignee: unassignedbugs at nondot.org
          Reporter: schnetter at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The documentation of the "load" instruction, as described e.g. on
<http://llvm.org/docs/LangRef.html#load-instruction>, contains an error. The
documentation currently says:

{{{
<result> = load atomic [volatile] <ty>* <pointer> [singlethread] <ordering>,
align <alignment> [, !invariant.group !<index>]
}}}

This is wrong; the expression {{{<ty>* <pointer>}}} should instead be {{{<ty>,
<ty>* <pointer>}}}. The line above, describing non-atomic loads, is correct.

-- 
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/20160223/d1d782ea/attachment.html>


More information about the llvm-bugs mailing list