From 6f43bd4bde15873fe000e27575a54f5223637cf8 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 18 Oct 2017 13:31:28 +0000 Subject: [PATCH] Untabify. llvm-svn: 316079 --- .../lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 2 +- llvm/lib/Object/MachOObjectFile.cpp | 6 +++--- llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 2 +- llvm/lib/Target/ARM/ARMMacroFusion.cpp | 2 +- llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 10 +++++----- llvm/tools/llvm-objdump/MachODump.cpp | 4 ++-- llvm/unittests/ADT/APFloatTest.cpp | 4 ++-- llvm/unittests/Support/MemoryTest.cpp | 20 ++++++++++---------- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp index fa35b31..7785733 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp @@ -2941,7 +2941,7 @@ SDValue DAGTypeLegalizer::WidenVecRes_MLOAD(MaskedLoadSDNode *N) { SDValue Res = DAG.getMaskedLoad(WidenVT, dl, N->getChain(), N->getBasePtr(), Mask, Src0, N->getMemoryVT(), N->getMemOperand(), ExtType, - N->isExpandingLoad()); + N->isExpandingLoad()); // Legalize the chain result - switch anything that used the old chain to // use the new one. ReplaceValueWith(SDValue(N, 1), Res.getValue(1)); diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index 8ac9691..4620fdd 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -477,8 +477,8 @@ static Error checkDysymtabCommand(const MachOObjectFile &Obj, "the file"); if (Error Err = checkOverlappingElement(Elements, Dysymtab.tocoff, Dysymtab.ntoc * sizeof(struct - MachO::dylib_table_of_contents), - "table of contents")) + MachO::dylib_table_of_contents), + "table of contents")) return Err; if (Dysymtab.modtaboff > FileSize) return malformedError("modtaboff field of LC_DYSYMTAB command " + @@ -537,7 +537,7 @@ static Error checkDysymtabCommand(const MachOObjectFile &Obj, if (Error Err = checkOverlappingElement(Elements, Dysymtab.indirectsymoff, Dysymtab.nindirectsyms * sizeof(uint32_t), - "indirect table")) + "indirect table")) return Err; if (Dysymtab.extreloff > FileSize) return malformedError("extreloff field of LC_DYSYMTAB command " + diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp b/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp index 4f48913..1e499255 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp @@ -789,7 +789,7 @@ void AMDGPUDAGToDAGISel::SelectFMA_W_CHAIN(SDNode *N) { void AMDGPUDAGToDAGISel::SelectFMUL_W_CHAIN(SDNode *N) { SDLoc SL(N); - // src0_modifiers, src0, src1_modifiers, src1, clamp, omod + // src0_modifiers, src0, src1_modifiers, src1, clamp, omod SDValue Ops[8]; SelectVOP3Mods0(N->getOperand(1), Ops[1], Ops[0], Ops[4], Ops[5]); diff --git a/llvm/lib/Target/ARM/ARMMacroFusion.cpp b/llvm/lib/Target/ARM/ARMMacroFusion.cpp index 1b6e97c..a34ed2c 100644 --- a/llvm/lib/Target/ARM/ARMMacroFusion.cpp +++ b/llvm/lib/Target/ARM/ARMMacroFusion.cpp @@ -31,7 +31,7 @@ static bool shouldScheduleAdjacent(const TargetInstrInfo &TII, // Assume wildcards for unspecified instrs. unsigned FirstOpcode = FirstMI ? FirstMI->getOpcode() - : static_cast(ARM::INSTRUCTION_LIST_END); + : static_cast(ARM::INSTRUCTION_LIST_END); unsigned SecondOpcode = SecondMI.getOpcode(); if (ST.hasFuseAES()) diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp index 72d2cf5..168ad6f 100644 --- a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp @@ -1080,16 +1080,16 @@ void MipsAsmPrinter::EmitSled(const MachineInstr &MI, SledKind Kind) { // be patching over the full 48 bytes (12 instructions) with the following // pattern: // - // ADDIU SP, SP, -8 + // ADDIU SP, SP, -8 // NOP - // SW RA, 4(SP) + // SW RA, 4(SP) // SW T9, 0(SP) // LUI T9, %hi(__xray_FunctionEntry/Exit) // ORI T9, T9, %lo(__xray_FunctionEntry/Exit) // LUI T0, %hi(function_id) - // JALR T9 - // ORI T0, T0, %lo(function_id) - // LW T9, 0(SP) + // JALR T9 + // ORI T0, T0, %lo(function_id) + // LW T9, 0(SP) // LW RA, 4(SP) // ADDIU SP, SP, 8 // diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp index a8aeb14..1f763b9 100644 --- a/llvm/tools/llvm-objdump/MachODump.cpp +++ b/llvm/tools/llvm-objdump/MachODump.cpp @@ -6070,7 +6070,7 @@ static void DumpBitcodeSection(MachOObjectFile *O, const char *sect, char *buffer; if (xar_extract_tobuffersz(xar, xf, &buffer, &member_size) == 0) { #if 0 // Useful for debugging. - outs() << "xar member: " << member_name << " extracted\n"; + outs() << "xar member: " << member_name << " extracted\n"; #endif // Set the XarMemberName we want to see printed in the header. std::string OldXarMemberName; @@ -6087,7 +6087,7 @@ static void DumpBitcodeSection(MachOObjectFile *O, const char *sect, // See if this is could be a xar file (nested). if (member_size >= sizeof(struct xar_header)) { #if 0 // Useful for debugging. - outs() << "could be a xar file: " << member_name << "\n"; + outs() << "could be a xar file: " << member_name << "\n"; #endif memcpy((char *)&XarHeader, buffer, sizeof(struct xar_header)); if (sys::IsLittleEndianHost) diff --git a/llvm/unittests/ADT/APFloatTest.cpp b/llvm/unittests/ADT/APFloatTest.cpp index 80da719..280a086 100644 --- a/llvm/unittests/ADT/APFloatTest.cpp +++ b/llvm/unittests/ADT/APFloatTest.cpp @@ -1455,10 +1455,10 @@ TEST(APFloatTest, getZero) { const unsigned NumGetZeroTests = 12; for (unsigned i = 0; i < NumGetZeroTests; ++i) { APFloat test = APFloat::getZero(*GetZeroTest[i].semantics, - GetZeroTest[i].sign); + GetZeroTest[i].sign); const char *pattern = GetZeroTest[i].sign? "-0x0p+0" : "0x0p+0"; APFloat expected = APFloat(*GetZeroTest[i].semantics, - pattern); + pattern); EXPECT_TRUE(test.isZero()); EXPECT_TRUE(GetZeroTest[i].sign? test.isNegative() : !test.isNegative()); EXPECT_TRUE(test.bitwiseIsEqual(expected)); diff --git a/llvm/unittests/Support/MemoryTest.cpp b/llvm/unittests/Support/MemoryTest.cpp index 140219f..650be7b 100644 --- a/llvm/unittests/Support/MemoryTest.cpp +++ b/llvm/unittests/Support/MemoryTest.cpp @@ -1,6 +1,6 @@ //===- llvm/unittest/Support/AllocatorTest.cpp - BumpPtrAllocator tests ---===// // -// The LLVM Compiler Infrastructure +// The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. @@ -350,16 +350,16 @@ TEST_P(MappedMemoryTest, UnalignedNear) { // Note that Memory::MF_WRITE is not supported exclusively across // operating systems and architectures and can imply MF_READ|MF_WRITE unsigned MemoryFlags[] = { - Memory::MF_READ, - Memory::MF_WRITE, - Memory::MF_READ|Memory::MF_WRITE, - Memory::MF_EXEC, - Memory::MF_READ|Memory::MF_EXEC, - Memory::MF_READ|Memory::MF_WRITE|Memory::MF_EXEC - }; + Memory::MF_READ, + Memory::MF_WRITE, + Memory::MF_READ|Memory::MF_WRITE, + Memory::MF_EXEC, + Memory::MF_READ|Memory::MF_EXEC, + Memory::MF_READ|Memory::MF_WRITE|Memory::MF_EXEC + }; INSTANTIATE_TEST_CASE_P(AllocationTests, - MappedMemoryTest, - ::testing::ValuesIn(MemoryFlags),); + MappedMemoryTest, + ::testing::ValuesIn(MemoryFlags),); } // anonymous namespace -- 2.7.4