[llvm] [NVPTX] Only run LowerUnreachable when necessary (PR #109868)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 11:07:15 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;
----------------
Artem-B wrote:
Let's convert the test to use autogenerated checks.
The negative checks give me headaches and are often broken.
https://github.com/llvm/llvm-project/pull/109868
More information about the llvm-commits
mailing list