<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 --- - [InductiveRangeCheckElimination] invalidates domtree and hits asserts w/ XDEBUG"
href="https://llvm.org/bugs/show_bug.cgi?id=27486">27486</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[InductiveRangeCheckElimination] invalidates domtree and hits asserts 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>Windows NT
</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 tests hit asserts in verifyDomTree when LLVM is compiled w/
XDEBUG:
LLVM :: Transforms/IRCE/decrementing-loop.ll
LLVM :: Transforms/IRCE/multiple-access-no-preloop.ll
LLVM :: Transforms/IRCE/only-upper-check.ll
LLVM :: Transforms/IRCE/single-access-no-preloop.ll
LLVM :: Transforms/IRCE/single-access-with-preloop.ll
LLVM :: Transforms/IRCE/with-parent-loops.ll
Sample output:
DominatorTree is not up to date!
Computed:
=============================--------------------------------
Inorder Dominator Tree: DFSNumbers invalid: 7 slow queries.
[1] %entry {0,9}
[2] %exit {7,8}
[2] %loop.preheader {4294967295,4294967295}
[3] %loop {1,6}
[4] %in.bounds {2,3}
[5] %exit.loopexit {4294967295,4294967295}
[4] %out.of.bounds {4,5}
Actual:
=============================--------------------------------
Inorder Dominator Tree:
[1] %entry {0,23}
[2] %loop.preheader {1,20}
[3] %loop.preloop {2,7}
[4] %in.bounds.preloop {3,6}
[5] %preloop.exit.selector {4,5}
[3] %preloop.pseudo.exit {8,15}
[4] %mainloop {9,14}
[5] %loop {10,13}
[6] %in.bounds {11,12}
[3] %exit.loopexit {16,17}
[3] %out.of.bounds {18,19}
[2] %exit {21,22}
#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 0x00007fe1e4d44cb0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0xfcb0)
#4 0x00007fe1e3f090d5 gsignal
/build/eglibc-rrybNj/eglibc-2.15/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:64:0
#5 0x00007fe1e3f0c83b 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 0x0000000001048ce7 llvm::LPPassManager::runOnFunction(llvm::Function&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1048ce7)
#9 0x0000000001418698 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1418698)
#10 0x00000000014188db llvm::FPPassManager::runOnModule(llvm::Module&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x14188db)
#11 0x0000000001418d98 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1418d98)
#12 0x000000000063b74e main
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x63b74e)
#13 0x00007fe1e3ef476d __libc_start_main
/build/eglibc-rrybNj/eglibc-2.15/csu/libc-start.c:258:0
#14 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 -irce
-S
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Loop Pass Manager' on function '@decrementing_loop'</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>