Skip to content

Commit e658fde

Browse files
update test comments
1 parent ea40919 commit e658fde

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/test/ThinLTO/X86/import_callee_declaration.ll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
; RUN: opt -passes=function-import -summary-file=main.bc.thinlto.bc main.bc -o main-after-import.bc
7979
; RUN: llvm-dis -o - main-after-import.bc | FileCheck %s --check-prefix=MAIN-IMPORT
8080

81+
; Tests that dso_local attribute is applied on a global var from its summary.
8182
MAIN-IMPORT: @read_write_global_vars = external dso_local global [1 x ptr]
8283

8384
; Run in-process ThinLTO and tests that
@@ -128,10 +129,11 @@ MAIN-IMPORT: @read_write_global_vars = external dso_local global [1 x ptr]
128129

129130
; RUN: llvm-dis in-process.2.2.internalize.bc -o - | FileCheck %s --check-prefix=INTERNALIZE
130131

131-
; IMPORT-DAG: @read_write_global_vars = external dso_local global [1 x ptr]
132132
; IMPORT-DAG: define available_externally void @small_func
133133
; IMPORT-DAG: define available_externally hidden void @small_indirect_callee
134134
; IMPORT-DAG: declare void @large_func
135+
; Tests that dso_local attribute is applied on a global var from its summary.
136+
; IMPORT-DAG: @read_write_global_vars = external dso_local global [1 x ptr]
135137
; IMPORT-NOT: large_indirect_callee
136138
; IMPORT-NOT: large_indirect_callee_alias
137139
; IMPORT-NOT: large_indirect_bar

0 commit comments

Comments
 (0)