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

            Bug ID: 19512
           Summary: globalopt can introduce a use of the GOT
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Running globalopt in

@foo = hidden alias void ()* @bar

define void @bar() {
  ret void
}

define void @zed() {
  call void @foo()
  ret void
}


will convert the call into a direct call to bar, which requires a got if
producing PIC code.

-- 
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