diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2024-04-27 21:14:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 21:14:46 +0200 |
commit | 38a2051c5222b3e5245043a3056b3a1e89f69b22 (patch) | |
tree | 4a7b39195386886b3b31e0dc1c6b439c7d215358 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 0336328e970e7e809d52a33a704bb7c05f6e170e (diff) | |
download | llvm-38a2051c5222b3e5245043a3056b3a1e89f69b22.zip llvm-38a2051c5222b3e5245043a3056b3a1e89f69b22.tar.gz llvm-38a2051c5222b3e5245043a3056b3a1e89f69b22.tar.bz2 |
Revert "[WebAssembly] remove instruction after builtin trap" (#90354)
Reverts llvm/llvm-project#90207
LLD Bots are broken.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp index de342e8..cdd39ee 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp @@ -512,10 +512,6 @@ bool WebAssemblyPassConfig::addInstSelector() { // Eliminate range checks and add default targets to br_table instructions. addPass(createWebAssemblyFixBrTableDefaults()); - // unreachable is terminator, non-terminator instruction after it is not - // allowed. - addPass(createWebAssemblyCleanCodeAfterTrap()); - return false; } |