SuccessChanges

Summary

  1. Fix PDB tests after r367820 The commit changed Module dumping code to call SymbolFile::Dump directly, which meant that we were no longer showing the plugin name in the output (as that was done in the SymbolVendor). This adds the plugin name printing code to the SymbolFile dump method, and tweak the assertions in the PDB tests to match it correctly.
  2. [DAGCombiner][x86] prevent infinite loop from truncate/extend transforms The test case is based on the example from the post-commit thread for: https://reviews.llvm.org/rGc9171bd0a955 This replaces the x86-specific simple-type check from: rL367766 with a check in the DAGCombiner. Adding the check isn't strictly necessary after the fix from: rL367768 ...but it seems likely that we're heading for trouble if we are creating weird types in this transform. I combined the earlier legality check into the initial clause to simplify the code. So we should only try the trunc/sext transform at the earliest combine stage, but we limit the transform to simple types anyway because the TLI hook is probably too lax about what it considers a free truncate.
  3. [llvm/Object] - Remove ELFFile<ELFT>::getSection(const StringRef SectionName). NFC. This method is dead. It was introduced in D47989, but now the logic from D63475 is used in llvm-readobj instead. Also it has a problem: it returns the first matching section, even if there are multiple sections with the same name. Differential revision: https://reviews.llvm.org/D65393
  4. [MVT][SVE] Map between scalable vector IR Type and VTs Adds a two way mapping between the scalable vector IR type and corresponding SelectionDAG ValueTypes. Reviewers: craig.topper, jeroen.dobbelaere, fhahn, rengolin, greened, rovka Reviewed By: greened Differential Revision: https://reviews.llvm.org/D47770
  5. [AArch64] Skip isZIPMask check for masks with an odd number of elements. We process 2 elements at a time and expect the number of elements to be even. Similar to D60690. Reviewers: dmgreen, samparker, t.p.northover Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D65400
  6. [lldb][NFC] Remove unimplemented ClangExpressionSourceCode::GetNumBodyLines
  7. [CrossTU][NFCI] Refactor loadExternalAST function Summary: Refactor loadExternalAST method of CrossTranslationUnitContext in order to reduce maintenance burden and so that features are easier to add in the future. Reviewers: martong Subscribers: rnkovacs, dkrupp, Szelethus, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64753
  8. [LLVM][Alignment] Introduce Alignment Type Summary: This is patch is part of a serie to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet, jfb, jakehehrlich Reviewed By: jfb Subscribers: wuzish, jholewinski, arsenm, dschuff, nemanjai, jvesely, nhaehnle, javed.absar, sbc100, jgravelle-google, hiraditya, aheejin, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, dexonsmith, PkmX, jocewei, jsji, s.egerton, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65514
  9. [TLI][NFC] Fixed typo
Revision 367835 by labath:
Fix PDB tests after r367820

The commit changed Module dumping code to call SymbolFile::Dump
directly, which meant that we were no longer showing the plugin name in
the output (as that was done in the SymbolVendor).

This adds the plugin name printing code to the SymbolFile dump method,
and tweak the assertions in the PDB tests to match it correctly.
Change TypePath in RepositoryPath in Workspace
The file was modified/lldb/trunk/lit/SymbolFile/PDB/class-layout.testlldb.src/lit/SymbolFile/PDB/class-layout.test
The file was modified/lldb/trunk/lit/SymbolFile/PDB/compilands.testlldb.src/lit/SymbolFile/PDB/compilands.test
The file was modified/lldb/trunk/lit/SymbolFile/PDB/func-symbols.testlldb.src/lit/SymbolFile/PDB/func-symbols.test
The file was modified/lldb/trunk/lit/SymbolFile/PDB/type-quals.testlldb.src/lit/SymbolFile/PDB/type-quals.test
The file was modified/lldb/trunk/lit/SymbolFile/PDB/typedefs.testlldb.src/lit/SymbolFile/PDB/typedefs.test
The file was modified/lldb/trunk/lit/SymbolFile/PDB/variables.testlldb.src/lit/SymbolFile/PDB/variables.test
The file was modified/lldb/trunk/source/Symbol/SymbolFile.cpplldb.src/source/Symbol/SymbolFile.cpp
Revision 367834 by spatel:
[DAGCombiner][x86] prevent infinite loop from truncate/extend transforms

The test case is based on the example from the post-commit thread for:
https://reviews.llvm.org/rGc9171bd0a955

This replaces the x86-specific simple-type check from:
rL367766
with a check in the DAGCombiner. Adding the check isn't
strictly necessary after the fix from:
rL367768
...but it seems likely that we're heading for trouble if
we are creating weird types in this transform.

I combined the earlier legality check into the initial
clause to simplify the code.

So we should only try the trunc/sext transform at the
earliest combine stage, but we limit the transform to
simple types anyway because the TLI hook is probably
too lax about what it considers a free truncate.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cppllvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cppllvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/trunc-and.llllvm.src/test/CodeGen/X86/trunc-and.ll
Revision 367833 by grimar:
[llvm/Object] - Remove ELFFile<ELFT>::getSection(const StringRef SectionName). NFC.

This method is dead. It was introduced in D47989,
but now the logic from D63475 is used in llvm-readobj instead.
Also it has a problem: it returns the first matching section,
even if there are multiple sections with the same name.

Differential revision: https://reviews.llvm.org/D65393
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Object/ELF.hllvm.src/include/llvm/Object/ELF.h
Revision 367832 by huntergr:
[MVT][SVE] Map between scalable vector IR Type and VTs

Adds a two way mapping between the scalable vector IR type and
corresponding SelectionDAG ValueTypes.

Reviewers: craig.topper, jeroen.dobbelaere, fhahn, rengolin, greened, rovka

Reviewed By: greened

Differential Revision: https://reviews.llvm.org/D47770
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetLowering.hllvm.src/include/llvm/CodeGen/TargetLowering.h
The file was modified/llvm/trunk/include/llvm/CodeGen/ValueTypes.hllvm.src/include/llvm/CodeGen/ValueTypes.h
The file was modified/llvm/trunk/include/llvm/Support/MachineValueType.hllvm.src/include/llvm/Support/MachineValueType.h
The file was modified/llvm/trunk/lib/CodeGen/ValueTypes.cppllvm.src/lib/CodeGen/ValueTypes.cpp
The file was modified/llvm/trunk/unittests/CodeGen/ScalableVectorMVTsTest.cppllvm.src/unittests/CodeGen/ScalableVectorMVTsTest.cpp
Revision 367831 by fhahn:
[AArch64] Skip isZIPMask check for masks with an odd number of elements.

We process 2 elements at a time and expect the number of elements to be
even. Similar to D60690.

Reviewers: dmgreen, samparker, t.p.northover

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D65400
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cppllvm.src/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/AArch64/arm64-neon-vector-shuffle-extract.llllvm.src/test/CodeGen/AArch64/arm64-neon-vector-shuffle-extract.ll
Revision 367830 by Raphael Isemann:
[lldb][NFC] Remove unimplemented ClangExpressionSourceCode::GetNumBodyLines
Change TypePath in RepositoryPath in Workspace
The file was modified/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.hlldb.src/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.h
Revision 367829 by gamesh411:
[CrossTU][NFCI] Refactor loadExternalAST function

Summary:
Refactor loadExternalAST method of CrossTranslationUnitContext in order to
reduce maintenance burden and so that features are easier to add in the future.

Reviewers: martong

Subscribers: rnkovacs, dkrupp, Szelethus, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64753
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/CrossTU/CrossTranslationUnit.hclang.src/include/clang/CrossTU/CrossTranslationUnit.h
The file was modified/cfe/trunk/lib/CrossTU/CrossTranslationUnit.cppclang.src/lib/CrossTU/CrossTranslationUnit.cpp
Revision 367828 by gchatelet:
[LLVM][Alignment] Introduce Alignment Type

Summary:
This is patch is part of a serie to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet, jfb, jakehehrlich

Reviewed By: jfb

Subscribers: wuzish, jholewinski, arsenm, dschuff, nemanjai, jvesely, nhaehnle, javed.absar, sbc100, jgravelle-google, hiraditya, aheejin, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, dexonsmith, PkmX, jocewei, jsji, s.egerton, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65514
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetLowering.hllvm.src/include/llvm/CodeGen/TargetLowering.h
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cppllvm.src/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cppllvm.src/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cppllvm.src/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cppllvm.src/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMISelLowering.cppllvm.src/lib/Target/ARM/ARMISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cppllvm.src/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/NVPTX/NVPTXISelLowering.cppllvm.src/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cppllvm.src/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cppllvm.src/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cppllvm.src/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cppllvm.src/lib/Target/X86/X86ISelLowering.cpp
Revision 367827 by xbolva00:
[TLI][NFC] Fixed typo
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/TargetLibraryInfo.cppllvm.src/lib/Analysis/TargetLibraryInfo.cpp