[llvm] [NVPTX] Only run LowerUnreachable when necessary (PR #109868)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 19:21:00 PDT 2024


================
@@ -24,25 +26,30 @@ define void @kernel_func() {
   call void @throw()
 ; CHECK-TRAP-NOT: exit;
 ; CHECK-TRAP: trap;
+
 ; CHECK-NOTRAP-NOT: trap;
 ; CHECK: exit;
+
+; CHECK-BUG-FIXED-NOT: exit;
+; CHECK-BUG-FIXED: trap;
----------------
justinfargnoli wrote:

328e12c94e186dc8474646d96355ce4e928e8943

https://github.com/llvm/llvm-project/pull/109868


More information about the llvm-commits mailing list