[llvm-bugs] [Bug 43569] New: [MemorySSA][SimpleUnswitch]Assertion `!NodePtr->isKnownSentinel()' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 4 12:58:52 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43569

            Bug ID: 43569
           Summary: [MemorySSA][SimpleUnswitch]Assertion
                    `!NodePtr->isKnownSentinel()' failed
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: jji at us.ibm.com
                CC: llvm-bugs at lists.llvm.org

$cat t.c

short a;
int b;
void c() {
  for (;;) {
    b = 0;
    for (; b < a; b++)
      ;
  }
}

$clang -fprofile-instr-generate -O3 -fexperimental-new-pass-manager  -mllvm
-enable-nontrivial-unswitch t.c -c

llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:139:
llvm::ilist_iterator::reference
llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, true,
false, void>, false, false>::operator*() const [OptionsT =
llvm::ilist_detail::node_options<llvm::Instruction, true, false, void>,
IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()'
failed.


Assert in llvm::MemorySSAUpdater::moveAllAccesses.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191004/9e6d8135/attachment.html>


More information about the llvm-bugs mailing list