[llvm-bugs] [Bug 34651] New: assertion failure in NewGVN

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 17 14:38:22 PDT 2017


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

            Bug ID: 34651
           Summary: assertion failure in NewGVN
           Product: libraries
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: superjoe30 at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19169
  --> https://bugs.llvm.org/attachment.cgi?id=19169&action=edit
IR that causes the assertion failure

opt -newgvn test.ll

opt: /home/andy/downloads/llvm-project/llvm/include/llvm/Support/Casting.h:106:
static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To =
llvm::Instruction; From = llvm::Value]: Assertion `Val && "isa<> used on a null
pointer"' failed.


This is with llvm 5.0.0.

-- 
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/20170917/1d0d2978/attachment.html>


More information about the llvm-bugs mailing list