[lld] Ensure NoTrapAfterNoreturn is false for the wasm backend (PR #65876)
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 23:10:41 PDT 2023
================
@@ -71,8 +67,8 @@ declare void @ext_func()
declare i32 @ext_func_i32()
declare void @ext_never_return() noreturn
-; This test emits wasm unreachable to fill in for the missing i32 return value,
-; which is necessary for the function to pass wasm validation.
+; The wasm unreachable in this test is necessary for the function to pass wasm
+; validation.
----------------
aheejin wrote:
```suggestion
; LLVM IR's 'unreachable' is translated to Wasm 'unreachable'.
```
https://github.com/llvm/llvm-project/pull/65876
More information about the llvm-commits
mailing list