[PATCH] D19080: allow SSAUpdater to be used for Swift

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 15:45:15 PDT 2016


joker.eph added inline comments.

================
Comment at: lib/CodeGen/MachineSSAUpdater.cpp:252
@@ +251,3 @@
+  static PhiItT PhiItT_begin(BlkT *BB) { return BB->begin(); }
+  static PhiItT PhiItT_end(BlkT *BB) { return BB->end(); }
+
----------------
The interface is somehow lying: `PhiItT_end` is not the end of the PHIs list.
(not that I have a great suggestion to solve that)


http://reviews.llvm.org/D19080





More information about the llvm-commits mailing list