[PATCH] D22025: AMDGPU/SI: Do not insert EndCf in an unreachable block

Changpeng Fang via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 12:39:44 PDT 2016

cfang added a comment.

I think the key is the FirstInsertionPt in the BB is a Unreachable. This should essentially guarantee no other instructions before this Unreachable (PHI, Landing Pad?).
I think we are safe here not to insert the end cf. And we may need come informative comments here.


More information about the llvm-commits mailing list