[llvm] bf92eba - Fix comment in wasm unreachable test (#70340)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 10:23:36 PDT 2023


Author: Matt Harding
Date: 2023-10-26T10:23:32-07:00
New Revision: bf92eba697453a358412af806df5b8df29a232e0

URL: https://github.com/llvm/llvm-project/commit/bf92eba697453a358412af806df5b8df29a232e0
DIFF: https://github.com/llvm/llvm-project/commit/bf92eba697453a358412af806df5b8df29a232e0.diff

LOG: Fix comment in wasm unreachable test (#70340)

Some textual editing errors got through this pull request that was
merged a few weeks ago: https://github.com/llvm/llvm-project/pull/65876

This patch clears up the unintentional duplicated line, and white-space
at the end of the lines.

Added: 
    

Modified: 
    llvm/test/CodeGen/WebAssembly/unreachable.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/WebAssembly/unreachable.ll b/llvm/test/CodeGen/WebAssembly/unreachable.ll
index 72f865842bdcaa5..5368c2ba5b8dc1c 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)


        


More information about the llvm-commits mailing list