[lld] [llvm] [WebAssembly] Add a newline at end of file (PR #212674)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 28 20:13:57 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-webassembly
Author: Heejin Ahn (aheejin)
<details>
<summary>Changes</summary>
Some tests files lack a newline at end of file. This adds them.
---
Full diff: https://github.com/llvm/llvm-project/pull/212674.diff
3 Files Affected:
- (modified) lld/test/wasm/lto/libcall-archive-bitcode.ll (+1-1)
- (modified) llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll (+1-1)
- (modified) llvm/test/CodeGen/WebAssembly/imported-const-global.ll (+1-1)
``````````diff
diff --git a/lld/test/wasm/lto/libcall-archive-bitcode.ll b/lld/test/wasm/lto/libcall-archive-bitcode.ll
index 3b640efc1091f..dd2e2fddbdc97 100644
--- a/lld/test/wasm/lto/libcall-archive-bitcode.ll
+++ b/lld/test/wasm/lto/libcall-archive-bitcode.ll
@@ -53,4 +53,4 @@ define i32 @_start() {
ret i32 0
}
-declare i32 @printf(ptr, ...)
\ No newline at end of file
+declare i32 @printf(ptr, ...)
diff --git a/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll b/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll
index 0953010b50125..3fe75209aa2ea 100644
--- a/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll
+++ b/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll
@@ -13,4 +13,4 @@ define i32 @foo() {
}
; CHECK: .globaltype defined_g, i32, immutable
-; CHECK: defined_g_alias = defined_g
\ No newline at end of file
+; CHECK: defined_g_alias = defined_g
diff --git a/llvm/test/CodeGen/WebAssembly/imported-const-global.ll b/llvm/test/CodeGen/WebAssembly/imported-const-global.ll
index 3a29cd042228e..b59704deec042 100644
--- a/llvm/test/CodeGen/WebAssembly/imported-const-global.ll
+++ b/llvm/test/CodeGen/WebAssembly/imported-const-global.ll
@@ -25,4 +25,4 @@ define i32 @goo() {
; OBJ: Field: imported_g
; OBJ: Kind: GLOBAL
; OBJ: GlobalType: I32
-; OBJ: GlobalMutable: false
\ No newline at end of file
+; OBJ: GlobalMutable: false
``````````
</details>
https://github.com/llvm/llvm-project/pull/212674
More information about the llvm-commits
mailing list