FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj (details)
  2. [libomptarget][nfc] Add missing header for amdgcn/target_impl (details)
  3. [AArch64][SVE] Remove nxv1f32 and nxv1f64 as legal types (details)
  4. [Tooling] Move raw string literal out of a macro call. NFC (details)
  5. [DataLayout] Fix occurrences that size and range of pointers are assumed (details)
  6. [lldb][NFC] Don't implement ClangASTContext::SetMetadata again as a (details)
  7. [NFC] - Typo fix in test/CodeGenCXX/runtime-dllstorage.cpp (details)
  8. Temporarily Revert "[DataLayout] Fix occurrences that size and range of (details)
  9. [Mips] Add support for min/max/umin/umax atomics (details)
  10. [clangd] Fix hover crashing on null types (details)
  11. [lldb] "See through" atomic types in ClangASTContext (details)
  12. [lldb] Remove ClangASTMetrics (details)
  13. [llvm-readobj][test] - Add a test for testing regular section flags and (details)
  14. [NFC] - Partially revert 9c48c2f9c477007234c (details)
  15. [clangd] Fix windows tests (details)
  16. [Tooling/Syntax] Helpers to find spelled tokens touching a location. (details)
  17. [Support] Extend TimeProfiler to support multiple threads (details)
  18. [clangd] Rename constructors and destructors in cross-file case (details)
  19. [Support] Try to fix bot failure after 8ddcd1dc26 (details)
Commit fff9f049b2e91ce6e670d767866ee4670a4fed31 by grimar
[llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj
folder.
tools/llvm-readobj currently contains tests that are either general for
all file types or that mix file types inside. This patch refactors these
test and leaves only general tests in that folder. All other tests were
moved to ELF/COFF/MachO and wasm accordingly.
I tried to minimize amount of changes, so most of the test parts
remained unchanged. Any further refactorings and improvements for
particular tests should be done independently from this patch.
Differential revision: https://reviews.llvm.org/D71269
The file was removedllvm/test/tools/llvm-readobj/relocations.test
The file was addedllvm/test/tools/llvm-readobj/wasm/symbols.test
The file was removedllvm/test/tools/llvm-readobj/hex-dump.test
The file was removedllvm/test/tools/llvm-readobj/symbols.test
The file was addedllvm/test/tools/llvm-readobj/MachO/sections-ext.test
The file was addedllvm/test/tools/llvm-readobj/COFF/relocations.test
The file was addedllvm/test/tools/llvm-readobj/MachO/hex-dump.test
The file was addedllvm/test/tools/llvm-readobj/COFF/sections.test
The file was addedllvm/test/tools/llvm-readobj/ELF/sections-ext.test
The file was addedllvm/test/tools/llvm-readobj/wasm/hex-dump.test
The file was addedllvm/test/tools/llvm-readobj/COFF/hex-dump.test
The file was addedllvm/test/tools/llvm-readobj/ELF/sections.test
The file was modifiedllvm/test/tools/llvm-readobj/basic.test
The file was addedllvm/test/tools/llvm-readobj/MachO/relocations.test
The file was addedllvm/test/tools/llvm-readobj/wasm/relocations.test
The file was addedllvm/test/tools/llvm-readobj/COFF/symbols.test
The file was addedllvm/test/tools/llvm-readobj/ELF/symbols.test
The file was modifiedllvm/test/tools/llvm-readobj/MachO/sections.test
The file was addedllvm/test/tools/llvm-readobj/ELF/basic.test
The file was modifiedllvm/test/tools/llvm-readobj/archive.test
The file was removedllvm/test/tools/llvm-readobj/error-format.test
The file was addedllvm/test/tools/llvm-readobj/wasm/sections.test
The file was addedllvm/test/tools/llvm-readobj/ELF/hex-dump.test
The file was addedllvm/test/tools/llvm-readobj/ELF/relocations.test
The file was modifiedllvm/test/tools/llvm-readobj/thin-archive.test
The file was removedllvm/test/tools/llvm-readobj/sections-ext.test
The file was removedllvm/test/tools/llvm-readobj/sections.test
The file was addedllvm/test/tools/llvm-readobj/COFF/sections-ext.test
The file was removedllvm/test/tools/llvm-readobj/elf-relocations.test
Commit b399252028f02f8e32382aaeda9960e67b7fd514 by jonathanchesterfield
[libomptarget][nfc] Add missing header for amdgcn/target_impl
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
Commit bbd16b687641377c0ba54c8ceb1fc1ec4c0eb19a by cullen.rhodes
[AArch64][SVE] Remove nxv1f32 and nxv1f64 as legal types
Summary: Also cleans up ZPR register class definition.
Reviewers: sdesmalen, cameron.mcinally, efriedma
Reviewed By: efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71351
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.td
Commit 7d7789899f4d4684dac51f265a47b049db4d09f2 by ibiryukov
[Tooling] Move raw string literal out of a macro call. NFC
Should fix buildbots with some older gcc versions.
The file was modifiedclang/unittests/Tooling/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp
Commit 5f6208778ff92567c57d7c1e2e740c284d7e69a5 by nicola.zaghen
[DataLayout] Fix occurrences that size and range of pointers are assumed
to be the same.
GEP index size can be specified in the DataLayout, introduced in D42123.
However, there were still places in which getIndexSizeInBits was used
interchangeably with getPointerSizeInBits. This notably caused issues
with Instcombine's visitPtrToInt; but the unit tests was incorrect, so
this remained undiscovered.
Differential Revision: https://reviews.llvm.org/D68328
Patch by Joseph Faulls!
The file was addedllvm/test/Transforms/InstCombine/stdio-custom-dl.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/scev-custom-dl.ll
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was addedllvm/test/Transforms/InstCombine/builtin-object-size-custom-dl.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/test/Transforms/InstCombine/icmp-custom-dl.ll
The file was modifiedllvm/include/llvm/Analysis/PtrUseVisitor.h
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_create-custom-dl.ll
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/include/llvm/Analysis/Utils/Local.h
The file was modifiedllvm/test/Transforms/InstCombine/gep-custom-dl.ll
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/IR/DataLayout.cpp
The file was modifiedllvm/lib/Analysis/Loads.cpp
Commit 2aec4b4863f883e1e9e8e0362b85d37fc5fc0545 by Raphael Isemann
[lldb][NFC] Don't implement ClangASTContext::SetMetadata again as a
static method
We always have an ClangASTContext when we call this method so we might
as well always call the non-static version.
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
Commit 9c48c2f9c477007234c5bdad0bc8c0969afa0724 by gabor.buella
[NFC] - Typo fix in test/CodeGenCXX/runtime-dllstorage.cpp
Reviewed By: Jim
Differential Revision: https://reviews.llvm.org/D48921
The file was modifiedclang/test/CodeGenCXX/runtime-dllstorage.cpp
Commit f798eb21eca97dc44ed40da52ece22780fb74230 by nicola.zaghen
Temporarily Revert "[DataLayout] Fix occurrences that size and range of
pointers are assumed to be the same."
This reverts commit 5f6208778ff92567c57d7c1e2e740c284d7e69a5.
This caused failures in Transforms/PhaseOrdering/scev-custom-dl.ll
const: Assertion `getBitWidth() == CR.getBitWidth() && "ConstantRange
types don't agree!"' failed.
The file was modifiedllvm/include/llvm/Analysis/Utils/Local.h
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/IR/DataLayout.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_create-custom-dl.ll
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/test/Transforms/InstCombine/gep-custom-dl.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-custom-dl.ll
The file was removedllvm/test/Transforms/InstCombine/stdio-custom-dl.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/Transforms/PhaseOrdering/scev-custom-dl.ll
The file was removedllvm/test/Transforms/InstCombine/builtin-object-size-custom-dl.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/include/llvm/Analysis/PtrUseVisitor.h
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
Commit d7357c52a40a136f25c1cf5ae31a699d51885e49 by Mirko.Brkusanin
[Mips] Add support for min/max/umin/umax atomics
In order to properly implement these atomic we need one register more
than other binary atomics. It is used for storing result from comparing
values in addition to the one that is used for actual result of
operation.
https://reviews.llvm.org/D71028
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
The file was modifiedllvm/lib/Target/Mips/MipsScheduleP5600.td
The file was modifiedllvm/test/CodeGen/Mips/atomic.ll
The file was addedllvm/test/CodeGen/Mips/atomic-min-max.ll
The file was modifiedllvm/lib/Target/Mips/MipsScheduleGeneric.td
The file was modifiedllvm/lib/Target/Mips/MipsExpandPseudo.cpp
The file was addedllvm/test/CodeGen/Mips/atomic-min-max-64.ll
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/Mips64InstrInfo.td
Commit 75b04c7af9e7c48e0128a602f2edb17272e3bfaa by kadircet
[clangd] Fix hover crashing on null types
Summary: Fixes https://github.com/clangd/clangd/issues/225
Reviewers: sammccall, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71403
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit d6d36ae4a052e9fefd2926005a69f6cebfa5832b by pavel
[lldb] "See through" atomic types in ClangASTContext
Summary: This enables us to display the contents of atomic structs.
Calling the removal of _Atomic "desugaring" is not fully correct as it
does more than remove sugar, but it is the right thing to do for most of
the things that we care about. We can change this back once we decide to
support atomic types more comprehensively.
Reviewers: teemperor, shafik
Subscribers: jfb, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71262
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/dwarf5-atomic.s
Commit e39cb48cd0bdf9157b57c4616c821488f7b6d7c4 by Raphael Isemann
[lldb] Remove ClangASTMetrics
Summary: Not once have I looked at these numbers in a log and considered
them useful. Also this should not have been implemented via an unguarded
list of globals.
Reviewers: martong, shafik
Reviewed By: shafik
Subscribers: rnkovacs, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71336
The file was modifiedlldb/source/Symbol/ClangASTImporter.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTImporter.h
Commit c752de05057e7fee3eb11a16125e45ec9020e084 by grimar
[llvm-readobj][test] - Add a test for testing regular section flags and
cleanup flags testing.
This: 1) Adds a test for testing all section flags
(`section-flags.test`). 2) Renames
`sec-flags.test`->`section-arch-flags.test`
  and performs a clean up. 3) Removes
`compression.zlib.style.elf-x86-64` binary and a test case
  for SHF_COMPRESSED flag, because them are now excessive. 4) Adds
missing MIPS flags and a test for SHF_ARM_PURECODE.
Differential revision: https://reviews.llvm.org/D71333
The file was removedllvm/test/tools/llvm-readobj/ELF/sec-flags.test
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/compression.zlib.style.elf-x86-64
The file was removedllvm/test/tools/llvm-readobj/ELF/sec-compressed.test
The file was addedllvm/test/tools/llvm-readobj/ELF/section-flags.test
The file was addedllvm/test/tools/llvm-readobj/ELF/section-arch-flags.test
Commit d8f49912847dd8a589e992e2e07d79ac77e61408 by gabor.buella
[NFC] - Partially revert 9c48c2f9c477007234c
The file was modifiedclang/test/CodeGenCXX/runtime-dllstorage.cpp
Commit 471d9f3e698108da096bfcd85ac96e2eacda509b by kadircet
[clangd] Fix windows tests
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 3f8da5d0910772dc1f6198916a9141bf1d5be885 by sam.mccall
[Tooling/Syntax] Helpers to find spelled tokens touching a location.
Summary: Useful when positions are used to target nodes, with
before/after ambiguity.
Reviewers: ilya-biryukov, kbobyrev
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71356
The file was modifiedclang/include/clang/Basic/SourceLocation.h
The file was modifiedclang/lib/Tooling/Syntax/Tokens.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TokensTest.cpp
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h
Commit 8ddcd1dc26bad9d97bbf34cf4fc91dbf3c153431 by russell.gallop
[Support] Extend TimeProfiler to support multiple threads
This makes TimeTraceProfilerInstance thread local. Added
timeTraceProfilerFinishThread() which moves the thread local instance to
a global vector of instances. timeTraceProfilerWrite() then writes
recorded data from all instances.
Threads are identified based on their thread ids. Totals are reported
with artificial thread ids higher than the real ones.
Replaced raw pointer for TimeTraceProfilerInstance with unique_ptr.
Differential Revision: https://reviews.llvm.org/D71059
The file was modifiedllvm/lib/Support/TimeProfiler.cpp
The file was modifiedllvm/include/llvm/Support/TimeProfiler.h
Commit ec618826dfb91c5413353ebcc54f360e43df10a0 by kbobyrev
[clangd] Rename constructors and destructors in cross-file case
* Use ad-hoc Decl canonicalization from Clang-Rename to allow renaming
constructors and destructors while using cross-file rename.
* Manually handle the destructor selection
* Add unit tests to prevent regressions and ensure the correct behaviour
Reviewed by: sammccall
Differential Revision: https://reviews.llvm.org/D71247
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
Commit f70f18014854a333ce27504515bb8aab7c73c6c2 by russell.gallop
[Support] Try to fix bot failure after 8ddcd1dc26
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/41755
The file was modifiedllvm/lib/Support/TimeProfiler.cpp