http://llvm.org/bugs/show_bug.cgi?id=15767

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

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

Hi

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"

Cheers

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to