From 3603ab3f318add99f718ea4053459e6ac48938fb Mon Sep 17 00:00:00 2001 From: Matt Harding Date: Thu, 26 Oct 2023 15:46:50 +0100 Subject: [PATCH] Fix comment in wasm unreachable test --- llvm/test/CodeGen/WebAssembly/unreachable.ll | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/llvm/test/CodeGen/WebAssembly/unreachable.ll b/llvm/test/CodeGen/WebAssembly/unreachable.ll index 72f865842bdca..5368c2ba5b8dc 100644 --- a/llvm/test/CodeGen/WebAssembly/unreachable.ll +++ b/llvm/test/CodeGen/WebAssembly/unreachable.ll @@ -80,11 +80,10 @@ define i32 @missing_ret_unreachable() { unreachable } -; This is similar to the above test, but ensures wasm unreachable is emitted -; This is similar to the above test, but the callee has a 'noreturn' attribute. -; There is an optimization that removes an 'unreachable' after a noreturn call, -; but Wasm backend doesn't use it and ignore `--no-trap-after-noreturn`, if -; given, to generate valid code. +; This is similar to the above test, but the callee has a 'noreturn' attribute. +; There is an optimization that removes an 'unreachable' after a noreturn call, +; but Wasm backend doesn't use it and ignore `--no-trap-after-noreturn`, if +; given, to generate valid code. define i32 @missing_ret_noreturn_unreachable() { ; CHECK-LABEL: missing_ret_noreturn_unreachable: ; CHECK: .functype missing_ret_noreturn_unreachable () -> (i32)