[LLVMbugs] [Bug 15767] New: Calls to @llvm.annotation.i32 not being removed before code generation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 17 06:30:49 PDT 2013


            Bug ID: 15767
           Summary: Calls to @llvm.annotation.i32 not being removed before
                    code generation
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: khilan.gudka at cl.cam.ac.uk
                CC: csdavec at swan.ac.uk, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10359
  --> http://llvm.org/bugs/attachment.cgi?id=10359&action=edit
Test case


This bug is similar to #15253 (http://llvm.org/bugs/show_bug.cgi?id=15253).

Annotations added using the clang builtin __builtin_annotation get turned into
calls to the intrinsic @llvm.annotation.i32. However, these intrinsic calls do
not seem to be removed before code generation because the following fatal error
occurs in the backend:

"fatal error: error in backend: Cannot select: intrinsic %llvm.annotation"


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/20130417/60f03677/attachment.html>

More information about the llvm-bugs mailing list