<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 --- - [LoopVersioning] lit test hits invalid domtree assert w/ XDEBUG"
   href="https://llvm.org/bugs/show_bug.cgi?id=27487">27487</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[LoopVersioning] lit test hits invalid domtree assert w/ XDEBUG
          </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>Scalar Optimizations
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>gberry@codeaurora.org
          </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>The following lit test hits an assert in verifyDomTree() when LLVM is compiled
w/ XDEBUG:

    LLVM :: Transforms/LoopVersioning/noalias-version-twice.ll

Output:

/local/mnt/gberry/test/build-xdbg/llvm/./bin/opt -basicaa -loop-distribute
-scoped-noalias -loop-versioning -S <
/local/mnt/gberry/test/llvm/test/Transforms/LoopVersioning/noalias-version-twice.ll
| /local/mnt/gberry/test/build-xdbg/llvm/./bin/FileCheck
/local/mnt/gberry/test/llvm/test/Transforms/LoopVersioning/noalias-version-twice.ll
--
Exit Code: 2

Command Output (stderr):
--
DominatorTree is not up to date!
Computed:
=============================--------------------------------
Inorder Dominator Tree: DFSNumbers invalid: 4 slow queries.
  [1] %entry {0,23}
    [2] %for.body.lver.check {1,22}
      [3] %for.body.lver.orig.lver.check {2,5}
        [4] %for.body.lver.orig.ph {4294967295,4294967295}
          [5] %for.body.lver.orig {3,4}
        [4] %for.body.lver.orig.ph.lver.orig {4294967295,4294967295}
          [5] %for.body.lver.orig.lver.orig {4294967295,4294967295}
        [4] %for.end {17,18}
      [3] %for.body.ldist1.lver.check {6,21}
        [4] %for.body.ldist1.ph {4294967295,4294967295}
          [5] %for.body.ldist1 {7,20}
        [4] %for.body.ldist1.ph.lver.orig {4294967295,4294967295}
          [5] %for.body.ldist1.lver.orig {4294967295,4294967295}
        [4] %for.body.lver.check40 {8,19}
          [5] %for.body.ph {9,12}
            [6] %for.body {10,11}
          [5] %for.body.ph.lver.orig41 {13,16}
            [6] %for.body.lver.orig42 {14,15}

Actual:
=============================--------------------------------
Inorder Dominator Tree: 
  [1] %entry {0,35}
    [2] %for.body.lver.check {1,34}
      [3] %for.body.lver.orig.lver.check {2,11}
        [4] %for.body.lver.orig.ph.lver.orig {3,6}
          [5] %for.body.lver.orig.lver.orig {4,5}
        [4] %for.body.lver.orig.ph {7,10}
          [5] %for.body.lver.orig {8,9}
      [3] %for.end {12,13}
      [3] %for.body.ldist1.lver.check {14,33}
        [4] %for.body.ldist1.ph.lver.orig {15,18}
          [5] %for.body.ldist1.lver.orig {16,17}
        [4] %for.body.lver.check40 {19,28}
          [5] %for.body.ph.lver.orig41 {20,23}
            [6] %for.body.lver.orig42 {21,22}
          [5] %for.body.ph {24,27}
            [6] %for.body {25,26}
        [4] %for.body.ldist1.ph {29,32}
          [5] %for.body.ldist1 {30,31}
#0 0x00000000017f7158 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x17f7158)
#1 0x00000000017f5946 llvm::sys::RunSignalHandlers()
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x17f5946)
#2 0x00000000017f7c86 SignalHandler(int)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x17f7c86)
#3 0x00007f5dec901cb0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0xfcb0)
#4 0x00007f5debac60d5 gsignal
/build/eglibc-rrybNj/eglibc-2.15/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:64:0
#5 0x00007f5debac983b abort
/build/eglibc-rrybNj/eglibc-2.15/stdlib/abort.c:93:0
#6 0x00000000013dd53a llvm::DominatorTree::verifyDomTree() const
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x13dd53a)
#7 0x0000000001414f69 llvm::PMDataManager::verifyPreservedAnalysis(llvm::Pass*)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1414f69)
#8 0x0000000001418708 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1418708)
#9 0x00000000014188db llvm::FPPassManager::runOnModule(llvm::Module&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x14188db)
#10 0x0000000001418d98 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1418d98)
#11 0x000000000063b74e main
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x63b74e)
#12 0x00007f5debab176d __libc_start_main
/build/eglibc-rrybNj/eglibc-2.15/csu/libc-start.c:258:0
#13 0x0000000000626cad _start
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x626cad)
Stack dump:
0.    Program arguments: /local/mnt/gberry/test/build-xdbg/llvm/./bin/opt
-basicaa -loop-distribute -scoped-noalias -loop-versioning -S 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
FileCheck error: '-' is empty.</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>