Skip to content

Commit ca21488

Browse files
Quinn PhamQuinn Pham
authored andcommitted
[llvm] Inclusive language: replace master with main in file paths in LIT tests
[NFC] As part of using inclusive language within the llvm project, this patch replaces master with main in file/directory paths in llvm LIT tests. Reviewed By: bjope Differential Revision: https://reviews.llvm.org/D113190
1 parent db81d8f commit ca21488

12 files changed

+12
-14
lines changed

llvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-with-debug-info.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
!llvm.module.flags = !{!4}
2121

2222
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
23-
!1 = !DIFile(filename: "/Users/vsk/src/llvm-backup-master/llvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir", directory: "/")
23+
!1 = !DIFile(filename: "/Users/vsk/src/llvm-backup-main/llvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir", directory: "/")
2424
!2 = !{}
2525
!3 = !{i32 6}
2626
!4 = !{i32 2, !"Debug Info Version", i32 3}

llvm/test/CodeGen/X86/dbg-distringtype-uint.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ attributes #3 = { nofree nosync nounwind readnone speculatable willreturn }
6969
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
7070
!1 = distinct !DIGlobalVariable(name: "elemnt", linkageName: "semiempirical_corrections_mp_esym_$ELEMNT", scope: !2, file: !3, line: 17, type: !16, isLocal: true, isDefinition: true)
7171
!2 = distinct !DISubprogram(name: "esym", linkageName: "semiempirical_corrections_mp_esym_", scope: !4, file: !3, line: 15, type: !5, scopeLine: 15, spFlags: DISPFlagDefinition, unit: !8, retainedNodes: !11)
72-
!3 = !DIFile(filename: "se6.f90", directory: "/iusers/cchen15/examples/tests/jr30349/gamess-dga-master/object")
72+
!3 = !DIFile(filename: "se6.f90", directory: "/iusers/cchen15/examples/tests/jr30349/gamess-dga-main/object")
7373
!4 = !DIModule(scope: null, name: "semiempirical_corrections", file: !3, line: 1)
7474
!5 = !DISubroutineType(types: !6)
7575
!6 = !{!7}

llvm/test/CodeGen/X86/extend-set-cc-uses-dbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ bb7: ; preds = %bb
3838
!llvm.module.flags = !{!2, !3}
3939

4040
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 7.0.0 (trunk 330770) (llvm/trunk 330769)", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)
41-
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-master/llvm/lib/Demangle/ItaniumDemangle.cpp", directory: "/Users/vsk/src/builds/llvm.org-master-RA-stage2")
41+
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-main/llvm/lib/Demangle/ItaniumDemangle.cpp", directory: "/Users/vsk/src/builds/llvm.org-main-RA-stage2")
4242
!2 = !{i32 2, !"Debug Info Version", i32 3}
4343
!3 = !{i32 7, !"PIC Level", i32 2}
4444
!4 = distinct !DISubprogram(name: "printLeft", scope: !1, file: !1, line: 1306, type: !5, isLocal: true, isDefinition: true, scopeLine: 1306, flags: DIFlagPrototyped, isOptimized: true, unit: !0)

llvm/test/CodeGen/X86/fold-sext-trunc.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare void @llvm.dbg.value(metadata, metadata, metadata)
3535
!llvm.debugify = !{!3, !4}
3636

3737
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
38-
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-master/llvm/test/CodeGen/X86/fold-sext-trunc.ll", directory: "/")
38+
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-main/llvm/test/CodeGen/X86/fold-sext-trunc.ll", directory: "/")
3939
!2 = !{}
4040
!3 = !{i32 8}
4141
!4 = !{i32 6}

llvm/test/CodeGen/X86/fold-zext-trunc.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare void @llvm.dbg.value(metadata, metadata, metadata)
3535
!llvm.debugify = !{!3, !4}
3636

3737
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
38-
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-master/llvm/test/CodeGen/X86/fold-zext-trunc.ll", directory: "/")
38+
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-main/llvm/test/CodeGen/X86/fold-zext-trunc.ll", directory: "/")
3939
!2 = !{}
4040
!3 = !{i32 6}
4141
!4 = !{i32 4}

llvm/test/CodeGen/X86/selectiondag-debug-loc.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata)
3434
!llvm.ident = !{!7}
3535

3636
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 7.0.0 (trunk 330296) (llvm/trunk 330298)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
37-
!1 = !DIFile(filename: "-", directory: "/Users/vsk/src/builds/llvm.org-master-RA")
37+
!1 = !DIFile(filename: "-", directory: "/Users/vsk/src/builds/llvm.org-main-RA")
3838
!2 = !{}
3939
!3 = !{i32 2, !"Dwarf Version", i32 4}
4040
!4 = !{i32 2, !"Debug Info Version", i32 3}
4141
!5 = !{i32 1, !"wchar_size", i32 4}
4242
!6 = !{i32 7, !"PIC Level", i32 2}
4343
!7 = !{!"clang version 7.0.0 (trunk 330296) (llvm/trunk 330298)"}
4444
!8 = distinct !DISubprogram(name: "main", scope: !9, file: !9, line: 1, type: !10, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
45-
!9 = !DIFile(filename: "<stdin>", directory: "/Users/vsk/src/builds/llvm.org-master-RA")
45+
!9 = !DIFile(filename: "<stdin>", directory: "/Users/vsk/src/builds/llvm.org-main-RA")
4646
!10 = !DISubroutineType(types: !11)
4747
!11 = !{!12, !12, !13}
4848
!12 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)

llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
5858
!1 = distinct !DIGlobalVariable(name: "bar", scope: !2, file: !3, line: 3, type: !6, isLocal: false, isDefinition: true)
5959
!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 6.0.0 (trunk 313866) (llvm/trunk 313875)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5)
60-
!3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/repo/uabbpet/master")
60+
!3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/")
6161
!4 = !{}
6262
!5 = !{!0}
6363
!6 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 64, elements: !8)

llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
5656
!1 = distinct !DIGlobalVariable(name: "bar", scope: !2, file: !3, line: 3, type: !6, isLocal: false, isDefinition: true)
5757
!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 6.0.0 (trunk 313866) (llvm/trunk 313875)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5)
58-
!3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/repo/uabbpet/master")
58+
!3 = !DIFile(filename: "live-debug-vars-unused-arg.c", directory: "/")
5959
!4 = !{}
6060
!5 = !{!0}
6161
!6 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 64, elements: !8)

llvm/test/DebugInfo/X86/pr45181.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ attributes #7 = { nounwind optsize }
159159
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
160160
!1 = distinct !DIGlobalVariable(name: "o", scope: !2, file: !6, line: 11, type: !40, isLocal: false, isDefinition: true)
161161
!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !3, producer: "clang version 11.0.0 ([email protected]:llvm/llvm-project.git 0fecdcd1628999a1900d9cf84cd33dacf1319fa6)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !10, globals: !41, nameTableKind: None, sysroot: "/")
162-
!3 = !DIFile(filename: "/Users/vsk/tmp/x.cc", directory: "/Users/vsk/src/llvm-backup-master")
162+
!3 = !DIFile(filename: "/Users/vsk/tmp/x.cc", directory: "/Users/vsk/src/llvm-backup-main")
163163
!4 = !{!5}
164164
!5 = !DICompositeType(tag: DW_TAG_enumeration_type, file: !6, line: 16, baseType: !7, size: 32, elements: !8)
165165
!6 = !DIFile(filename: "tmp/x.cc", directory: "/Users/vsk")

llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ attributes #1 = { nounwind readnone speculatable }
141141
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
142142
!1 = distinct !DIGlobalVariable(name: "S", scope: !2, file: !3, line: 4, type: !8, isLocal: false, isDefinition: true)
143143
!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trunk 327229) (llvm/trunk 327239)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, retainedTypes: !5, globals: !7)
144-
!3 = !DIFile(filename: "sdag-dangling-dbgvalue.c", directory: "/repo/uabbpet/llvm-master")
144+
!3 = !DIFile(filename: "sdag-dangling-dbgvalue.c", directory: "/")
145145
!4 = !{}
146146
!5 = !{!6}
147147
!6 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)

llvm/test/DebugInfo/debugify-bogus-dbg-value.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ attributes #0 = { nounwind readnone speculatable }
3434
!llvm.module.flags = !{!5}
3535

3636
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
37-
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-master/llvm/test/DebugInfo/debugify-bogus-dbg-value.ll", directory: "/")
37+
!1 = !DIFile(filename: "/Users/vsk/src/llvm.org-main/llvm/test/DebugInfo/debugify-bogus-dbg-value.ll", directory: "/")
3838
!2 = !{}
3939
!3 = !{i32 4}
4040
!4 = !{i32 4}

llvm/test/MC/ARM/inline-asm-srcloc.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
; RUN: not llc -filetype=obj 2>&1 -o /dev/null < %s | FileCheck %s
22

3-
; ModuleID = '/scratch/llvm/master/tools/clang/test/Misc/inline-asm-diags.c'
4-
source_filename = "/scratch/llvm/master/tools/clang/test/Misc/inline-asm-diags.c"
53
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
64
target triple = "armv7-arm-none-eabi"
75

0 commit comments

Comments
 (0)