<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 --- - Assertion in RegisterScheduler"
   href="http://llvm.org/bugs/show_bug.cgi?id=15410">15410</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion in RegisterScheduler
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>john.kare.alsaker@gmail.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>An assertion in triggered by constructors in Mesa's llvmpipe library.
This is on Arch Linux x64. The same thing happens with Arch Linux's llvm-amdgpu
snapshot.

Mesa bug: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=61364">https://bugs.freedesktop.org/show_bug.cgi?id=61364</a>

X: /home/zoxc/llvm-build/llvm/include/llvm/Support/CommandLine.h:644: void
llvm::cl::parser<llvm::ScheduleDAGSDNodes *(*)(llvm::SelectionDAGISel *,
llvm::CodeGenOpt::Level)>::addLiteralOption(const char *, const DT &, const
char *) [DataType = llvm::ScheduleDAGSDNodes *(*)(llvm::SelectionDAGISel *,
llvm::CodeGenOpt::Level), DT = llvm::ScheduleDAGSDNodes
*(*)(llvm::SelectionDAGISel *, llvm::CodeGenOpt::Level)]: Assertion
`findOption(Name) == Values.size() && "Option already exists!"' failed.

#0  0x00007f062c62d2c5 in raise () from /usr/lib/libc.so.6
#1  0x00007f062c62e748 in abort () from /usr/lib/libc.so.6
#2  0x00007f062c626312 in __assert_fail_base () from /usr/lib/libc.so.6
#3  0x00007f062c6263c2 in __assert_fail () from /usr/lib/libc.so.6
#4  0x00007f0629ab5f29 in llvm::cl::parser<llvm::ScheduleDAGSDNodes*
(*)(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)>::addLiteralOption<llvm::ScheduleDAGSDNodes*
(*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)> (this=0x7f0628dbec48
<ISHeuristic+96>, Name=0x7f062855fb31 "default", 
    V=@0x7fff009180b8: 0x7f0629a9ca00
<llvm::createDefaultScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)>, HelpStr=0x7f06283e235e "Best scheduler for the
target")
    at /home/zoxc/llvm-build/llvm/include/llvm/Support/CommandLine.h:644
#5  0x00007f0629ab697a in
llvm::RegisterPassParser<llvm::RegisterScheduler>::NotifyAdd
(this=0x7f0628dbec40 <ISHeuristic+88>, N=0x7f062855fb31 "default", 
    C=0x7f0629a9ca00 <llvm::createDefaultScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)>, D=0x7f06283e235e "Best scheduler for the target")
    at
/home/zoxc/llvm-build/llvm/include/llvm/CodeGen/MachinePassRegistry.h:148
#6  0x00007f0629d6c6ef in llvm::MachinePassRegistry::Add (this=0x7f062b008538
<llvm::RegisterScheduler::Registry>, Node=0x7f0628dbedb0
<defaultListDAGScheduler>)
    at /home/zoxc/llvm-build/llvm/lib/CodeGen/MachinePassRegistry.cpp:41
#7  0x00007f06276d16d5 in llvm::RegisterScheduler::RegisterScheduler
(this=0x7f0628dbedb0 <defaultListDAGScheduler>, N=0x7f062855fb31 "default", 
    D=0x7f06283e235e "Best scheduler for the target", C=0x7f0629a9ca00
<llvm::createDefaultScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)>)
    at /home/zoxc/llvm-build/llvm/include/llvm/CodeGen/SchedulerRegistry.h:43
#8  0x00007f06276c41ad in llvm::RegisterScheduler::RegisterScheduler
(this=0x7f0628dbedb0 <defaultListDAGScheduler>, N=0x7f062855fb31 "default", 
    D=0x7f06283e235e "Best scheduler for the target", C=0x7f0629a9ca00
<llvm::createDefaultScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)>)
    at /home/zoxc/llvm-build/llvm/include/llvm/CodeGen/SchedulerRegistry.h:43
#9  0x00007f0626fbd7d9 in __cxx_global_var_init41 () at
/home/zoxc/llvm-build/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:217
#10 0x00007f0626fbd85f in global constructors keyed to a() () at
/home/zoxc/llvm-build/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:268
#11 0x00007f062e2529d6 in call_init () from /lib64/ld-linux-x86-64.so.2</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>