[llvm] r288200 - [StructurizeCFG] Fix infinite loop in rebuildSSA.

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 10:59:54 PST 2016


> On Nov 29, 2016, at 16:49, Justin Lebar via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> +; RUN: opt -o /dev/null -structurizecfg %s
> +
> +; The following function caused an infinite loop inside the structurizer's
> +; rebuildSSA routine, where we were iterating over an instruction's uses while
> +; modifying the use list, without taking care to do this safely.
> +
> +target triple = "amdgcn--"
> +

I think you need to either remove the amdgpu specific parts of the IR, or create an AMDGPU subdirectory with required AMDGPU target in the lit.local.cfg

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161130/8c7ccec8/attachment.html>


More information about the llvm-commits mailing list