Skip to content

Commit

Permalink
Fix comment in wasm unreachable test (#70340)
Browse files Browse the repository at this point in the history
Some textual editing errors got through this pull request that was
merged a few weeks ago: #65876

This patch clears up the unintentional duplicated line, and white-space
at the end of the lines.
  • Loading branch information
majaha authored Oct 26, 2023
1 parent 5975002 commit bf92eba
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions llvm/test/CodeGen/WebAssembly/unreachable.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bf92eba

Please sign in to comment.