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: unassignedb...@nondot.org
          Reporter: superjo...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to