[llvm] Ensure NoTrapAfterNoreturn is false for the wasm backend (PR #65876)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 17:05:20 PDT 2023


================
@@ -1,33 +1,130 @@
-; RUN: llc < %s -asm-verbose=false -verify-machineinstrs | FileCheck %s
-; RUN: llc < %s -asm-verbose=false -fast-isel -fast-isel-abort=1 -verify-machineinstrs | FileCheck %s
-
-; Test that LLVM unreachable instruction and trap intrinsic are lowered to
-; wasm unreachable
+; RUN: llc < %s -verify-machineinstrs | FileCheck %s
----------------
aheejin wrote:

I'm not sure if I understand what all the new tests in this file are testing. Currently this file emits the same results for all combination of `--trap-unreachable` and `--no-trap-after-noreturn`. Also without this PR the results are the same. Not sure what this PR is trying to achieve...

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


More information about the llvm-commits mailing list