<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - LangRef: call's fnty no longer is a pointer type"
   href="https://llvm.org/bugs/show_bug.cgi?id=28516">28516</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LangRef: call's fnty no longer is a pointer type
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Documentation
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>General docs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>j-llvmbugtracker@watlock.be
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm not sure whether this is a documentation or an llvm IR parser bug.

In llvm 3.5, the "fnty" of a call instruction in LLVM IR (if specified) is a
function pointer type and must end in a "*".

In llvm 3.7, the "fnty" of a call instruction in LLVM IR (if specified) appears
to be a plain "function" type and must not end in a "*".

Example:

Accepted by LLVM 3.5:
  %5 = call i32 (i32)* @test(i32 %4)

Accepted by LLVM 3.7:
  %5 = call i32 (i32) @test(i32 %4)

The documentation both for LLVM 3.5 and 3.7 says the "fnty*" syntax is the
correct one. I don't know with which LLVM version exactly this changed.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>