[PATCH] D12087: always_inline codegen rewrite

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 17:18:03 PDT 2015


rnk accepted this revision.
rnk added a reviewer: rnk.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm


================
Comment at: lib/CodeGen/CodeGenModule.cpp:463
@@ +462,3 @@
+
+    // if (U.getUser() == GV) continue;
+
----------------
Commented out code?

================
Comment at: lib/CodeGen/CodeGenModule.cpp:479-480
@@ +478,4 @@
+    if (C && !isa<llvm::GlobalValue>(C)) {
+      for (llvm::Use &U : C->uses())
+        U->dump();
+      C->handleOperandChange(V, Replacement, U);
----------------
Some debugging code maybe?


Repository:
  rL LLVM

http://reviews.llvm.org/D12087





More information about the cfe-commits mailing list