[LLVMbugs] [Bug 166] [llvmg++] Code generated to call through a pointer to member function is nasty
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Aug 13 10:25:08 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=166
Chris Lattner <sabre at nondot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Chris Lattner <sabre at nondot.org> 2007-08-13 12:25:07 ---
The original testcase is now completely constant folded away when "ptr" is
marked const:
define void @_ZN4Evil3funEv(%struct.Evil* %this) {
entry:
br label %tailrecurse
tailrecurse: ; preds = %tailrecurse, %entry
br label %tailrecurse
}
The testcase in PR1602 is "devirtualized", and the example in comment 4 is
compiled into "main() { return 0; }"
-Chris
--
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