[PATCH] Allow memory intrinsics to be tail calls

Owen Anderson resistor at mac.com
Mon Apr 13 00:30:47 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:4598
@@ +4597,3 @@
+                               MachinePointerInfo(I.getArgOperand(1)));
+    if (MC.getNode() != nullptr)
+      DAG.setRoot(MC);
----------------
This code sequence is repeated in a few places.  Could it be extracted (and commented)?

http://reviews.llvm.org/D8808

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






More information about the llvm-commits mailing list