FailedChanges

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

Summary

  1. Temporarily add SVN rev to the last_good_build.properties file (details)
Commit 1b89a72c5757f3d0b770e8239bbefb278d65c71a by Azharuddin Mohammed
Temporarily add SVN rev to the last_good_build.properties file
Until we make LNT server work with Git revisions.
llvm-svn: 368085
The file was modifiedzorg/jenkins/monorepo_build.py

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

Summary

  1. [libc++] Use the monorepo in the macos-trunk CI script (details)
  2. [AST] Traverse attributes inside DEF_TRAVERSE_DECL macro (details)
  3. [Path] Fix bug in make_absolute logic (details)
  4. [compiler-rt] Rename FuzzedDataProvider.h to .hpp and other minor (details)
  5. Re-land D65760/r367944 (details)
  6. [NFC][EarlyCSE] Pre-commit unary FNeg tests. (details)
  7. [ELF][PPC] Don't relax ifunc toc-indirect accesses to toc-relative (details)
  8. Fixed toHalfOpenFileRange assertion fail (details)
  9. [InstCombine] Shift amount reassociation: shl-trunc-shl pattern (details)
  10. [TableGen] FieldInit: improve assertion message (details)
  11. [X86] Move CPU features for Barcelona/K10 out of line (details)
  12. [Syntax] Do not add a node for 'eof' into the tree (details)
  13. [globalisel] Allow SrcOp to convert an APInt and render it as an (details)
  14. [modulemap] exclude a non-module friendly header (details)
  15. [GISel]: Add GISelKnownBits analysis (details)
  16. [lldb][CMake] Generating Xcode projects (details)
  17. [GISel]: Fix trivial build breakage (details)
  18. [OPENMP][OFFLOADING]Fix the test, NFC. (details)
  19. Various build fixes for lldb on MinGW (details)
  20. [clang-doc] Add index in each info html file (details)
  21. Added Delta IR Reduction Tool (details)
  22. Teach some warnings to respect gsl::Pointer and gsl::Owner attributes (details)
  23. Revert "Added Delta IR Reduction Tool" (details)
  24. Add order-dependencies to object libraries (details)
  25. [SymbolFile] Remove commented out method (details)
  26. [Attributor][modulemap] Revert r368064 but fix the build (details)
  27. [libc++] Use the monorepo for the back-deployment testing scripts (details)
  28. [WebAssembly] Fix null pointer in createInitTLSFunction (details)
  29. [X86] Remove uses of the -x86-experimental-vector-widening-legalization (details)
  30. [X86] Remove tests for -x86-experimental-vector-widening-legalization (details)
  31. [X86] Add more extract subvector cost model tests for smaller element (details)
  32. [lldb][NFC] Minor refactorings to (Clang)ExpressionSourceCode (details)
  33. [clangd] Unfold SourceLocation flattening from findNameLoc in (details)
  34. Revert [InstCombine] Shift amount reassociation: shl-trunc-shl pattern (details)
  35. [clang-scan-deps] Implementation of dependency scanner over minimized (details)
  36. [clang-doc] Fix paths of js in import tags (details)
  37. [pstl][libc++] Provide uglified header names for interface headers (details)
  38. [NFC][ScopBuilder] Move addUserAssumptions to ScopBuilder (details)
Commit 8442252c490896fa62050266c11431fe1bbc398b by Louis Dionne
[libc++] Use the monorepo in the macos-trunk CI script
llvm-svn: 368051
The file was modifiedlibcxx/utils/ci/macos-trunk.sh
Commit 4b03364d72a5f4e372e631178bd32e0d4f531241 by ibiryukov
[AST] Traverse attributes inside DEF_TRAVERSE_DECL macro
Summary: Instead of traversing inside the TraverseDecl() function.
Previously the attributes were traversed after Travese(Some)Decl
returns.
Logically attributes are properties of particular Decls and should be
traversed alongside other "child" nodes.
None of the tests relied on this behavior, hopefully this is an
indication that the change is relatively safe.
This change started with a discussion on cfe-dev, for details see:
https://lists.llvm.org/pipermail/cfe-dev/2019-July/062899.html
Reviewers: rsmith, gribozavr
Reviewed By: gribozavr
Subscribers: mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64907
llvm-svn: 368052
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was addedclang/unittests/AST/RecursiveASTVisitorTest.cpp
The file was modifiedclang/unittests/AST/CMakeLists.txt
Commit cb6f2646fd44c5274312c8fa782c4f339dfadad7 by Jonas Devlieghere
[Path] Fix bug in make_absolute logic
This fixes a bug for making path with a //net style root absolute. I
discovered the bug while writing a test case for the VFS, which uses
these paths because they're both legal absolute paths on Windows and
Unix.
Differential revision: https://reviews.llvm.org/D65675
llvm-svn: 368053
The file was modifiedllvm/lib/Support/Path.cpp
The file was modifiedllvm/unittests/Support/Path.cpp
Commit 6c619aadc4ccabdf2d0e5635a133a2764cc0fb71 by mmoroz
[compiler-rt] Rename FuzzedDataProvider.h to .hpp and other minor
changes.
Summary:
.hpp makes more sense for this header as it's C++ only, plus it contains
the actual implementation.
Reviewers: Dor1s
Reviewed By: Dor1s
Subscribers: kubamracek, dberris, mgorny, delcypher, #sanitizers,
llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65812
llvm-svn: 368054
The file was modifiedcompiler-rt/include/CMakeLists.txt
The file was addedcompiler-rt/include/fuzzer/FuzzedDataProvider.hpp
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
The file was modifiedcompiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h
The file was removedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
The file was modifiedcompiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp
Commit 8bac17709e16d22aa51a1d4411a0241305dcdbff by diego.caballero
Re-land D65760/r367944
Fixed most vexing parse ambiguation.
llvm-svn: 368055
The file was modifiedllvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
Commit 9c52f66f48226e58f5e811e01add6c246209fea4 by cameron.mcinally
[NFC][EarlyCSE] Pre-commit unary FNeg tests.
llvm-svn: 368056
The file was modifiedllvm/test/Transforms/EarlyCSE/floatingpoint.ll
Commit c55c0598f915da2fe1cd637ade1d985beb6a7c84 by maskray
[ELF][PPC] Don't relax ifunc toc-indirect accesses to toc-relative
Fixes PR42759.
```
// If ifunc is taken address in -fPIC code, it may have a toc entry
.section .toc,"aw",@progbits
.quad ifunc
// ifunc may be defined as STT_GNU_IFUNC in another object file
.type ifunc, %gnu_indirect_function
```
If ifunc is non-preemptable (e.g. when linking an executable), the toc
entry will be relocated by R_PPC64_IRELATIVE.
R_*_IRELATIVE represents the symbolic value of a non-preemptable ifunc
(not associated with a canonical PLT) in a writable location. It has an
unknown value at link time, so we cannot apply toc-indirect to
toc-relative relaxation.
Reviewed By: luporl, sfertile
Differential Revision: https://reviews.llvm.org/D65755
llvm-svn: 368057
The file was addedlld/test/ELF/ppc64-toc-relax-ifunc.s
The file was modifiedlld/ELF/Arch/PPC64.cpp
Commit 8fbb6ce847825ebda1dfcaee8a7bf88b4c4e3e52 by shauryab98
Fixed toHalfOpenFileRange assertion fail
Summary:
- Added new function that gets Expansion range with both ends in the
same file.
- Fixes the crash at https://github.com/clangd/clangd/issues/113
Subscribers: ilya-biryukov, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65754
llvm-svn: 368058
The file was modifiedclang-tools-extra/clangd/unittests/SourceCodeTests.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
Commit 0f957109761913c563922f1afd4ceb29ef21bbd0 by lebedev.ri
[InstCombine] Shift amount reassociation: shl-trunc-shl pattern
Summary: Currently `reassociateShiftAmtsOfTwoSameDirectionShifts()` only
handles two shifts one after another. If the shifts are `shl`, we still
can easily perform the fold, with no extra legality checks:
https://rise4fun.com/Alive/OQbM
If we have right-shift however, we won't be able to make it any simpler
than it already is.
After this the only thing missing here is constant-folding: (`NewShAmt
>= bitwidth(X)`)
* If it's a logical shift, then constant-fold to `0` (not `undef`)
* If it's a `ashr`, then a splat of original signbit
https://rise4fun.com/Alive/E1K https://rise4fun.com/Alive/i0V
Reviewers: spatel, nikic, xbolva00
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65380
llvm-svn: 368059
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
Commit 94b741e348b71545d7f9a057d34a4a7677a3ba18 by lebedev.ri
[TableGen] FieldInit: improve assertion message
Summary: When fiddling with sched profiles, especially creating new
ones, it's amazingly easy to end up with malformed .td that crashes
tablegen, without explanation of the bug. This changes the most common
assertion i have encountered to dump enough information to be able to
fix the .td
Split of from D63628
Reviewers: RKSimon, craig.topper, nhaehnle
Reviewed By: craig.topper
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65790
llvm-svn: 368060
The file was modifiedllvm/include/llvm/TableGen/Record.h
Commit 213817327f6974926fab676c42b4fc55d75cae99 by lebedev.ri
[X86] Move CPU features for Barcelona/K10 out of line
Summary: Cleans X86.td's Barcelona entry to be more like the others, by
moving the features out of the `Proc<>`, thus potentially making it
possible to inherit from them. Split off from D63628
Reviewers: craig.topper, RKSimon
Reviewed By: craig.topper
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65791
llvm-svn: 368061
The file was modifiedllvm/lib/Target/X86/X86.td
Commit bfbf6b6cab9bc4e51bae95e2665bfa1aacdbe174 by ibiryukov
[Syntax] Do not add a node for 'eof' into the tree
Summary: While useful as a sentinel value when iterating over tokens,
having
'eof' in the tree, seems to do more harm than good.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: javed.absar, kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64576
llvm-svn: 368062
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
Commit d9934d4939aff316689825c7050417a71a24b334 by daniel_l_sanders
[globalisel] Allow SrcOp to convert an APInt and render it as an
immediate operand (MO.isImm() == true)
Summary: This is tested by D61289 but has been pulled into a separate
patch at a reviewers request.
Reviewers: bogner, aditya_nandakumar, volkan, aemerson, paquette,
arsenm, rovka
Reviewed By: arsenm
Subscribers: javed.absar, hiraditya, wdng, kristof.beyls,
Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D61321
llvm-svn: 368063
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
Commit 3a4d5ed232dc9f002045a7f89d3bc1f4be5e9e0c by Kristina Brooks
[modulemap] exclude a non-module friendly header
Exclude Attributor.h from LLVM_Transforms to avoid a link failure when
building modular LLVM.
llvm-svn: 368064
The file was modifiedllvm/include/llvm/module.modulemap
Commit c8ac029d0ae27b8fd392f216d471ba2730be7fd1 by aditya_nandakumar
[GISel]: Add GISelKnownBits analysis
https://reviews.llvm.org/D65698
This adds a KnownBits analysis pass for GISel. This was done as a pass
(compared to static functions) so that we can add other features such as
caching queries(within a pass and across passes) in the future. This
patch only adds the basic pass boiler plate, and implements a lazy non
caching knownbits implementation (ported from SelectionDAG). I've also
hooked up the AArch64PreLegalizerCombiner pass to use this - there
should be no compile time regression as the analysis is lazy.
llvm-svn: 368065
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CMakeLists.txt
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CSETest.cpp
The file was addedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was addedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was addedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/GISelMITest.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
Commit 7f34a3652e9cf57b2d8119480e74b923f7731f4a by stefan.graenitz
[lldb][CMake] Generating Xcode projects
Summary: Print a warning if the wrong cache script is used when
generating a Xcode project, because it's too easy to confuse with
Apple-lldb-macOS.cmake
```
When building with Xcode, we recommend using the corresponding cache
script.  If this was a mistake, clean your build directory and re-run
CMake with:
    -C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-Xcode.cmake
  See:
https://lldb.llvm.org/resources/build.html#cmakegeneratedxcodeproject
```
Also set the generator inside the cache script.
Reviewers: JDevlieghere, jingham, clayborg
Reviewed By: JDevlieghere
Subscribers: mgorny, lldb-commits, #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65797
llvm-svn: 368066
The file was modifiedlldb/cmake/caches/Apple-lldb-Xcode.cmake
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was modifiedlldb/docs/resources/build.rst
Commit 6bbfde5c48aa0a21d2a303341bb9824cead22728 by aditya_nandakumar
[GISel]: Fix trivial build breakage
llvm-svn: 368067
The file was modifiedllvm/test/CodeGen/AArch64/O0-pipeline.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
Commit c10180ed8ed9c5d8071eb575c0eaa119d517cc85 by a.bataev
[OPENMP][OFFLOADING]Fix the test, NFC.
llvm-svn: 368068
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_api.cpp
Commit a63417fe6c8fca288db28c9dd77f8ca789627227 by hhb
Various build fixes for lldb on MinGW
Subscribers: mstorsjo, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65691
llvm-svn: 368069
The file was modifiedlldb/tools/driver/Platform.h
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was modifiedlldb/source/Host/windows/FileSystem.cpp
The file was modifiedlldb/include/lldb/Host/windows/PosixApi.h
The file was modifiedlldb/tools/lldb-vscode/VSCode.cpp
Commit 7dfe0bc3c162877a4643831b7917fc195098aac6 by diegoaat97
[clang-doc] Add index in each info html file
An index structure is created while generating the output file for each
info. This structure is parsed to JSON and written to a file in the
output directory. The html for the index is not rendered by clang-doc. A
Javascript file is included in the output directory, this will the JSON
file and insert HTML elements into the file.
Differential Revision: https://reviews.llvm.org/D65690
llvm-svn: 368070
The file was modifiedclang-tools-extra/clang-doc/YAMLGenerator.cpp
The file was addedclang-tools-extra/clang-doc/assets/index.js
The file was modifiedclang-tools-extra/clang-doc/Generators.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/tool/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-doc/ClangDocTest.cpp
The file was modifiedclang-tools-extra/clang-doc/MDGenerator.cpp
The file was removedclang-tools-extra/clang-doc/stylesheets/clang-doc-default-stylesheet.css
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was addedclang-tools-extra/unittests/clang-doc/GeneratorTest.cpp
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
The file was modifiedclang-tools-extra/clang-doc/Generators.h
The file was modifiedclang-tools-extra/unittests/clang-doc/ClangDocTest.h
The file was addedclang-tools-extra/clang-doc/assets/clang-doc-default-stylesheet.css
Commit 800618f24190e0dcf32d8528cdd76426744a1b52 by diegof30
Added Delta IR Reduction Tool
Summary: Tool parses input IR file, and runs the delta debugging
algorithm to reduce the functions inside the input file.
Reviewers: alexshap, chandlerc
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63672
llvm-svn: 368071
The file was addedllvm/tools/llvm-reduce/TestRunner.cpp
The file was addedllvm/test/Reduce/remove-funcs.ll
The file was addedllvm/tools/llvm-reduce/deltas/RemoveFunctions.cpp
The file was modifiedllvm/tools/LLVMBuild.txt
The file was addedllvm/docs/BugpointRedesign.md
The file was addedllvm/tools/llvm-reduce/DeltaManager.h
The file was addedllvm/tools/llvm-reduce/deltas/Delta.h
The file was addedllvm/tools/llvm-reduce/LLVMBuild.txt
The file was addedllvm/tools/llvm-reduce/TestRunner.h
The file was addedllvm/tools/llvm-reduce/deltas/RemoveFunctions.h
The file was addedllvm/tools/llvm-reduce/llvm-reduce.cpp
The file was addedllvm/test/Reduce/Inputs/remove-funcs.sh
The file was addedllvm/tools/llvm-reduce/CMakeLists.txt
Commit e5e10b526f2fca057478685777c456e0d2cb7782 by xazax.hun
Teach some warnings to respect gsl::Pointer and gsl::Owner attributes
This patch extends some existing warnings to utilize the knowledge about
the gsl::Pointer and gsl::Owner attributes.
Differential Revision: https://reviews.llvm.org/D64256
llvm-svn: 368072
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was addedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit e2f17e264997ab6f2630d368bfc7b517e75507d3 by gribozavr
Revert "Added Delta IR Reduction Tool"
This reverts commit r368071, it broke buildbots.
llvm-svn: 368073
The file was modifiedllvm/tools/LLVMBuild.txt
The file was removedllvm/docs/BugpointRedesign.md
The file was removedllvm/tools/llvm-reduce/DeltaManager.h
The file was removedllvm/test/Reduce/remove-funcs.ll
The file was removedllvm/tools/llvm-reduce/LLVMBuild.txt
The file was removedllvm/tools/llvm-reduce/llvm-reduce.cpp
The file was removedllvm/tools/llvm-reduce/deltas/RemoveFunctions.h
The file was removedllvm/tools/llvm-reduce/CMakeLists.txt
The file was removedllvm/tools/llvm-reduce/deltas/Delta.h
The file was removedllvm/tools/llvm-reduce/TestRunner.cpp
The file was removedllvm/test/Reduce/Inputs/remove-funcs.sh
The file was removedllvm/tools/llvm-reduce/TestRunner.h
The file was removedllvm/tools/llvm-reduce/deltas/RemoveFunctions.cpp
Commit 96655b32d8edf2616c6e88744d3faf2bfce721cc by chris.bieneman
Add order-dependencies to object libraries
Summary: If you are generating an object library that depends on
table-gen generate sources, you need the object library to depend on the
tablgen target. Currently llvm_add_library doesn't add dependencies for
object libraries at all, which is clearly problematic.
Reviewers: compnerd, hintonda, smeenai
Reviewed By: smeenai
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65818
llvm-svn: 368074
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 5fdf10bae878ea85959493c4954193fb0825b4cd by apl
[SymbolFile] Remove commented out method
llvm-svn: 368075
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
Commit 26e60f065318697ed411f9b4158880d6872356ef by Kristina Brooks
[Attributor][modulemap] Revert r368064 but fix the build
Commit r368064 was necessary after r367953 (D65712) broke the module
build. That happened, apparently, because the template class IRAttribute
defined in the header had a virtual method defined in the corresponding
source file (IRAttribute::manifest). To unbreak the situation this patch
introduces a helper function IRAttributeManifest::manifestAttrs which is
used to implement IRAttribute::manifest in the header. The deifnition of
the helper function is still in the source file.
Patch by jdoerfert (Johannes Doerfert)
Differential Revision: https://reviews.llvm.org/D65821
llvm-svn: 368076
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/include/llvm/module.modulemap
Commit 53e9c2d76be160dc5b68162f6943f4ebe92607f4 by Louis Dionne
[libc++] Use the monorepo for the back-deployment testing scripts
llvm-svn: 368077
The file was modifiedlibcxx/utils/ci/macos-backdeployment.sh
The file was modifiedlibcxx/utils/ci/macos-trunk.sh
Commit 0cb776e61a74418574f698bdd2bcf2276eabf8b8 by gzchen
[WebAssembly] Fix null pointer in createInitTLSFunction
Summary:
`createSyntheticSymbols`, which creates `WasmSym::InitTLS`, is only
called when `!config->relocatable`, but this condition is not checked
when calling
`createInitTLSFunction`.
This diff checks `!config->relocatable` before calling
`createInitTLSFunction`.
Fixes https://github.com/emscripten-core/emscripten/issues/9155.
Reviewers: tlively, aheejin, kripken, sbc100
Subscribers: dschuff, jgravelle-google, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65785
llvm-svn: 368078
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/test/wasm/relocatable.ll
Commit 3f572c7b8405f36993ec8a226dcddd57283a7c1e by craig.topper
[X86] Remove uses of the -x86-experimental-vector-widening-legalization
flag from test/CodeGen/X86/
This flag is now the default behavior so we no longer need to set it in
tests.
Some redundant tests have been removed after verifying we have an
equivalent test that didn't use the flag.
llvm-svn: 368079
The file was removedllvm/test/CodeGen/X86/vector-shift-lshr-sub128-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vec_cast3.ll
The file was removedllvm/test/CodeGen/X86/vec_clz.ll
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter_widen.ll
The file was addedllvm/test/CodeGen/X86/vector-lzcnt-sub128.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-mul-widen.ll
The file was modifiedllvm/test/CodeGen/X86/SwizzleShuff.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-add-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-smin-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-and-widen.ll
The file was removedllvm/test/CodeGen/X86/vec_int_to_fp-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-xor-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-smax-widen.ll
The file was modifiedllvm/test/CodeGen/X86/lower-bitcast.ll
The file was removedllvm/test/CodeGen/X86/avx512-trunc-widen.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-4.ll
The file was removedllvm/test/CodeGen/X86/vector-sext-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-zext-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vec_cast2.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-or-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-ssat-widen.ll
The file was removedllvm/test/CodeGen/X86/shrink_vmul-widen.ll
The file was removedllvm/test/CodeGen/X86/vec_fp_to_int-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-math-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-umax-widen.ll
The file was removedllvm/test/CodeGen/X86/avx512-cvt-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-umin-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-usat-widen.ll
The file was removedllvm/test/CodeGen/X86/shuffle-vs-trunc-128-widen.ll
The file was removedllvm/test/CodeGen/X86/shuffle-vs-trunc-256-widen.ll
The file was modifiedllvm/test/CodeGen/X86/widen_conversions.ll
The file was modifiedllvm/test/CodeGen/X86/bswap-vector.ll
The file was removedllvm/test/CodeGen/X86/vector-shift-shl-sub128-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-v2i32.ll
The file was modifiedllvm/test/CodeGen/X86/pmulh.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-packus-widen.ll
The file was modifiedllvm/test/CodeGen/X86/widen_mul.ll
The file was removedllvm/test/CodeGen/X86/vector-shift-ashr-sub128-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc.ll
The file was removedllvm/test/CodeGen/X86/shuffle-vs-trunc-512-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-widen.ll
Commit b1e4da2b906a9d9d9a2f88343c859a27bb8b12f5 by craig.topper
[X86] Remove tests for -x86-experimental-vector-widening-legalization
from test/Analysis/CostModel/X86/
This flag is now the default behavior so we don't need separate tests.
llvm-svn: 368080
The file was removedllvm/test/Analysis/CostModel/X86/reduce-smax-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-or-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/testshiftashr-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-xor-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-smin-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/testshiftlshr-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/cast-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/fptosi-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/fptoui-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-and-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-umax-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-mul-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-umin-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/uitofp-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-add-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/masked-intrinsic-cost-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/sitofp-widen.ll
The file was removedllvm/test/Analysis/CostModel/X86/testshiftshl-widen.ll
Commit fc33e33776b7a7ce22e539f0ec2e3bfdb09ad361 by craig.topper
[X86] Add more extract subvector cost model tests for smaller element
sizes and smaller than 128-bit vectors.
With the switch to widening legalization, we need to a better job of
costing extractions of less than 128-bits.
llvm-svn: 368081
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-extract_subvector.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 4c7b28d6bbbd5a057307d9d3ac39705671412781 by Raphael Isemann
[lldb][NFC] Minor refactorings to (Clang)ExpressionSourceCode
llvm-svn: 368082
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.h
The file was modifiedlldb/include/lldb/Expression/ExpressionSourceCode.h
Commit 957380714da38ca4871602933388bce32c32d7aa by sam.mccall
[clangd] Unfold SourceLocation flattening from findNameLoc in
preparation for adding more overloads. NFC
llvm-svn: 368083
The file was modifiedclang-tools-extra/clangd/SourceCode.h
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/FindSymbols.cpp
Commit e4bd38478b38ab752af54b380da9f265fd90ba72 by rnk
Revert [InstCombine] Shift amount reassociation: shl-trunc-shl pattern
This reverts r368059 (git commit
0f957109761913c563922f1afd4ceb29ef21bbd0)
This caused Clang to assert while self-hosting and compiling
SystemZInstrInfo.cpp. Reduction is running.
llvm-svn: 368084
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Commit e1f4c4aad27992d6b8a0b8d85af42c14fa68c298 by Alex Lorenz
[clang-scan-deps] Implementation of dependency scanner over minimized
sources
This commit implements the fast dependency scanning mode in
clang-scan-deps: the preprocessing is done on files that are minimized
using the dependency directives source minimizer.
A shared file system cache is used to ensure that the file system
requests and source minimization is performed only once. The cache
assumes that the underlying filesystem won't change during the course of
the scan (or if it will, it will not affect the output), and it can't be
evicted. This means that the service and workers can be used for a
single run of a dependency scanner, and can't be reused across multiple,
incremental runs. This is something that we'll most likely support in
the future though. Note that the driver still utilizes the underlying
real filesystem.
This commit is also still missing the fast skipped PP block skipping
optimization that I mentioned at EuroLLVM talk. Additionally, the file
manager is still not reused by the threads as well.
Differential Revision: https://reviews.llvm.org/D63907
llvm-svn: 368086
The file was addedclang/test/ClangScanDeps/Inputs/frameworks/Framework.framework/Headers/Framework.h
The file was addedclang/test/ClangScanDeps/Inputs/header_stat_before_open_cdb.json
The file was addedclang/lib/Tooling/DependencyScanning/DependencyScanningService.cpp
The file was addedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
The file was addedclang/test/ClangScanDeps/header_stat_before_open.m
The file was modifiedclang/include/clang/Basic/FileManager.h
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
The file was addedclang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
The file was modifiedclang/lib/Tooling/DependencyScanning/CMakeLists.txt
The file was addedclang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h
The file was modifiedclang/test/ClangScanDeps/regular_cdb.cpp
The file was addedclang/test/ClangScanDeps/vfsoverlay.cpp
The file was addedclang/test/ClangScanDeps/Inputs/vfsoverlay_cdb.json
The file was addedclang/test/ClangScanDeps/Inputs/frameworks/Framework.framework/PrivateHeaders/PrivateHeader.h
The file was addedclang/test/ClangScanDeps/Inputs/vfsoverlay.yaml
Commit 40fde901932726518feb24391138e65b093b7a15 by diegoaat97
[clang-doc] Fix paths of js in import tags
HTML requires posix-style paths.
Differential Revision: https://reviews.llvm.org/D65827
llvm-svn: 368087
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
Commit 956892433f7c0ae4520232b07d442fedbcc14cb2 by Louis Dionne
[pstl][libc++] Provide uglified header names for interface headers
For the few (currently four) headers that make up the PSTL's interface
to other Standard Libraries, provide a stable uglified header file that
can be included by those Standard Libraries.
We can then more easily change the internal organization of the PSTL
without having to change the integration with Standard Libraries.
llvm-svn: 368088
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/include/algorithm
The file was addedpstl/include/__pstl_numeric
The file was addedpstl/include/__pstl_execution
The file was modifiedlibcxx/include/execution
The file was addedpstl/include/__pstl_memory
The file was modifiedlibcxx/include/numeric
The file was addedpstl/include/__pstl_algorithm
Commit b169e58b31463075d6e0990c7c8d3e63eefe2059 by adamski.dominik
[NFC][ScopBuilder] Move addUserAssumptions to ScopBuilder
Scope of changes: 1) Moved addUserAssumptions function to ScopBuilder
class. 2) Moved buildConditionSets functions to polly namespace. 3)
Moved getRepresentingInvariantLoadSCEV to public section of the Scop
class
Differential Revision: https://reviews.llvm.org/D65241
llvm-svn: 368089
The file was modifiedpolly/include/polly/ScopBuilder.h
The file was modifiedpolly/lib/Analysis/ScopInfo.cpp
The file was modifiedpolly/include/polly/ScopInfo.h
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp