UnstableChanges

Summary

  1. Sanitize kwargs in (details)
  2. Change SphinxDocsBuilder to use UnifiedTreeBuilder. (details)
  3. Removed always failing builder 'clang-x86_64-linux-selfhost-modules'. (details)
Commit 21dbc73ca52a4d790ada07dbd63b65f4d950cd4b by gkistanova
Sanitize kwargs in
UnifiedTreeBuilder.getCmakeWithNinjaMultistageBuildFactory.
llvm-svn: 374839
The file was modifiedzorg/buildbot/builders/UnifiedTreeBuilder.py (diff)
Commit d9900c91163757400e3357037daa3f49a8bba36f by gkistanova
Change SphinxDocsBuilder to use UnifiedTreeBuilder.
As a part of the Buildbot migration to GitHub monorepo we want to
consolidate the places where the source code gets checked out.
UnifiedTreeBuilder provides a good abstraction for that. Once
UnifiedTreeBuilder will add a support for monorepo, the
SphinxDocsBuilder users should be fine.
Patch by Alex Orlov.
Differential Revision: https://reviews.llvm.org/D68955
llvm-svn: 374843
The file was modifiedzorg/buildbot/builders/SphinxDocsBuilder.py (diff)
Commit a708f5e9215a7834a4f83f8de34de6aac2cfe5f1 by gkistanova
Removed always failing builder 'clang-x86_64-linux-selfhost-modules'.
llvm-svn: 374855
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/slaves.py (diff)

Summary

  1. [OPNEMP]Allow num_tasks clause in combined task-based directives. (details)
  2. remove FILE* bindings from SBInstruction. (details)
  3. [NFC] Fix ClangScanDeps/static-analyzer.c test on Windows (details)
  4. Add support to -Wa,-W in clang (details)
  5. [lit] Create Run object later and only when it is needed (details)
  6. build fix for SBInstruction. (details)
  7. PR43080: Do not build context-sensitive expressions during name (details)
  8. [Modules Build] Add missing dependency. (details)
  9. [InstCombine] fold a shifted bool zext to a select (details)
  10. [update_mir_test_checks] Handle MI flags properly (details)
  11. DebugInfo: Remove unnecessary/mistaken inclusion of (details)
  12. [ARM][AsmParser] handles offset expression in parentheses (details)
  13. Revert "Add support to -Wa,-W in clang" (details)
  14. Add support to -Wa,-W in clang (details)
  15. [Tests] Add a SCEV analysis test for llvm.widenable.condition (details)
  16. [test] Fix test failure (details)
  17. [clang] add requirements to -Wa,-W test cases. (details)
  18. In the new pass manager use PTO.LoopUnrolling to determine when and how (details)
  19. Add -fno-experimental-pass-manager to make clear which pass manager (details)
  20. [Modules][PCH] Hash input files content (details)
  21. Temporarily Revert [Modules][PCH] Hash input files content as it's (details)
  22. Revert "Dead Virtual Function Elimination" (details)
  23. fix (details)
  24. [lit] Add argument check: --timeout must be non-negative integer (details)
  25. [X86] Add encoding tests for avx512pf vgatherpf/vscatterpf instructions. (details)
  26. [X86] Teach X86MCodeEmitter to properly encode zmm16-zmm31 as index (details)
  27. [MemorySSA] Update for partial unswitch. (details)
  28. Revert [InstCombine] fold a shifted bool zext to a select (details)
  29. Revert "fix" (details)
  30. [lldb-server/android] Show more processes by relaxing some checks (details)
  31. [libc++][test] Use <version> to get config on MSVC (details)
  32. [WebAssembly] Trapping fptoint builtins and intrinsics (details)
  33. [RISCV] Support fast calling convention (details)
Commit d88c7dec2187a68109f3c020cc86685e7b2183d5 by a.bataev
[OPNEMP]Allow num_tasks clause in combined task-based directives.
The expression of the num_tasks clause must be captured in the combined
task-based directives, like 'parallel master taskloop' directive.
llvm-svn: 374819
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_ast_print.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
Commit e7a9115680e22fac3dc996800deaec773becfac0 by lawrence_danna
remove FILE* bindings from SBInstruction.
Summary: This patch replaces the FILE* python bindings for SBInstruction
and SBInstructionList and replaces them with the new, safe SBFile and
FileSP bindings.
I also re-enable `Test_Disassemble_VST1_64`, because now we can use the
file bindings as an additional test of the disassembler, and we can use
the disassembler test as a test of the file bindings.
The bugs referred to in the comments appear to have been fixed.   The
radar is closed now and the bugzilla bug does not reproduce with the
instructions given.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68890
llvm-svn: 374820
The file was modifiedlldb/source/API/SBInstructionList.cpp
The file was modifiedlldb/include/lldb/API/SBInstructionList.h
The file was modifiedlldb/scripts/interface/SBInstruction.i
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py
The file was modifiedlldb/include/lldb/API/SBInstruction.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py
The file was modifiedlldb/source/API/SBInstruction.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
The file was modifiedlldb/scripts/interface/SBInstructionList.i
Commit 9d0a84f5f3d30c1399b8a983d4ace91106c47853 by Jan Korous
[NFC] Fix ClangScanDeps/static-analyzer.c test on Windows
Follow-up to c5d14b5c6fa
llvm-svn: 374821
The file was modifiedclang/test/ClangScanDeps/static-analyzer.c
Commit 753d789c441648de96cf68d08abe20e664f7f776 by caij2003
Add support to -Wa,-W in clang
Currently clang does not support -Wa,-W, which suppresses warning
messages in GNU assembler. Add this option for gcc compatibility.
https://bugs.llvm.org/show_bug.cgi?id=43651
llvm-svn: 374822
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/as-w-option.c
Commit 31a26001a193cc60abceec06a32ab4adcc1f73bb by jlettner
[lit] Create Run object later and only when it is needed
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68843
llvm-svn: 374823
The file was modifiedllvm/utils/lit/lit/main.py
Commit 9efbc564baab71e3260d211041a9df8acf8a8764 by lawrence_danna
build fix for SBInstruction.
oops!  I cherry-picked  rL374820 thinking it was completely independent
of D68737, but it wasn't.  It makes an incidental use of
SBFile::GetFile, which is introduced there, so I broke the build.
The docs say you can commit without review for "obvious".   I think this
qualifies.   If this kind of fix isn't considered obvious, let me know
and I'll revert instead.
Fixes: rL374820 llvm-svn: 374825
The file was modifiedlldb/source/API/SBInstruction.cpp
The file was modifiedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/source/API/SBInstructionList.cpp
Commit 7e8fe67f0e2625a538a17958614dddb65453a210 by richard-llvm
PR43080: Do not build context-sensitive expressions during name
classification.
Summary: We don't know what context to use until the classification
result is consumed by the parser, which could happen in a different
semantic context. So don't build the expression that results from name
classification until we get to that point and can handle it properly.
This covers everything except C++ implicit class member access, which is
a little awkward to handle properly in the face of the protected member
access check. But it at least fixes all the currently-filed instances of
PR43080.
Reviewers: efriedma
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68896
llvm-svn: 374826
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was addedclang/test/CodeGenCXX/odr-use-lookahead.cpp
The file was modifiedclang/include/clang/Basic/TokenKinds.def
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/test/SemaCXX/lambda-invalid-capture.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
Commit 9585d8c11a57f1d5038465ab8f90461c701053fb by bigcheesegs
[Modules Build] Add missing dependency.
A previous commit made libLLVMDebugInfoDWARF depend on the LLVM_Bitcode
module which depends on the LLVM_intrinsic_gen module which depends
on "llvm/IR/Attributes.inc" which is a generated header not depended on
by libLLVMDebugInfo. Add that dependency.
llvm-svn: 374827
The file was modifiedllvm/lib/DebugInfo/DWARF/CMakeLists.txt
Commit 1f40f15d54aac06421448b6de131231d2d78bc75 by spatel
[InstCombine] fold a shifted bool zext to a select
For a constant shift amount, add the following fold. shl (zext (i1 X)),
ShAmt --> select (X, 1 << ShAmt, 0)
https://rise4fun.com/Alive/IZ9
Fixes PR42257.
Based on original patch by @zvi (Zvi Rackover)
Differential Revision: https://reviews.llvm.org/D63382
llvm-svn: 374828
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Commit 044297ccbfcfb4339c56d65afaf877b83486f17a by rtereshin
[update_mir_test_checks] Handle MI flags properly
previously we would generate literal check lines w/ no reg-exps for
vregs as MI flags (nsw, ninf, etc.) won't be recognized as a part of MI.
Fixing that. Includes updating the MIR tests that suffered from the
problem.
Reviewed By: bogner
Differential Revision: https://reviews.llvm.org/D68905
llvm-svn: 374829
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-br.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/regbank-fma.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-amdgcn-fdiv-fast.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-dyn-alloca.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/utils/update_mir_test_checks.py
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fpext.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-jump-table-brjt.mir
Commit be744ea54f413a11a1a3fd7d050dcc41726def77 by dblaikie
DebugInfo: Remove unnecessary/mistaken inclusion of
Bitcode/BitcodeAnalyzer.h
Introduced in r374582, Michael Spencer pointed out this broke the
modules build due to a missing tblgen dependency on
llvm/IR/Attributes.inc.
Michael fixed the dependency in r374827.
So this removes the inclusion and the new dependency (effectively
reverting r374827 and including the alternative fix of removing rather
than supporting the new dependency).
Thanks for the quick fix/notice, Michael!
llvm-svn: 374831
The file was modifiedllvm/lib/DebugInfo/DWARF/CMakeLists.txt
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit e9089c223cea1c7e0cfdd0b2a4f48bf7ea1b40f2 by caij2003
[ARM][AsmParser] handles offset expression in parentheses
Summary: Integrated assembler does not accept offset expressions
surrounded by parenthesis. Handle this case for GAS compability.
https://bugs.llvm.org/show_bug.cgi?id=43631
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68764
llvm-svn: 374832
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was addedllvm/test/MC/ARM/gas-compl-mem-offset-paren.s
Commit 89478148d836b0b774355e33d9f0618cf4461795 by caij2003
Revert "Add support to -Wa,-W in clang"
This reverts commit e72eeca43b9577be2aae55f7603febbf223a6ab3.
llvm-svn: 374833
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedclang/test/Driver/as-w-option.c
Commit 4ec5205da70144988abdc374820ebd261b8bdbdd by caij2003
Add support to -Wa,-W in clang
Summary: Currently clang does not support -Wa,-W, which suppresses
warning messages in GNU assembler. Add this option for gcc
compatibility. https://bugs.llvm.org/show_bug.cgi?id=43651. Reland with
differential information.
Reviewers: bcain
Reviewed By: bcain
Subscribers: george.burgess.iv, gbiv, llozano, manojgupta,
nickdesaulniers, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68884
llvm-svn: 374834
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/as-w-option.c
Commit a40162d475308e600f0f7f27261712f49652b652 by listmail
[Tests] Add a SCEV analysis test for llvm.widenable.condition
Mostly because we don't appear to have one and a prototype patch I just
saw would have broken the example committed.
llvm-svn: 374835
The file was addedllvm/test/Analysis/ScalarEvolution/widenable-condition.ll
Commit 4498d41932c610b3d48652bb41b67235b7f51aaa by efriedma
[test] Fix test failure
The version mismatch symbol is version 9 on 32 bit android. Since this
test isn't actually testing any android specific functionality, we force
the target triple to x86_64-unknown-unknown in order to have a
consistent version number. It seems the test was already trying to do
this, just not doing it right
Patch by Christopher Tetrault
Differential Revision: https://reviews.llvm.org/D68882
llvm-svn: 374836
The file was modifiedclang/test/CodeGen/asan-new-pm.ll
Commit 72593d3bdcdc73912bf1853ea7dc89f10027527f by caij2003
[clang] add requirements to -Wa,-W test cases.
Include linux as a test requirement.
llvm-svn: 374837
The file was modifiedclang/test/Driver/as-w-option.c
Commit c3649a087141ac6380d5c17b5ad8f68ab827e18d by echristo
In the new pass manager use PTO.LoopUnrolling to determine when and how
we will unroll loops. Also comment a few occasions where we need to know
whether or not we're forcing the unwinder or not.
The default before and after this patch is for LoopUnroll to be enabled,
and for it to use a cost model to determine whether to unroll the loop
(`OnlyWhenForced = false`). Before this patch, disabling loop unroll
would not run the LoopUnroll pass. After this patch, the LoopUnroll pass
is being run, but it restricts unrolling to only the loops marked by a
pragma (`OnlyWhenForced = true`).
In addition, this patch disables the UnrollAndJam pass when disabling
unrolling.
Testcase is in clang because it's controlling how the loop optimizer is
being set up and there's no other way to trigger the behavior.
llvm-svn: 374838
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was addedclang/test/Misc/loop-opt-setup.c
Commit d93d001cbad37b19c7e70c8ed8ec2ac6a7e05940 by echristo
Add -fno-experimental-pass-manager to make clear which pass manager
we're running and to make flipping the default not regress testing.
llvm-svn: 374840
The file was modifiedclang/test/Misc/loop-opt-setup.c
Commit 2a1386c81de504b5bda44fbecf3f7b4cdfd748fc by bruno.cardoso
[Modules][PCH] Hash input files content
Summary: When files often get touched during builds, the mtime based
validation leads to different problems in implicit modules builds, even
when the content doesn't actually change:
- Modules only: module invalidation due to out of date files. Usually
causing rebuild traffic.
- Modules + PCH: build failures because clang cannot rebuild a module if
it comes from building a PCH.
- PCH: build failures because clang cannot rebuild a PCH in case one of
the input headers has different mtime.
This patch proposes hashing the content of input files (headers and
module maps), which is performed during serialization time. When looking
at input files for validation, clang only computes the hash in case
there's a mtime mismatch.
I've tested a couple of different hash algorithms availble in LLVM in
face of building modules+pch for `#import <Cocoa/Cocoa.h>`:
- `hash_code`: performace diff within the noise, total module cache
increased by 0.07%.
- `SHA1`: 5% slowdown. Haven't done real size measurements, but it'd be
BLOCK_ID+20 bytes per input file, instead of BLOCK_ID+8 bytes from
`hash_code`.
- `MD5`: 3% slowdown. Like above, but BLOCK_ID+16 bytes per input file.
Given the numbers above, the patch uses `hash_code`. The patch also
improves invalidation error msgs to point out which type of problem the
user is facing: "mtime", "size" or "content".
rdar://problem/29320105
Reviewers: dexonsmith, arphaman, rsmith, aprantl
Subscribers: jkorous, cfe-commits, ributzka
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67249
llvm-svn: 374841
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was addedclang/test/PCH/validate-file-content.m
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was addedclang/test/Modules/validate-file-content.m
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Serialization/ASTReader.h
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/include/clang/Basic/DiagnosticSerializationKinds.td
Commit 3be9169caab619c9c87ec29b5530bd2db8382938 by echristo
Temporarily Revert [Modules][PCH] Hash input files content as it's
breaking a few bots.
This reverts r374841 (git commit
2a1386c81de504b5bda44fbecf3f7b4cdfd748fc)
llvm-svn: 374842
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was removedclang/test/PCH/validate-file-content.m
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/Modules/validate-file-content.m
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Serialization/ASTReader.h
The file was modifiedclang/include/clang/Basic/DiagnosticSerializationKinds.td
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
Commit b052331bd614ff2d06bbb3e5af15e899e3f7e52f by jgorbe
Revert "Dead Virtual Function Elimination"
This reverts commit 9f6a873268e1ad9855873d9d8007086c0d01cf4f.
llvm-svn: 374844
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was removedclang/test/Driver/virtual-function-elimination.cpp
The file was removedllvm/test/Transforms/GlobalDCE/vtable-rtti.ll
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was removedllvm/test/Transforms/Internalize/vcall-visibility.ll
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/GlobalDCE.h
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions.ll
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
The file was removedclang/test/CodeGenCXX/vcall-visibility-metadata.cpp
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-post-lto.ll
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
The file was modifiedclang/lib/CodeGen/CGVTables.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/include/llvm/Analysis/TypeMetadataUtils.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Analysis/TypeMetadataUtils.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/CodeGenCXX/virtual-function-elimination.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-call.ll
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-pointer-call.ll
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-base-pointer-call.ll
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-base-call.ll
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was removedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
The file was modifiedllvm/docs/TypeMetadata.rst
The file was removedllvm/test/LTO/ARM/lto-linking-metadata.ll
Commit ed57fb7665e5d42d516b6705c51700e4292cb977 by a20012251
fix
llvm-svn: 374846
The file was modifiedlldb/source/Host/linux/Host.cpp
Commit 98aa3c1de985ad42e999bae0264979d293274a91 by jlettner
[lit] Add argument check: --timeout must be non-negative integer
llvm-svn: 374847
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
Commit 5e80715508d1b819f99f574c869805e5e3aecb11 by craig.topper
[X86] Add encoding tests for avx512pf vgatherpf/vscatterpf instructions.
llvm-svn: 374848
The file was addedllvm/test/MC/X86/x86-64-avx512pf.s
Commit 9586d85ab3badcf8ca2292ca6019caea4e6513c4 by craig.topper
[X86] Teach X86MCodeEmitter to properly encode zmm16-zmm31 as index
register to vgatherpf/vscatterpf.
We need to encode bit 4 into the EVEX.V' bit. We do this right for
regular gather/scatter which use either MRMSrcMem or MRMDestMem formats.
The prefetches use MRM*m formats.
Fixes an issue recently added to PR36202.
llvm-svn: 374849
The file was modifiedllvm/test/MC/X86/x86-64-avx512pf.s
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit b7a3353061e965f901ba5cfac366263d6d528f35 by asbirlea
[MemorySSA] Update for partial unswitch.
Update MSSA for blocks cloned when doing partial unswitching. Enable
additional testing with MSSA. Resolves PR43641.
llvm-svn: 374850
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-redundant-switch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested2.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
The file was addedllvm/test/Analysis/MemorySSA/pr43641.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch.ll
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-switch-unswitch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/delete-dead-blocks.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch2.ll
Commit 4335d8f0e8349025530da72a6881ed53c61947a2 by spatel
Revert [InstCombine] fold a shifted bool zext to a select
This reverts r374828 (git commit
1f40f15d54aac06421448b6de131231d2d78bc75) due to bot breakage
llvm-svn: 374851
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Commit 1473b9f2052e99d79f52ad23f837561a55803702 by a20012251
Revert "fix"
This reverts commit d8af64c9a0228301f6fd0e1c841e4abe0b6f4801.
llvm-svn: 374852
The file was modifiedlldb/source/Host/linux/Host.cpp
Commit d04855f820c5f21c2ae95e711bf003af575e58e3 by a20012251
[lldb-server/android] Show more processes by relaxing some checks
By default `platform process list` only shows the processes of the
current user that lldb-server can parse. There are several problems:
- apk programs don't have an executable file. They instead use a package
name as identifier. We should show them instead.
- each apk also runs under a different user. That's how android works
- because of the user permission, some files like
/proc/<pid>/{environ,exe} can't be read.
This results in a very small process list.
This is a local run on my machine
```
(lldb) platform process list 2 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 23291  3177            
aarch64-unknown-linux-android sh 23301  23291          
aarch64-unknown-linux-android lldb-server
``` However, I have 700 processes running at this time.
By implementing a few fallbacks for android, I've expanded this list to
202, filtering out kernel processes, which would presumably appear in
this list if the device was rooted.
```
(lldb) platform process list 202 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================
... 12647  3208              aarch64-unknown-linux-android sh 12649
12647             aarch64-unknown-linux-android lldb-server 12653  982 
                                     com.samsung.faceservice 13185  982
                                      com.samsung.vvm 15899  982       
                               com.samsung.android.spay 16220  982     
                                 com.sec.spp.push 17126  982           
                           com.sec.spp.push:RemoteDlcProcess 19772  983
                                      com.android.chrome 20209  982    
                                  com.samsung.cmh:CMH 20380  982       
                               com.google.android.inputmethod.latin
20879  982                                      
com.samsung.android.oneconnect:Receiver 21212  983                     
                 com.tencent.mm 24459  1               
aarch64-unknown-linux-android wpa_supplicant 25974  982                
                      com.samsung.android.contacts 26293  982          
                            com.samsung.android.messaging 28714  982   
                                   com.samsung.android.dialer 31605  982
                                     
com.samsung.android.MtpApplication 32256  982                          
            com.bezobidny
```
Something to notice is that the architecture is unkonwn for all apks.
And that's fine, because run-as would be required to gather this
information and that would make this entire functionality massively
slow.
There are still several improvements to make here, like displaying
actual user names, which I'll try to do in a following diff.
Note: Regarding overall apk debugging support from lldb. I'm planning on
having lldb spawn lldb-server by itself with the correct user, so that
everything works well. The initial lldb-server used for connecting to
the remote platform can be reused for such purpose. Furthermore,
eventually lldb could also launch that initial lldb-server on its own.
Differential Revision: D68289
llvm-svn: 374853
The file was modifiedlldb/source/Host/linux/Host.cpp
Commit 6f0768f64da398d5103d39e83bdc66a5ffd6f0f6 by Casey
[libc++][test] Use <version> to get config on MSVC
...instead of `<ciso646>`.
Also includes some NFC comment changes.
llvm-svn: 374854
The file was modifiedlibcxx/test/support/msvc_stdlib_force_include.h
The file was modifiedlibcxx/test/support/test_macros.h
The file was modifiedlibcxx/test/support/test_workarounds.h
Commit 232fd99d9ee6d852b44d1cf5f491b00e4241d7ea by tlively
[WebAssembly] Trapping fptoint builtins and intrinsics
Summary: The WebAssembly backend lowers fptoint instructions to a code
sequence that checks for overflow to avoid traps because fptoint is
supposed to be speculatable. These new builtins and intrinsics give
users a way to depend on the trapping semantics of the underlying
instructions and avoid the extra code generated normally.
Patch by coffee and tlively.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68902
llvm-svn: 374856
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
The file was modifiedllvm/test/CodeGen/WebAssembly/conv-trap.ll
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td
Commit 078bec6c48dd9d17ab9720897d2bb7ccbb886763 by shiva0217
[RISCV] Support fast calling convention
LLVM may annotate the function with fastcc if there has only one caller
and there're no other caller out of the module and the function is not
naked or contain variable arguments.
The fastcc functions could pass the arguments by the caller saved
registers.
Differential Revision: https://reviews.llvm.org/D68559
llvm-svn: 374857
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/fastcc-float.ll
The file was addedllvm/test/CodeGen/RISCV/fastcc-int.ll

Summary

  1. Redefine API so it would not assume SVN. (details)
  2. Sanitize kwargs in (details)
  3. Change SphinxDocsBuilder to use UnifiedTreeBuilder. (details)
  4. Removed always failing builder 'clang-x86_64-linux-selfhost-modules'. (details)
Commit 3736a5d3a13975d580617ee0fdd32b0e8c76f650 by gkistanova
Redefine API so it would not assume SVN.
llvm-svn: 374830
The file was modifiedzorg/buildbot/builders/UnifiedTreeBuilder.py
The file was modifiedzorg/buildbot/process/factory.py
Commit 21dbc73ca52a4d790ada07dbd63b65f4d950cd4b by gkistanova
Sanitize kwargs in
UnifiedTreeBuilder.getCmakeWithNinjaMultistageBuildFactory.
llvm-svn: 374839
The file was modifiedzorg/buildbot/builders/UnifiedTreeBuilder.py
Commit d9900c91163757400e3357037daa3f49a8bba36f by gkistanova
Change SphinxDocsBuilder to use UnifiedTreeBuilder.
As a part of the Buildbot migration to GitHub monorepo we want to
consolidate the places where the source code gets checked out.
UnifiedTreeBuilder provides a good abstraction for that. Once
UnifiedTreeBuilder will add a support for monorepo, the
SphinxDocsBuilder users should be fine.
Patch by Alex Orlov.
Differential Revision: https://reviews.llvm.org/D68955
llvm-svn: 374843
The file was modifiedzorg/buildbot/builders/SphinxDocsBuilder.py
Commit a708f5e9215a7834a4f83f8de34de6aac2cfe5f1 by gkistanova
Removed always failing builder 'clang-x86_64-linux-selfhost-modules'.
llvm-svn: 374855
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/osuosl/master/config/slaves.py