[llvm] [WebAssembly] remove instruction after builtin trap (PR #90207)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 26 14:10:36 PDT 2024
dschuff wrote:
Yeah, it does seem like it could go either way. In fact there is also `llvm.debugtrap` which is not marked as noreturn, so we can't lower it to actual wasm `unreachable`, so we have a pseudoinstruction instead: https://github.com/llvm/llvm-project/blob/d9fd0ddef38bb9d5cce7300ff820272183c09fcd/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td#L113
https://github.com/llvm/llvm-project/pull/90207
More information about the llvm-commits
mailing list