[llvm] r355472 - [WebAssembly] Remove trailing whitespaces in tests (NFC)
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 18:00:23 PST 2019
Author: aheejin
Date: Tue Mar 5 18:00:22 2019
New Revision: 355472
URL: http://llvm.org/viewvc/llvm-project?rev=355472&view=rev
Log:
[WebAssembly] Remove trailing whitespaces in tests (NFC)
Reviewers: sbc100
Subscribers: dschuff, jgravelle-google, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58955
Modified:
llvm/trunk/lib/Target/WebAssembly/README.txt
llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-live-interval.ll
llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-move.ll
llvm/trunk/test/MC/WebAssembly/array-fill.ll
llvm/trunk/test/MC/WebAssembly/bss.ll
llvm/trunk/test/MC/WebAssembly/comdat.ll
llvm/trunk/test/MC/WebAssembly/explicit-sections.ll
llvm/trunk/test/MC/WebAssembly/external-func-address.ll
llvm/trunk/test/MC/WebAssembly/function-sections.ll
llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll
llvm/trunk/test/MC/WebAssembly/import-module.ll
llvm/trunk/test/MC/WebAssembly/offset.ll
llvm/trunk/test/MC/WebAssembly/unnamed-data.ll
llvm/trunk/test/MC/WebAssembly/weak.ll
Modified: llvm/trunk/lib/Target/WebAssembly/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/README.txt?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/README.txt (original)
+++ llvm/trunk/lib/Target/WebAssembly/README.txt Tue Mar 5 18:00:22 2019
@@ -14,7 +14,7 @@ can run in browsers and other environmen
Emscripten documentation in general, and this page in particular:
* https://github.com/kripken/emscripten/wiki/New-WebAssembly-Backend
-
+
Rust provides WebAssembly support integrated into Cargo. There are two
main options:
- wasm32-unknown-unknown, which provides a relatively minimal environment
Modified: llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-live-interval.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-live-interval.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-live-interval.ll (original)
+++ llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-live-interval.ll Tue Mar 5 18:00:22 2019
@@ -9,7 +9,7 @@
; ModuleID = 'fib.bc'
source_filename = "fib.c"
; void swap(int* a, int* b);
-;
+;
; __attribute__ ((visibility ("default")))
; int fib(int n) {
; int i, t, a = 0, b = 1;
Modified: llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-move.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-move.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-move.ll (original)
+++ llvm/trunk/test/DebugInfo/WebAssembly/dbg-value-move.ll Tue Mar 5 18:00:22 2019
@@ -11,7 +11,7 @@
; All lifetime markers and attributes were removed.
source_filename = "fib.c"
; void swap(int* a, int* b);
-;
+;
; __attribute__ ((visibility ("default")))
; int fib(int n) {
; int i, t, a = 0, b = 1;
Modified: llvm/trunk/test/MC/WebAssembly/array-fill.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/array-fill.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/array-fill.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/array-fill.ll Tue Mar 5 18:00:22 2019
@@ -19,7 +19,7 @@ target triple = "wasm32-unknown-unknown"
; CHECK-NEXT: Flags: [ VISIBILITY_HIDDEN ]
; CHECK-NEXT: Segment: 0
; CHECK-NEXT: Size: 2
-; CHECK-NEXT: SegmentInfo:
+; CHECK-NEXT: SegmentInfo:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: Name: .data
; CHECK-NEXT: Alignment: 0
Modified: llvm/trunk/test/MC/WebAssembly/bss.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/bss.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/bss.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/bss.ll Tue Mar 5 18:00:22 2019
@@ -61,7 +61,7 @@ target triple = "wasm32-unknown-unknown"
; CHECK-NEXT: Flags: [ ]
; CHECK-NEXT: Segment: 3
; CHECK-NEXT: Size: 0
-; CHECK-NEXT: SegmentInfo:
+; CHECK-NEXT: SegmentInfo:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: Name: .bss.g0
; CHECK-NEXT: Alignment: 2
Modified: llvm/trunk/test/MC/WebAssembly/comdat.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/comdat.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/comdat.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/comdat.ll Tue Mar 5 18:00:22 2019
@@ -24,25 +24,25 @@ define linkonce_odr i32 @sharedFn() #1 c
ret i32 0
}
-; CHECK: Sections:
+; CHECK: Sections:
; CHECK-NEXT: - Type: TYPE
-; CHECK-NEXT: Signatures:
+; CHECK-NEXT: Signatures:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: ReturnType: I32
-; CHECK-NEXT: ParamTypes:
+; CHECK-NEXT: ParamTypes:
; CHECK-NEXT: - Type: IMPORT
-; CHECK-NEXT: Imports:
+; CHECK-NEXT: Imports:
; CHECK-NEXT: - Module: env
; CHECK-NEXT: Field: __linear_memory
; CHECK-NEXT: Kind: MEMORY
-; CHECK-NEXT: Memory:
+; CHECK-NEXT: Memory:
; CHECK-NEXT: Initial: 0x00000001
; CHECK-NEXT: - Module: env
; CHECK-NEXT: Field: __indirect_function_table
; CHECK-NEXT: Kind: TABLE
-; CHECK-NEXT: Table:
+; CHECK-NEXT: Table:
; CHECK-NEXT: ElemType: FUNCREF
-; CHECK-NEXT: Limits:
+; CHECK-NEXT: Limits:
; CHECK-NEXT: Initial: 0x00000000
; CHECK-NEXT: - Module: env
; CHECK-NEXT: Field: funcImport
Modified: llvm/trunk/test/MC/WebAssembly/explicit-sections.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/explicit-sections.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/explicit-sections.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/explicit-sections.ll Tue Mar 5 18:00:22 2019
@@ -11,7 +11,7 @@ target triple = "wasm32-unknown-unknown"
; CHECK: - Type: DATA
-; CHECK-NEXT: Segments:
+; CHECK-NEXT: Segments:
; CHECK-NEXT: - SectionOffset: 6
; CHECK-NEXT: InitFlags: 0
; CHECK-NEXT: Offset:
@@ -57,7 +57,7 @@ target triple = "wasm32-unknown-unknown"
; CHECK-NEXT: Flags: [ ]
; CHECK-NEXT: Segment: 2
; CHECK-NEXT: Size: 4
-; CHECK-NEXT: SegmentInfo:
+; CHECK-NEXT: SegmentInfo:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: Name: .data.global0
; CHECK-NEXT: Alignment: 3
Modified: llvm/trunk/test/MC/WebAssembly/external-func-address.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/external-func-address.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/external-func-address.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/external-func-address.ll Tue Mar 5 18:00:22 2019
@@ -21,11 +21,11 @@ define void @call(i32) {
}
; CHECK: --- !WASM
-; CHECK-NEXT: FileHeader:
+; CHECK-NEXT: FileHeader:
; CHECK-NEXT: Version: 0x00000001
-; CHECK-NEXT: Sections:
+; CHECK-NEXT: Sections:
; CHECK-NEXT: - Type: TYPE
-; CHECK-NEXT: Signatures:
+; CHECK-NEXT: Signatures:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: ReturnType: NORESULT
; CHECK-NEXT: ParamTypes:
Modified: llvm/trunk/test/MC/WebAssembly/function-sections.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/function-sections.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/function-sections.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/function-sections.ll Tue Mar 5 18:00:22 2019
@@ -15,7 +15,7 @@ entry:
; CHECK: - Type: CUSTOM
; CHECK-NEXT: Name: linking
; CHECK-NEXT: Version: 2
-; CHECK-NEXT: SymbolTable:
+; CHECK-NEXT: SymbolTable:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: Kind: FUNCTION
; CHECK-NEXT: Name: foo
Modified: llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll Tue Mar 5 18:00:22 2019
@@ -20,18 +20,18 @@ declare void @func3()
]
; CHECK: - Type: IMPORT
-; CHECK-NEXT: Imports:
+; CHECK-NEXT: Imports:
; CHECK-NEXT: - Module: env
; CHECK-NEXT: Field: __linear_memory
; CHECK-NEXT: Kind: MEMORY
-; CHECK-NEXT: Memory:
+; CHECK-NEXT: Memory:
; CHECK-NEXT: Initial: 0x00000001
; CHECK-NEXT: - Module: env
; CHECK-NEXT: Field: __indirect_function_table
; CHECK-NEXT: Kind: TABLE
-; CHECK-NEXT: Table:
+; CHECK-NEXT: Table:
; CHECK-NEXT: ElemType: FUNCREF
-; CHECK-NEXT: Limits:
+; CHECK-NEXT: Limits:
; CHECK-NEXT: Initial: 0x00000002
; CHECK-NEXT: - Module: env
; CHECK-NEXT: Field: func3
@@ -56,13 +56,13 @@ declare void @func3()
; CHECK-NEXT: - Type: FUNCTION
; CHECK-NEXT: FunctionTypes: [ 0, 1, 0, 1 ]
; CHECK-NEXT: - Type: ELEM
-; CHECK-NEXT: Segments:
-; CHECK-NEXT: - Offset:
+; CHECK-NEXT: Segments:
+; CHECK-NEXT: - Offset:
; CHECK-NEXT: Opcode: I32_CONST
; CHECK-NEXT: Value: 1
; CHECK-NEXT: Functions: [ 5, 7 ]
; CHECK-NEXT: - Type: CODE
-; CHECK-NEXT: Relocations:
+; CHECK-NEXT: Relocations:
; CHECK-NEXT: - Type: R_WASM_FUNCTION_INDEX_LEB
; CHECK-NEXT: Index: 1
; CHECK-NEXT: Offset: 0x00000004
@@ -87,21 +87,21 @@ declare void @func3()
; CHECK-NEXT: - Type: R_WASM_FUNCTION_INDEX_LEB
; CHECK-NEXT: Index: 4
; CHECK-NEXT: Offset: 0x00000045
-; CHECK-NEXT: Functions:
+; CHECK-NEXT: Functions:
; CHECK-NEXT: - Index: 5
-; CHECK-NEXT: Locals:
+; CHECK-NEXT: Locals:
; CHECK-NEXT: Body: 1080808080000B
; CHECK-NEXT: - Index: 6
-; CHECK-NEXT: Locals:
+; CHECK-NEXT: Locals:
; CHECK-NEXT: Body: 02404181808080004100418080808000108180808000450D0000000B0B
; CHECK-NEXT: - Index: 7
-; CHECK-NEXT: Locals:
+; CHECK-NEXT: Locals:
; CHECK-NEXT: Body: 1082808080000B
; CHECK-NEXT: - Index: 8
-; CHECK-NEXT: Locals:
+; CHECK-NEXT: Locals:
; CHECK-NEXT: Body: 02404182808080004100418080808000108180808000450D0000000B0B
; CHECK-NEXT: - Type: DATA
-; CHECK-NEXT: Segments:
+; CHECK-NEXT: Segments:
; CHECK-NEXT: - SectionOffset: 6
; CHECK-NEXT: InitFlags: 0
; CHECK-NEXT: Offset:
@@ -172,7 +172,7 @@ declare void @func3()
; CHECK-NEXT: Name: .data.global1
; CHECK-NEXT: Alignment: 3
; CHECK-NEXT: Flags: [ ]
-; CHECK-NEXT: InitFunctions:
+; CHECK-NEXT: InitFunctions:
; CHECK-NEXT: - Priority: 42
; CHECK-NEXT: Symbol: 9
; CHECK-NEXT: - Priority: 42
Modified: llvm/trunk/test/MC/WebAssembly/import-module.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/import-module.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/import-module.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/import-module.ll Tue Mar 5 18:00:22 2019
@@ -14,7 +14,7 @@ declare void @plain()
attributes #0 = { "wasm-import-module"="bar" "wasm-import-name"="qux" }
; CHECK: - Type: IMPORT
-; CHECK-NEXT: Imports:
+; CHECK-NEXT: Imports:
; CHECK: - Module: bar
; CHECK-NEXT: Field: qux
; CHECK-NEXT: Kind: FUNCTION
Modified: llvm/trunk/test/MC/WebAssembly/offset.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/offset.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/offset.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/offset.ll Tue Mar 5 18:00:22 2019
@@ -13,7 +13,7 @@ define i32 @load_i32_from_negative_addre
}
; CHECK-NEXT: - Index: 1
-; CHECK-NEXT: Locals:
+; CHECK-NEXT: Locals:
; CHECK-NEXT: Body: 41002802030B
define i32 @load_i32_from_wrapped_address() {
%t = load i32, i32* inttoptr (i32 4294967299 to i32*)
Modified: llvm/trunk/test/MC/WebAssembly/unnamed-data.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/unnamed-data.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/unnamed-data.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/unnamed-data.ll Tue Mar 5 18:00:22 2019
@@ -10,14 +10,14 @@ target triple = "wasm32-unknown-unknown"
; CHECK: - Type: DATA
-; CHECK-NEXT: Relocations:
+; CHECK-NEXT: Relocations:
; CHECK-NEXT: - Type: R_WASM_MEMORY_ADDR_I32
; CHECK-NEXT: Index: 0
; CHECK-NEXT: Offset: 0x0000001C
; CHECK-NEXT: - Type: R_WASM_MEMORY_ADDR_I32
; CHECK-NEXT: Index: 1
; CHECK-NEXT: Offset: 0x00000025
-; CHECK-NEXT: Segments:
+; CHECK-NEXT: Segments:
; CHECK-NEXT: - SectionOffset: 6
; CHECK-NEXT: InitFlags: 0
; CHECK-NEXT: Offset:
@@ -45,7 +45,7 @@ target triple = "wasm32-unknown-unknown"
; CHECK-NEXT: - Type: CUSTOM
; CHECK-NEXT: Name: linking
; CHECK-NEXT: Version: 2
-; CHECK-NEXT: SymbolTable:
+; CHECK-NEXT: SymbolTable:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: Kind: DATA
; CHECK-NEXT: Name: .L.str1
@@ -70,7 +70,7 @@ target triple = "wasm32-unknown-unknown"
; CHECK-NEXT: Flags: [ ]
; CHECK-NEXT: Segment: 3
; CHECK-NEXT: Size: 4
-; CHECK-NEXT: SegmentInfo:
+; CHECK-NEXT: SegmentInfo:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: Name: .rodata..L.str1
; CHECK-NEXT: Alignment: 0
Modified: llvm/trunk/test/MC/WebAssembly/weak.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/weak.ll?rev=355472&r1=355471&r2=355472&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/weak.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/weak.ll Tue Mar 5 18:00:22 2019
@@ -13,14 +13,14 @@ entry:
}
; CHECK: - Type: IMPORT
-; CHECK-NEXT: Imports:
+; CHECK-NEXT: Imports:
; CHECK: - Module: env
; CHECK-NEXT: Field: __linear_memory
; CHECK: - Module: env
; CHECK-NEXT: Field: __indirect_function_table
-; CHECK: SymbolTable:
+; CHECK: SymbolTable:
; CHECK-NEXT: - Index: 0
; CHECK-NEXT: Kind: FUNCTION
; CHECK-NEXT: Name: weak_function
More information about the llvm-commits
mailing list