[LLVMbugs] [Bug 8294] Obvious inline missed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 23 18:28:19 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=8294
Chris Lattner <clattner at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chris Lattner <clattner at apple.com> 2011-01-23 20:28:19 CST ---
good news, this is now fully devirtualized on mainline with clang -O2 or -O3:
define i32 @main() nounwind readnone ssp {
entry:
ret i32 0
}
define unnamed_addr void @_ZN7DerivedC2Ev(%struct.Derived* nocapture %this)
nounwind ssp align 2 {
entry:
%0 = bitcast %struct.Derived* %this to i8***
store i8** getelementptr inbounds ([5 x i8*]* @_ZTV7Derived, i64 0, i64 2),
i8*** %0, align 8
ret void
}
--
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