<html>
    <head>
      <base href="http://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 --- - TableGen miscompiled on ppc64(le)"
   href="http://llvm.org/bugs/show_bug.cgi?id=22648">22648</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TableGen miscompiled on ppc64(le)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>TableGen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>octoploid@yandex.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On both ppc64 and ppc64le TableGen gets obviously miscompiled:

...
Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/ValueSymbolTable.cpp.o
Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Verifier.cpp.o
error:ERROR: Couldn't find the `romInstrion' class!

lib/Target/X86/CMakeFiles/X86CommonTableGen.dir/build.make:321: recipe for
target 'lib/Target/X86/X86GenAsmWriter.inc.tmp' failed
make[2]: *** [lib/Target/X86/X86GenAsmWriter.inc.tmp] Error 1
make[2]: *** Waiting for unfinished jobs....
error:ERROR: Couldn't find the `romInstrion' class!

lib/Target/X86/CMakeFiles/X86CommonTableGen.dir/build.make:537: recipe for
target 'lib/Target/X86/X86GenFastISel.inc.tmp' failed
make[2]: *** [lib/Target/X86/X86GenFastISel.inc.tmp] Error 1
In file included from /home/trippels/llvm/lib/IR/Function.cpp:841:0:
/home/trippels/llvm_build/include/llvm/IR/Intrinsics.gen: In function
‘llvm::AttributeSet llvm::Intrinsic::getAttributes(llvm::LLVMContext&,
llvm::Intrinsic::ID)’:
/home/trippels/llvm_build/include/llvm/IR/Intrinsics.gen:42029:9: error: ‘eak’
was not declared in this scope
         eak;
         ^
/home/trippels/llvm_build/include/llvm/IR/Intrinsics.gen:42037:9: error: ‘eak’
was not declared in this scope
         eak;
         ^
/home/trippels/llvm_build/include/llvm/IR/Intrinsics.gen:42043:9: error: ‘eak’
was not declared in this scope
         eak;
         ^
/home/trippels/llvm_build/include/llvm/IR/Intrinsics.gen:42051:9: error: ‘eak’
was not declared in this scope
...

llvm-3.6 is also affected. llvm-3.5 is fine.</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>