<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 `dep.isUnknown() && "unexptected dependence type"' failed."
   href="http://llvm.org/bugs/show_bug.cgi?id=18138">18138</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `dep.isUnknown() && "unexptected dependence type"' failed.
          </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>Global Analyses
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>maemarcus@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>$ cat bugpoint-reduced-simplified.ll
; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind uwtable
define void @main() #0 {
entry:
  br i1 undef, label %if.end, label %return

if.end:                                           ; preds = %entry
  br i1 undef, label %for.body.preheader, label %for.cond.i.preheader

for.body.preheader:                               ; preds = %if.end
  br label %for.body

for.cond.i.preheader.loopexit:                    ; preds = %for.body
  br label %for.cond.i.preheader

for.cond.i.preheader:                             ; preds =
%for.cond.i.preheader.loopexit, %if.end
  br i1 undef, label %for.body.i.preheader, label %vector_sum.exit

for.body.i.preheader:                             ; preds =
%for.cond.i.preheader
  br label %for.body.i

for.body:                                         ; preds = %for.body,
%for.body.preheader
  tail call void @drand48() #2
  br i1 undef, label %for.body, label %for.cond.i.preheader.loopexit

for.body.i:                                       ; preds = %for.body.i,
%for.body.i.preheader
  br i1 undef, label %for.body.i, label %vector_sum.exit.loopexit

vector_sum.exit.loopexit:                         ; preds = %for.body.i
  br label %vector_sum.exit

vector_sum.exit:                                  ; preds =
%vector_sum.exit.loopexit, %for.cond.i.preheader
  br label %return

return:                                           ; preds = %vector_sum.exit,
%entry
  ret void
}

; Function Attrs: nounwind
declare void @drand48() #1

attributes #0 = { nounwind uwtable "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"stack-protector-buffer-size"="8" "unsafe-fp-math"="false"
"use-soft-float"="false" }
attributes #1 = { nounwind "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"stack-protector-buffer-size"="8" "unsafe-fp-math"="false"
"use-soft-float"="false" }
attributes #2 = { nounwind }

!llvm.ident = !{!0}

!0 = metadata !{metadata !"clang version 3.5 (trunk 196290)"}


$ opt -print-memdeps bugpoint-reduced-simplified.ll -S -o -
opt: /home/marcusmae/forge/llvm/lib/Analysis/MemDepPrinter.cpp:71: static
{anonymous}::MemDepPrinter::InstTypePair
{anonymous}::MemDepPrinter::getInstTypePair(llvm::MemDepResult): Assertion
`dep.isUnknown() && "unexptected dependence type"' failed.
0  opt             0x000000000152faa3 llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1  opt             0x000000000152fd2a
2  opt             0x000000000152f76e
3  libpthread.so.0 0x00007fc05a86ecb0
4  libc.so.6       0x00007fc059899425 gsignal + 53
5  libc.so.6       0x00007fc05989cb8b abort + 379
6  libc.so.6       0x00007fc0598920ee
7  libc.so.6       0x00007fc059892192
8  opt             0x00000000011efb11
9  opt             0x00000000011effaa
10 opt             0x00000000014ab718
llvm::FPPassManager::runOnFunction(llvm::Function&) + 390
11 opt             0x00000000014ab913
llvm::FPPassManager::runOnModule(llvm::Module&) + 89
12 opt             0x00000000014abc8b
13 opt             0x00000000014ac2a0
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 254
14 opt             0x00000000014ac4b3
llvm::legacy::PassManager::run(llvm::Module&) + 39
15 opt             0x0000000000867b14 main + 5778
16 libc.so.6       0x00007fc05988476d __libc_start_main + 237
17 opt             0x0000000000859799
Stack dump:
0.    Program arguments: opt -print-memdeps bugpoint-reduced-simplified.ll -S
-o - 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.ll'.
2.    Running pass 'Print MemDeps of function' on function '@main'
Aborted (core dumped)</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>