[PATCH] D23760: Place the lowered phi instruction(s) before the DEBUG_VALUE entry

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 13:17:55 PDT 2016


aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.

Looks reasonable to me. Thanks!


================
Comment at: include/llvm/CodeGen/MachineBasicBlock.h:463
@@ +462,3 @@
+  /// Return the first instruction in MBB after I that is not a PHI, label or
+  /// debug.  This is the correct point to insert copies at the beginning of a
+  /// basic block.
----------------
or debug intrinsic. (?)
Sounds marginally better to my ears ;-)


https://reviews.llvm.org/D23760





More information about the llvm-commits mailing list