[PATCH] D24797: Only insert debug nodes after a phi if there is a valid insertion point

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 09:14:18 PDT 2016


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

Given our current restrictions for the catchswitch instruction this change is LGTM.
An alternative would be to relax the requirement that a catchswitch instruction is the getFirstNonPHIOrDbg() rather than getFirstNonPHI() instruction in the block.


https://reviews.llvm.org/D24797





More information about the llvm-commits mailing list