FailedChanges

Summary

  1. Move decl completion out of the ASTImporterDelegate and document it (details)
  2. [StaticAnalyzer] Use llvm::StringLiteral instead of StringRef in few (details)
  3. [SystemZ]  Add SystemZ as supporting target in help text for -mfentry. (details)
  4. [clang-tidy] Fix relative path in header-filter. (details)
  5. [FastISel] Fix insertion of unconditional branches during FastISel (details)
  6. [Alignment][NFC] migrate DataLayout internal struct to llvm::Align (details)
  7. [RISCV] Fix static analysis issues (details)
  8. [Testing] Python 3 requires `print` to use parens (details)
  9. [SLPVectorizer] add tests for bogus reductions; NFC (details)
  10. [CUDA][HIP] Fix hostness of defaulted constructor Clang does not respect (details)
  11. Use llvm::StringLiteral instead of StringRef in few places (details)
  12. [TextAPI] Arch&Platform to Target (details)
  13. gn build: Merge r372396 (details)
  14. Add a missing space in a MIR parser error message (details)
Commit 6192ad262239934df111ca5297dcc48bec597a22 by Raphael Isemann
Move decl completion out of the ASTImporterDelegate and document it
[NFC]
Summary: The ASTImporterDelegate is currently responsible for both
recording and also completing types. This patch moves the actual
completion and recording code outside the ASTImporterDelegate to reduce
the amount of responsibilities the ASTImporterDelegate has to fulfill.
As I anyway had to touch the code when moving I also documented and
refactored most of it
(e.g. no more asserts that we call the deporting start/end function
always as a pair).
Note that I had to make the ASTImporterDelegate and it's related
functions public now so that I can move out the functionality in another
class (that doesn't need to be in the header).
Reviewers: shafik, aprantl, martong, a.sidorin
Reviewed By: martong
Subscribers: rnkovacs, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D61478
llvm-svn: 372385
The file was modifiedlldb/source/Symbol/ClangASTImporter.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTImporter.h
Commit 8599ffa4b1cda61e76bca973c65227867c8b0f05 by benny.kra
[StaticAnalyzer] Use llvm::StringLiteral instead of StringRef in few
places
StringRef's constexpr constructor seems to be extremely slow in MSVC
2017, so don't use it for generated tables. Should make PR43369 a bit
better, no functionality change.
llvm-svn: 372386
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
Commit 81aa62addf7bd8d1cf57adc86dabcbc1c91f7a2c by paulsson
[SystemZ]  Add SystemZ as supporting target in help text for -mfentry.
=> "Insert calls to fentry at function entry (x86/SystemZ only)"
Review: Ulrich Weigand llvm-svn: 372387
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/docs/ClangCommandLineReference.rst
Commit 4a13c828f6d78e49eabffc7b57f805ca46a2a827 by gribozavr
[clang-tidy] Fix relative path in header-filter.
Summary: Clang-tidy supports output diagnostics from header files if
user specifies --header-filter. But it can't handle relative path well.
For example, the folder structure of a project is:
```
// a.h is in /src/a/a.h
// b.h is in /src/b/b.h
...
// c.cpp is in /src/c.cpp
```
Now, we set --header-filter as --header-filter=/a/. That means we only
want to check header files under /src/a/ path, and ignore header files
uder /src/b/ path, but in current implementation, clang-tidy will check
/src/b/b.h also, because the name of b.h used in clang-tidy is
/src/a/../b/b.h.
This change tries to fix this issue.
Reviewers: alexfh, hokein, aaron.ballman, gribozavr
Reviewed By: gribozavr
Subscribers: MyDeveloperDay, xazax.hun, cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D67501
Patch by Yubo Xie.
llvm-svn: 372388
The file was modifiedclang-tools-extra/test/clang-tidy/file-filter.cpp
The file was addedclang-tools-extra/test/clang-tidy/Inputs/file-filter/subfolder_c/header_c.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
The file was addedclang-tools-extra/test/clang-tidy/Inputs/file-filter/subfolder_b/header_b.h
The file was addedclang-tools-extra/test/clang-tidy/Inputs/file-filter/subfolder_a/header_a.h
Commit 2a47c77e720a24f808bf6230d0a56bc969258b86 by david.tellenbach
[FastISel] Fix insertion of unconditional branches during FastISel
The insertion of an unconditional branch during FastISel can differ
depending on building with or without debug information. This happens
because FastISel::fastEmitBranch emits an unconditional branch depending
on the size of the current basic block without distinguishing between
debug and non-debug instructions.
This patch fixes this issue by ignoring debug instructions when getting
the size of the basic block.
Reviewers: aprantl
Reviewed By: aprantl
Subscribers: ormris, aprantl, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67703
llvm-svn: 372389
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was modifiedllvm/lib/IR/BasicBlock.cpp
The file was modifiedllvm/unittests/IR/BasicBlockTest.cpp
The file was addedllvm/test/CodeGen/AArch64/fast-isel-branch-uncond-debug.ll
The file was modifiedllvm/include/llvm/IR/BasicBlock.h
Commit 6c127cdb99f37069ef410ff9c7a57a76cab269a2 by gchatelet
[Alignment][NFC] migrate DataLayout internal struct to llvm::Align
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
With this patch the PointerAlignElem struct goes from 20B to 16B.
Reviewers: courbet
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67400
llvm-svn: 372390
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/lib/IR/DataLayout.cpp
Commit 2d0cd6cac8403c22b29bcc7874649ff789c6c9b0 by luismarques
[RISCV] Fix static analysis issues
Unlikely to be problematic but still worth fixing.
Differential Revision: https://reviews.llvm.org/D67640
llvm-svn: 372391
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit 4fff87d2eea1fb8e835df9e6dbd8372bc5c313be by dave
[Testing] Python 3 requires `print` to use parens
llvm-svn: 372392
The file was modifiedllvm/test/Reduce/Inputs/remove-instructions.py
Commit 4896f7243d629dfa9cce4acf2f72ca1e081a2c40 by spatel
[SLPVectorizer] add tests for bogus reductions; NFC
https://bugs.llvm.org/show_bug.cgi?id=42708
https://bugs.llvm.org/show_bug.cgi?id=43146
llvm-svn: 372393
The file was addedllvm/test/Transforms/SLPVectorizer/X86/bad-reduction.ll
Commit e5d17c511fa603b557f86257b5b6f39b429f4e35 by Yaxun.Liu
[CUDA][HIP] Fix hostness of defaulted constructor Clang does not respect
the explicit device host attributes of defaulted special members. Also
clang does not respect the hostness of special members determined by
their first declarations. Clang also adds duplicate implicit device or
host attributes in certain cases. This patch fixes that. Differential
Revision: https://reviews.llvm.org/D67509
llvm-svn: 372394
The file was addedclang/test/SemaCUDA/default-ctor.cu
The file was modifiedclang/lib/Sema/SemaCUDA.cpp
Commit 084801bdc1a798f30d3ecc183009c74809e051c5 by maskray
Use llvm::StringLiteral instead of StringRef in few places
llvm-svn: 372395
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/X86/X86InsertPrefetch.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
Commit 81669d5ead6fa555f13308771a6d4cd97f9a73c5 by cyndy_ishida
[TextAPI] Arch&Platform to Target
Summary: This is a patch for updating TextAPI/Macho to read in targets
as opposed to arch/platform. This is because in previous versions tbd
files only supported a single platform but that is no longer the case,
so, now its tracked by unique triples. This precedes a seperate patch
that will add  the TBD-v4 format
Reviewers: ributzka, steven_wu, plotfi, compnerd, smeenai
Reviewed By: ributzka
Subscribers: mgorny, hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67527
llvm-svn: 372396
The file was addedllvm/include/llvm/TextAPI/MachO/Platform.h
The file was modifiedllvm/lib/TextAPI/MachO/Symbol.cpp
The file was modifiedllvm/include/llvm/TextAPI/MachO/InterfaceFile.h
The file was modifiedllvm/lib/TextAPI/MachO/TextStubCommon.h
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was modifiedllvm/lib/TextAPI/MachO/InterfaceFile.cpp
The file was addedllvm/lib/TextAPI/MachO/Platform.cpp
The file was modifiedllvm/include/llvm/TextAPI/MachO/ArchitectureSet.h
The file was modifiedllvm/unittests/TextAPI/TextStubV2Tests.cpp
The file was modifiedllvm/include/llvm/TextAPI/MachO/Architecture.h
The file was modifiedllvm/lib/TextAPI/CMakeLists.txt
The file was addedllvm/lib/TextAPI/MachO/Target.cpp
The file was modifiedllvm/unittests/TextAPI/TextStubV1Tests.cpp
The file was modifiedllvm/include/llvm/TextAPI/MachO/Symbol.h
The file was modifiedllvm/unittests/TextAPI/TextStubV3Tests.cpp
The file was modifiedllvm/lib/TextAPI/MachO/Architecture.cpp
The file was modifiedllvm/lib/Object/TapiFile.cpp
The file was modifiedllvm/lib/TextAPI/MachO/TextStubCommon.cpp
The file was addedllvm/include/llvm/TextAPI/MachO/Target.h
The file was modifiedllvm/lib/TextAPI/MachO/TextStub.cpp
Commit 927699490aec66edab97bf05b993f01a56b74c64 by llvmgnsyncbot
gn build: Merge r372396
llvm-svn: 372397
The file was modifiedllvm/utils/gn/secondary/llvm/lib/TextAPI/BUILD.gn
Commit b71d8d465aa992870a22bd17e684fa6a5e9b2759 by david.stenberg
Add a missing space in a MIR parser error message
llvm-svn: 372398
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was modifiedllvm/test/CodeGen/MIR/X86/call-site-info-error2.mir

Summary

  1. [LNT] Python 3 support: Fix implicit package-relative imports Summary: This patch replaces implicit package-relative imports with explicitly relative imports and makes further adjustments necessary to correct for circular import issues encountered when running with Python 2.7 following the initial changes. Finally, `from __future__ import absolute_import` is added to all of the files changed as part of this exercise. These changes help with running tests (without result submission) with Python 3. Reviewers: cmatthews, thopre, kristof.beyls, MaskRay Reviewed By: MaskRay Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D67795
Revision 372404 by hubert.reinterpretcast:
[LNT] Python 3 support: Fix implicit package-relative imports

Summary:
This patch replaces implicit package-relative imports with explicitly
relative imports and makes further adjustments necessary to correct for
circular import issues encountered when running with Python 2.7
following the initial changes.

Finally, `from __future__ import absolute_import` is added to all of the
files changed as part of this exercise.

These changes help with running tests (without result submission) with
Python 3.

Reviewers: cmatthews, thopre, kristof.beyls, MaskRay

Reviewed By: MaskRay

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D67795
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/external/stats/pstat.pylnt/external/stats/pstat.py
The file was modified/lnt/trunk/lnt/external/stats/stats.pylnt/external/stats/stats.py
The file was modified/lnt/trunk/lnt/formats/__init__.pylnt/formats/__init__.py
The file was modified/lnt/trunk/lnt/lnttool/__init__.pylnt/lnttool/__init__.py
The file was modified/lnt/trunk/lnt/server/db/testsuite.pylnt/server/db/testsuite.py
The file was modified/lnt/trunk/lnt/server/db/testsuitedb.pylnt/server/db/testsuitedb.py
The file was modified/lnt/trunk/lnt/testing/profile/__init__.pylnt/testing/profile/__init__.py
The file was modified/lnt/trunk/lnt/testing/profile/perf.pylnt/testing/profile/perf.py
The file was modified/lnt/trunk/lnt/testing/profile/profilev2impl.pylnt/testing/profile/profilev2impl.py