[PATCH] SelectionDAGBuilder: move constant initialization out of loop

Owen Anderson resistor at mac.com
Sun Jan 4 18:48:31 PST 2015


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1243
@@ -1245,1 +1242,3 @@
+      const Function *F = I.getParent()->getParent();
+      LLVMContext &Context = F->getContext();
 
----------------
Why do you need to get the context here?

http://reviews.llvm.org/D6834

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list