[PATCH] D11200: Improve merging of stores from static constructors in GlobalOpt
Nick Lewycky
nlewycky at google.com
Mon Jul 20 19:50:40 PDT 2015
nlewycky accepted this revision.
nlewycky added a reviewer: nlewycky.
nlewycky added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Transforms/IPO/GlobalOpt.cpp:2011-2012
@@ +2010,4 @@
+ const_iterator;
+
+ GlobalVariable *GetGlobalForPointer(Constant *Ptr) {
+ if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) {
----------------
OK!
Repository:
rL LLVM
http://reviews.llvm.org/D11200
More information about the llvm-commits
mailing list