[PATCH] D42612: [GlobalOpt] Improve common case efficiency of static global initializer evaluation

Gerolf Hoflehner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 13:10:59 PST 2018


Gerolf added a comment.

I assume you will take care of the comment. LGTM.

Very nice work. Thanks!

-Gerolf



================
Comment at: lib/Transforms/IPO/GlobalOpt.cpp:2339
+    Type *Ty = Init->getType();
+    if (Update) {
+      if (CurrentGV) {
----------------
Update && CurrentGV?


Repository:
  rL LLVM

https://reviews.llvm.org/D42612





More information about the llvm-commits mailing list