http://llvm.org/bugs/show_bug.cgi?id=12060
Nick Lewycky <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Nick Lewycky <[email protected]> 2012-02-21 15:35:34 CST --- Yes, this is a dupe of PR11352. We take the ConstantExpr "i32* getelementptr inbounds (%closure* @f, i32 0, i32 0)" verbatim when processing the store, but when processing the load in @lambda, it globalopt computes that exact same constant-expr but feeds it through ConstantFoldConstantExpression which produces "i32* getelementptr inbounds (%closure* @f, i64 0, i32 0)", which appears to GlobalOpt to be an entirely different pointer. *** This bug has been marked as a duplicate of bug 11352 *** -- 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
