Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit d1fe0c4

Browse files
committed
Fix more inconsistent line endings. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321016 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 93e431a commit d1fe0c4

File tree

10 files changed

+67
-67
lines changed

10 files changed

+67
-67
lines changed

lib/LTO/LTOCodeGenerator.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -466,15 +466,15 @@ void LTOCodeGenerator::restoreLinkageForExternals() {
466466
if (I == ExternalSymbols.end())
467467
return;
468468

469-
GV.setLinkage(I->second);
470-
};
471-
472-
llvm::for_each(MergedModule->functions(), externalize);
473-
llvm::for_each(MergedModule->globals(), externalize);
474-
llvm::for_each(MergedModule->aliases(), externalize);
475-
}
476-
477-
void LTOCodeGenerator::verifyMergedModuleOnce() {
469+
GV.setLinkage(I->second);
470+
};
471+
472+
llvm::for_each(MergedModule->functions(), externalize);
473+
llvm::for_each(MergedModule->globals(), externalize);
474+
llvm::for_each(MergedModule->aliases(), externalize);
475+
}
476+
477+
void LTOCodeGenerator::verifyMergedModuleOnce() {
478478
// Only run on the first call.
479479
if (HasVerifiedInput)
480480
return;

lib/Target/ARC/ARCInstrFormats.td

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class immS<int BSz> : Operand<i32>, PatLeaf<(imm),
2929
let DecoderMethod = "DecodeSignedOperand<"#BSz#">";
3030
}
3131

32-
// e.g. s3 field may encode the signed integers values -1 .. 6
32+
// e.g. s3 field may encode the signed integers values -1 .. 6
3333
// using binary codes 111, 000, 001, 010, 011, 100, 101, and 110, respectively
3434
class immC<int BSz> : Operand<i32>, PatLeaf<(imm),
3535
"\n return isInt<"#BSz#">(N->getSExtValue());"> {

lib/Target/ARC/ARCInstrInfo.td

+7-7
Original file line numberDiff line numberDiff line change
@@ -534,13 +534,13 @@ let isBranch = 1 in {
534534

535535
def BEQ_S : F16_BCC_s10<0b01, "beq_s">;
536536
def BNE_S : F16_BCC_s10<0b10, "bne_s">;
537-
def BGT_S : F16_BCC_s7<0b000, "bgt_s">;
538-
def BGE_S : F16_BCC_s7<0b001, "bge_s">;
539-
def BLT_S : F16_BCC_s7<0b010, "blt_s">;
540-
def BLE_S : F16_BCC_s7<0b011, "ble_s">;
541-
def BHI_S : F16_BCC_s7<0b100, "bhi_s">;
542-
def BHS_S : F16_BCC_s7<0b101, "bhs_s">;
543-
def BLO_S : F16_BCC_s7<0b110, "blo_s">;
537+
def BGT_S : F16_BCC_s7<0b000, "bgt_s">;
538+
def BGE_S : F16_BCC_s7<0b001, "bge_s">;
539+
def BLT_S : F16_BCC_s7<0b010, "blt_s">;
540+
def BLE_S : F16_BCC_s7<0b011, "ble_s">;
541+
def BHI_S : F16_BCC_s7<0b100, "bhi_s">;
542+
def BHS_S : F16_BCC_s7<0b101, "bhs_s">;
543+
def BLO_S : F16_BCC_s7<0b110, "blo_s">;
544544
def BLS_S : F16_BCC_s7<0b111, "bls_s">;
545545
} // let isBranch
546546

lib/Transforms/Utils/SplitModule.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ static void findPartitions(Module *M, ClusterIDMapType &ClusterIDMap,
141141
}
142142

143143
if (GV.hasLocalLinkage())
144-
addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV);
145-
};
146-
147-
llvm::for_each(M->functions(), recordGVSet);
148-
llvm::for_each(M->globals(), recordGVSet);
149-
llvm::for_each(M->aliases(), recordGVSet);
150-
151-
// Assigned all GVs to merged clusters while balancing number of objects in
152-
// each.
144+
addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV);
145+
};
146+
147+
llvm::for_each(M->functions(), recordGVSet);
148+
llvm::for_each(M->globals(), recordGVSet);
149+
llvm::for_each(M->aliases(), recordGVSet);
150+
151+
// Assigned all GVs to merged clusters while balancing number of objects in
152+
// each.
153153
auto CompareClusters = [](const std::pair<unsigned, unsigned> &a,
154154
const std::pair<unsigned, unsigned> &b) {
155155
if (a.second || b.second)

test/CodeGen/X86/evex-to-vex-compress.mir

+2-2
Original file line numberDiff line numberDiff line change
@@ -4628,6 +4628,6 @@ body: |
46284628
VUCOMISSZrm %xmm16, %rdi, %noreg, %noreg, %noreg, %noreg, implicit-def %eflags
46294629
; CHECK: VUCOMISSZrr %xmm16, %xmm1, implicit-def %eflags
46304630
VUCOMISSZrr %xmm16, %xmm1, implicit-def %eflags
4631-
4632-
RET 0, %zmm0, %zmm1
4631+
4632+
RET 0, %zmm0, %zmm1
46334633
...

test/Other/lit-globbing.ll

+12-12
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ RUN: echo %t/'T'??.txt | FileCheck -check-prefix=QUESTION2 %s
1515

1616
RUN: echo 'T*' 'T?.txt' 'T??.txt' | FileCheck -check-prefix=QUOTEDARGS %s
1717

18-
STAR-NOT: TB.txt
19-
STAR: {{(TA.txt.*TAB.txt|TAB.txt.*TA.txt)}}
20-
21-
QUESTION-NOT: TAB.txt
22-
QUESTION: {{(TA.txt.*TB.txt|TB.txt.*TA.txt)}}
23-
24-
QUESTION2-NOT: TA.txt
25-
QUESTION2-NOT: TB.txt
26-
QUESTION2: TAB.txt
27-
28-
QUOTEDARGS-NOT: .txt
29-
QUOTEDARGS: T* T?.txt T??.txt
18+
STAR-NOT: TB.txt
19+
STAR: {{(TA.txt.*TAB.txt|TAB.txt.*TA.txt)}}
20+
21+
QUESTION-NOT: TAB.txt
22+
QUESTION: {{(TA.txt.*TB.txt|TB.txt.*TA.txt)}}
23+
24+
QUESTION2-NOT: TA.txt
25+
QUESTION2-NOT: TB.txt
26+
QUESTION2: TAB.txt
27+
28+
QUOTEDARGS-NOT: .txt
29+
QUOTEDARGS: T* T?.txt T??.txt

tools/llvm-cxxdump/llvm-cxxdump.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,10 @@ int main(int argc, const char *argv[]) {
546546
cl::ParseCommandLineOptions(argc, argv, "LLVM C++ ABI Data Dumper\n");
547547

548548
// Default to stdin if no filename is specified.
549-
if (opts::InputFilenames.size() == 0)
550-
opts::InputFilenames.push_back("-");
551-
552-
llvm::for_each(opts::InputFilenames, dumpInput);
553-
554-
return EXIT_SUCCESS;
555-
}
549+
if (opts::InputFilenames.size() == 0)
550+
opts::InputFilenames.push_back("-");
551+
552+
llvm::for_each(opts::InputFilenames, dumpInput);
553+
554+
return EXIT_SUCCESS;
555+
}

tools/llvm-mcmarkup/llvm-mcmarkup.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ int main(int argc, char **argv) {
215215
ToolName = argv[0];
216216

217217
// If no input files specified, read from stdin.
218-
if (InputFilenames.size() == 0)
219-
InputFilenames.push_back("-");
220-
221-
llvm::for_each(InputFilenames, parseMCMarkup);
222-
return 0;
223-
}
218+
if (InputFilenames.size() == 0)
219+
InputFilenames.push_back("-");
220+
221+
llvm::for_each(InputFilenames, parseMCMarkup);
222+
return 0;
223+
}

tools/llvm-objdump/llvm-objdump.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -2194,10 +2194,10 @@ int main(int argc, char **argv) {
21942194
&& !PrintFaultMaps
21952195
&& DwarfDumpType == DIDT_Null) {
21962196
cl::PrintHelpMessage();
2197-
return 2;
2198-
}
2199-
2200-
llvm::for_each(InputFilenames, DumpInput);
2201-
2202-
return EXIT_SUCCESS;
2203-
}
2197+
return 2;
2198+
}
2199+
2200+
llvm::for_each(InputFilenames, DumpInput);
2201+
2202+
return EXIT_SUCCESS;
2203+
}

tools/llvm-size/llvm-size.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -880,13 +880,13 @@ int main(int argc, char **argv) {
880880
}
881881

882882
if (InputFilenames.size() == 0)
883-
InputFilenames.push_back("a.out");
884-
885-
MoreThanOneFile = InputFilenames.size() > 1;
886-
llvm::for_each(InputFilenames, printFileSectionSizes);
887-
if (OutputFormat == berkeley && TotalSizes)
888-
printBerkelyTotals();
889-
883+
InputFilenames.push_back("a.out");
884+
885+
MoreThanOneFile = InputFilenames.size() > 1;
886+
llvm::for_each(InputFilenames, printFileSectionSizes);
887+
if (OutputFormat == berkeley && TotalSizes)
888+
printBerkelyTotals();
889+
890890
if (HadError)
891891
return 1;
892892
}

0 commit comments

Comments
 (0)