[LLVMbugs] [Bug 23608] New: crash in LICM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 21 01:19:54 PDT 2015


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

            Bug ID: 23608
           Summary: crash in LICM
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

C testcase:

typedef struct { int f_iblock; } PyFrameObject;
PyFrameObject *a;
void fn1() {
  void *b[] = {&&TARGET_LOAD_CLASSDEREF, &&_unknown_opcode};
TARGET_LOAD_CLASSDEREF:
  goto * 0;
_unknown_opcode:
  while (a->f_iblock)
    ;
}

$ ./clang a.c -O1 -fsanitize=memory -fsanitize-memory-track-origins=2
[...]
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'Function Pass Manager' on module 'a.c'.
4.    Running pass 'Loop Pass Manager' on function '@fn1'
5.    Running pass 'Loop Invariant Code Motion' on basic block '%1'

-- 
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/20150521/117cc070/attachment.html>


More information about the llvm-bugs mailing list