[PATCH] D41866: AMDGPU: Error in SIAnnotateControlFlow instead of assert

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 08:53:09 PST 2018


cfang added inline comments.


================
Comment at: lib/Target/AMDGPU/SIAnnotateControlFlow.cpp:428
+    report_fatal_error("failed to annotate CFG");
+  }
+
----------------
Does the annotation pass have the requirement of structurized CFG?  I remember that there is an OpenMP
code with a conditional branch to a block with a unreachable instruction. Is that CFG unstructurized? 


https://reviews.llvm.org/D41866





More information about the llvm-commits mailing list