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

Matt Harding via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 04:00:48 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
----------------
majaha wrote:

Check out the first commit: [Add no-trap-after-noreturn flag and wasm tests](https://github.com/llvm/llvm-project/pull/65876/commits/7c43c803764bf9e0256d4e3e9f497d2622bb8f69). The file definitely didn't emit the same results then! Remember, the --no-trap-after-noreturn option didn't exist before this PR :)

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


More information about the llvm-commits mailing list