FailedChanges

Summary

  1. Revert "Reland "[utils] Implement the llvm-locstats tool"" This reverts commit rL373183.
  2. DeclCXX/ExprCXX - silence static analyzer getAs<> null dereference warnings. NFCI. The static analyzer is warning about potential null dereferences, but in these cases we should be able to use castAs<> directly and if not assert will fire for us.
  3. [clangd] Implement a smart version of HeaderSource switch. Summary: This patch implements another version header-source switch by incorporating the AST and index, it will be used: - to improve the current header-source switch feature (layer with the existing file heuristic); - by the incoming define-outline code action; Reviewers: kadircet Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67907
  4. [Alignment][NFC] Adding a max function. Summary: This is patch is part of a series 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 Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68201
  5. [Alignment][NFC] Remove LoadInst::setAlignment(unsigned) Summary: This is patch is part of a series 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, jdoerfert Subscribers: hiraditya, asbirlea, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D68142
  6. [lldb][clang][modern-type-lookup] Use ASTImporterSharedState in ExternalASTMerger Summary: The ExternalASTMerger should use the ASTImporterSharedState. This allows it to handle std::pair in LLDB (but the rest of libc++ is still work in progress). Reviewers: martong, shafik, a.sidorin Subscribers: rnkovacs, christof, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D68140
  7. [NFC][ARM][MVE] More tests Add some loop tests that cover different float operations and types.
  8. NFC changes to SelectionDAGBuilder::visitBitTestHeader(), preparing for PR43129
  9. Pre-commit a test case for PR43129.
  10. [llvm-locstats] Fix the test for the Hexagon target
  11. [ARM][MVE] Change VCTP operand The VCTP instruction will calculate the predicate masked based upon the number of elements that need to be processed. I had inserted the sub before the vctp intrinsic and supplied it as the operand, but this is incorrect as the phi should directly feed the vctp. The sub is calculating the value for the next iteration. Differential Revision: https://reviews.llvm.org/D67921
  12. [TargetLowering] Simplify expansion of S{ADD,SUB}O ISD::SADDO uses the suggested sequence described in the section §2.4 of the RISCV Spec v2.2. ISD::SSUBO uses the dual approach but checking for (non-zero) positive. Differential Revision: https://reviews.llvm.org/D47927
Revision 373200 by djtodoro:
Revert "Reland "[utils] Implement the llvm-locstats tool""

This reverts commit rL373183.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/CMakeLists.txtllvm.src/CMakeLists.txt
The file was modified/llvm/trunk/docs/CommandGuide/index.rstllvm.src/docs/CommandGuide/index.rst
The file was removed/llvm/trunk/docs/CommandGuide/llvm-locstats.rstllvm.src/docs/CommandGuide/llvm-locstats.rst
The file was modified/llvm/trunk/test/lit.cfg.pyllvm.src/test/lit.cfg.py
The file was removed/llvm/trunk/test/tools/llvm-locstats/lit.local.cfgllvm.src/test/tools/llvm-locstats/lit.local.cfg
The file was removed/llvm/trunk/test/tools/llvm-locstats/locstats.llllvm.src/test/tools/llvm-locstats/locstats.ll
The file was removed/llvm/trunk/utils/llvm-locstats/CMakeLists.txtllvm.src/utils/llvm-locstats/CMakeLists.txt
The file was removed/llvm/trunk/utils/llvm-locstats/llvm-locstats.pyllvm.src/utils/llvm-locstats/llvm-locstats.py
Revision 373198 by rksimon:
DeclCXX/ExprCXX - silence static analyzer getAs<> null dereference warnings. NFCI.

The static analyzer is warning about potential null dereferences, but in these cases we should be able to use castAs<> directly and if not assert will fire for us.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/DeclCXX.hclang.src/include/clang/AST/DeclCXX.h
The file was modified/cfe/trunk/include/clang/AST/ExprCXX.hclang.src/include/clang/AST/ExprCXX.h
Revision 373197 by hokein:
[clangd] Implement a smart version of HeaderSource switch.

Summary:
This patch implements another version header-source switch by incorporating the
AST and index, it will be used:
  - to improve the current header-source switch feature (layer with the
    existing file heuristic);
  - by the incoming define-outline code action;

Reviewers: kadircet

Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67907
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clangd/HeaderSourceSwitch.cppclang-tools-extra.src/clangd/HeaderSourceSwitch.cpp
The file was modified/clang-tools-extra/trunk/clangd/HeaderSourceSwitch.hclang-tools-extra.src/clangd/HeaderSourceSwitch.h
The file was modified/clang-tools-extra/trunk/clangd/unittests/HeaderSourceSwitchTests.cppclang-tools-extra.src/clangd/unittests/HeaderSourceSwitchTests.cpp
Revision 373196 by gchatelet:
[Alignment][NFC] Adding a max function.

Summary:
This is patch is part of a series 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

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68201
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/Alignment.hllvm.src/include/llvm/Support/Alignment.h
The file was modified/llvm/trunk/unittests/Support/AlignmentTest.cppllvm.src/unittests/Support/AlignmentTest.cpp
Revision 373195 by gchatelet:
[Alignment][NFC] Remove LoadInst::setAlignment(unsigned)

Summary:
This is patch is part of a series 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, jdoerfert

Subscribers: hiraditya, asbirlea, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D68142
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGCleanup.cppclang.src/lib/CodeGen/CGCleanup.cpp
The file was modified/llvm/trunk/include/llvm/IR/IRBuilder.hllvm.src/include/llvm/IR/IRBuilder.h
The file was modified/llvm/trunk/include/llvm/IR/Instructions.hllvm.src/include/llvm/IR/Instructions.h
The file was modified/llvm/trunk/lib/CodeGen/AtomicExpandPass.cppllvm.src/lib/CodeGen/AtomicExpandPass.cpp
The file was modified/llvm/trunk/lib/IR/Core.cppllvm.src/lib/IR/Core.cpp
The file was modified/llvm/trunk/lib/IR/Instructions.cppllvm.src/lib/IR/Instructions.cpp
The file was modified/llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cppllvm.src/lib/Transforms/IPO/ArgumentPromotion.cpp
The file was modified/llvm/trunk/lib/Transforms/IPO/Attributor.cppllvm.src/lib/Transforms/IPO/Attributor.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineAtomicRMW.cppllvm.src/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cppllvm.src/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cppllvm.src/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modified/llvm/trunk/lib/Transforms/Instrumentation/DataFlowSanitizer.cppllvm.src/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/AlignmentFromAssumptions.cppllvm.src/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/GVNHoist.cppllvm.src/lib/Transforms/Scalar/GVNHoist.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/LICM.cppllvm.src/lib/Transforms/Scalar/LICM.cpp
The file was modified/llvm/trunk/lib/Transforms/Scalar/SROA.cppllvm.src/lib/Transforms/Scalar/SROA.cpp
The file was modified/llvm/trunk/lib/Transforms/Utils/VNCoercion.cppllvm.src/lib/Transforms/Utils/VNCoercion.cpp
The file was modified/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cppllvm.src/lib/Transforms/Vectorize/SLPVectorizer.cpp
Revision 373193 by Raphael Isemann:
[lldb][clang][modern-type-lookup] Use ASTImporterSharedState in ExternalASTMerger

Summary:
The ExternalASTMerger should use the ASTImporterSharedState. This allows it to
handle std::pair in LLDB (but the rest of libc++ is still work in progress).

Reviewers: martong, shafik, a.sidorin

Subscribers: rnkovacs, christof, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D68140
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/ExternalASTMerger.hclang.src/include/clang/AST/ExternalASTMerger.h
The file was modified/cfe/trunk/lib/AST/ExternalASTMerger.cppclang.src/lib/AST/ExternalASTMerger.cpp
The file was added/lldb/trunk/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/libcxxN/A
The file was added/lldb/trunk/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/libcxx/MakefileN/A
The file was added/lldb/trunk/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/libcxx/TestLibCxxModernTypeLookup.pyN/A
The file was added/lldb/trunk/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/libcxx/main.cppN/A
Revision 373192 by sam_parker:
[NFC][ARM][MVE] More tests

Add some loop tests that cover different float operations and types.
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
Revision 373191 by hans:
NFC changes to SelectionDAGBuilder::visitBitTestHeader(), preparing for PR43129
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cppllvm.src/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Revision 373190 by hans:
Pre-commit a test case for PR43129.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/switch-bt.llllvm.src/test/CodeGen/X86/switch-bt.ll
Revision 373189 by djtodoro:
[llvm-locstats] Fix the test for the Hexagon target
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-locstats/locstats.llllvm.src/test/tools/llvm-locstats/locstats.ll
Revision 373188 by sam_parker:
[ARM][MVE] Change VCTP operand

The VCTP instruction will calculate the predicate masked based upon
the number of elements that need to be processed. I had inserted the
sub before the vctp intrinsic and supplied it as the operand, but
this is incorrect as the phi should directly feed the vctp. The sub
is calculating the value for the next iteration.

Differential Revision: https://reviews.llvm.org/D67921
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/ARM/MVETailPredication.cppllvm.src/lib/Target/ARM/MVETailPredication.cpp
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/basic-tail-pred.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/basic-tail-pred.ll
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/nested.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/nested.ll
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-widen.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-widen.ll
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/tail-reduce.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/tail-reduce.ll
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll
The file was modified/llvm/trunk/test/CodeGen/Thumb2/LowOverheadLoops/vector-reduce-mve-tail.llllvm.src/test/CodeGen/Thumb2/LowOverheadLoops/vector-reduce-mve-tail.ll
Revision 373187 by rogfer01:
[TargetLowering] Simplify expansion of S{ADD,SUB}O

ISD::SADDO uses the suggested sequence described in the section §2.4 of
the RISCV Spec v2.2. ISD::SSUBO uses the dual approach but checking for
(non-zero) positive.

Differential Revision: https://reviews.llvm.org/D47927
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cppllvm.src/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/AArch64/sadd_sat.llllvm.src/test/CodeGen/AArch64/sadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/sadd_sat_vec.llllvm.src/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/ssub_sat.llllvm.src/test/CodeGen/AArch64/ssub_sat.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/ssub_sat_vec.llllvm.src/test/CodeGen/AArch64/ssub_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/saddo.llllvm.src/test/CodeGen/AMDGPU/saddo.ll
The file was modified/llvm/trunk/test/CodeGen/ARM/addsubo-legalization.llllvm.src/test/CodeGen/ARM/addsubo-legalization.ll
The file was modified/llvm/trunk/test/CodeGen/RISCV/arith-with-overflow.llllvm.src/test/CodeGen/RISCV/arith-with-overflow.ll
The file was modified/llvm/trunk/test/CodeGen/X86/combine-mulo.llllvm.src/test/CodeGen/X86/combine-mulo.ll
The file was modified/llvm/trunk/test/CodeGen/X86/mulo-pow2.llllvm.src/test/CodeGen/X86/mulo-pow2.ll
The file was modified/llvm/trunk/test/CodeGen/X86/sadd_sat.llllvm.src/test/CodeGen/X86/sadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/X86/sadd_sat_vec.llllvm.src/test/CodeGen/X86/sadd_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/X86/ssub_sat.llllvm.src/test/CodeGen/X86/ssub_sat.ll
The file was modified/llvm/trunk/test/CodeGen/X86/ssub_sat_vec.llllvm.src/test/CodeGen/X86/ssub_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/X86/vec_saddo.llllvm.src/test/CodeGen/X86/vec_saddo.ll
The file was modified/llvm/trunk/test/CodeGen/X86/vec_ssubo.llllvm.src/test/CodeGen/X86/vec_ssubo.ll