[LLVMbugs] [Bug 22900] New: CodeExtractor is not debug intrinsic aware

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 13 17:36:18 PDT 2015


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

            Bug ID: 22900
           Summary: CodeExtractor is not debug intrinsic aware
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: tabloid.adroit at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14042
  --> https://llvm.org/bugs/attachment.cgi?id=14042&action=edit
should cause verification fail

opt -instcombine -loop-extract -S DbgIntrinsics.ll


dbg.declare is close to its first use, but the alloca is always in the function
entry block. Singe alloca is not a use of one dbg.declare, Code extractor
generates wrong code.
Similar things happen to dbg.value especially after instcombiner does
LowerDbgDeclare().

-- 
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/20150314/38a7808b/attachment.html>


More information about the llvm-bugs mailing list