AMDGPU: Error in SIAnnotateControlFlow instead of assert
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 17 Jan 2018 16:30:01 +0000 (16:30 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 17 Jan 2018 16:30:01 +0000 (16:30 +0000)
commit1491ca8911e4ae28020e647fe5e2da37df26c43a
tree32d5e2694cc6a13c3f6bb5872493be08a8a08e1a
parent0cfebd94c2b14eaff477a6d3c97c735aee619df6
AMDGPU: Error in SIAnnotateControlFlow instead of assert

This assert typically happens if an unstructured CFG is passed
to the pass. This can happen if the pass is run independently
without the structurizer.

llvm-svn: 322685
llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp