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

Arnold Schwaighofer via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 10:01:03 PDT 2016


aschwaighofer added a subscriber: aschwaighofer.

================
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(); }
+
----------------
joker.eph wrote:
> 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)
How about calling it PhiCandidateItT?


http://reviews.llvm.org/D19080





More information about the llvm-commits mailing list