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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 10:22:37 PDT 2016


arsenm added inline comments.

================
Comment at: test/CodeGen/AMDGPU/si-annotate-cf-unreachable.ll:30-34
@@ +29,7 @@
+
+bb4:                                              ; preds = %bb3
+  unreachable
+
+bb5:                                              ; preds = %bb3, %bb1
+  unreachable
+}
----------------
There should still be another copy of this function with blocks with code (like a volatile store) before the unreachable


https://reviews.llvm.org/D22025





More information about the llvm-commits mailing list