[PATCH] D22021: AMDGPU/SI: Don't handle a loop if there is no loop at all for a terminator BB.

Changpeng Fang via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 11:10:14 PDT 2016


cfang added a comment.

In https://reviews.llvm.org/D22021#474656, @arsenm wrote:

> The test also should run the IR pass itself and check for the inserted control flow intrinsics


For this patch, we give up "HandleLoop" if there is no loop. So I am not sure what to check for the inserted intrinsics.
Without the patch, there will be segfault.


https://reviews.llvm.org/D22021





More information about the llvm-commits mailing list