[LLVMbugs] [Bug 6682] New: -inline ignores noinline attribute

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 23 06:26:58 PDT 2010


           Summary: -inline ignores noinline attribute
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: arplynn at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Consider the following test case:

declare void @foo() nounwind

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

define void @bazz() nounwind {
    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.

More information about the llvm-bugs mailing list