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

           Summary: -inline ignores noinline attribute
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Consider the following test case:

declare void @foo() nounwind

define void @bar() nounwind {
entry:
    tail call void @foo() nounwind
    ret void
}

define void @bazz() nounwind {
entry:
    tail call void @bar() nounwind noinline
    ret void
}

-inline inlines @bar into @bazz, despite the noinline attribute.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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