SuccessChanges

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

Summary

  1. Remove the libc builders from the master for now. (details)
  2. Refactored PollyBuilder.getPollyBuildFactory to support github. (details)
Commit 12f995533f41f40c61bd41b9c880a7b2ac2ff42b by sivachandra
Remove the libc builders from the master for now.
Reviewers: gkistanova
Differential Revision: https://reviews.llvm.org/D69728
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/osuosl/master/config/slaves.py
The file was modifiedbuildbot/osuosl/master/config/status.py
The file was modifiedbuildbot/osuosl/master/master.cfg
Commit f126d66c75f45f522ea70796dd300e8b0bafe994 by alebedev
Refactored PollyBuilder.getPollyBuildFactory to support github.
PollyBuilder.AddExternalPollyBuildFactory and
PollyBuilder.getPollyLNTFactory are deprecated.
Differential Revision: https://reviews.llvm.org/D69703
The file was modifiedzorg/buildbot/builders/PollyBuilder.py

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

Summary

  1. Reland "[WebAssembly] Expand setcc of v2i64" (details)
  2. [LV] Move interleave_short_tc.ll into the X86 directory to hopefully (details)
  3. [WebAssembly] Add experimental SIMD dot product instruction (details)
  4. Add MemTagSanitizer documentation. (details)
  5. [dsymutil] Add DW_TAG_common_block to dieNeedsChildrenToBeMeaningful (details)
  6. [X86][AVX] Add support for and/or scalar bool reduction with AVX512 mask (details)
  7. Illustrate a redirector using the example of round function from math.h. (details)
  8. [MIPS GlobalISel] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off (details)
  9. [lit] Fix internal env calling env (details)
  10. [debuginfo-tests] Don't look for Python 3 if we already have it (details)
  11. Reapply [LLDB] [test] Use %clang_cl instead of build.py in a few tests (details)
  12. [CMake] Add cross Windows to ARM Linux toolchain CMake cache file. (details)
  13. Warn when an output section name is longer than 8 characters (details)
  14. [X86] Change the behavior of canWidenShuffleElements used by (details)
  15. [NFC]: Removed an implicit capture argument from lambda. (details)
  16. [WinCFG] Handle constant casts carefully in .gfids emission (details)
  17. Recommit "[ThinLTO] Handle GUID collision in import global processing"" (details)
  18. [amdgpu] Fix known bits compuation on `MUL_I24`/`MUL_U24`. (details)
  19. [JT][CVP] Regenerate test checks, again (details)
  20. [MachineBasicBlock] Skip over debug instructions in (details)
  21. [TargetLowering] Move the setBooleanContents check on (xor (setcc), (details)
  22. DebugInfo: (NFC) Refactor DWARF version calculation to make a future (details)
  23. DebugInfo: Streamline debug_ranges/rnglists/rnglists.dwo emission code (details)
  24. [NewPM] Add an SROA pass after loop unroll (details)
  25. DebugInfo: Let -gdwarf use the toolchain default DWARF version, instead (details)
  26. DebugInfo: Accept -gdwarf even in clang-cl (details)
  27. [dsymutil] Add support for linking remarks (details)
  28. [dsymutil] Require darwin in fat binary test (details)
  29. Don't assume that __cxa_current_exception_type exists. (details)
  30. [dsymutil] Second attempt to fix dsymutil tests on non-darwin platforms (details)
Commit ecb7daf68f20baa5af72d7c4247ea4c2f5b788bf by tlively
Reland "[WebAssembly] Expand setcc of v2i64"
This reverts commit e5cae5692b5899631b5bfe5c23234deb5efda10c, which
reverted 11850a6305c5778b180243eb06aefe86762dd4ce. The original revert
was done because of breakage that was actually in a separate commit,
2ab1b8c1ec452fb743f6cc5051e75a01039cabfe, which was also reverted and
has since been fixed and relanded.
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-comparisons.ll
Commit 4592f70758531d6efe4e43d8122a8944f469d933 by craig.topper
[LV] Move interleave_short_tc.ll into the X86 directory to hopefully
make fix non-X86 bots.
The file was removedllvm/test/Transforms/LoopVectorize/interleave_short_tc.ll
The file was addedllvm/test/Transforms/LoopVectorize/X86/interleave_short_tc.ll
Commit 935c84c3c27de4544917216fc2b0557314802202 by tlively
[WebAssembly] Add experimental SIMD dot product instruction
Summary: This instruction is not merged to the spec proposal, but we
need it to be implemented in the toolchain to experiment with it. It is
available only on an opt-in basis through a clang builtin.
Defined in https://github.com/WebAssembly/simd/pull/127.
Depends on D69696.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69697
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedllvm/test/MC/WebAssembly/simd-encodings.s
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
Commit 27c9abae656234813931e2717d60c69d988ecedc by eugenis
Add MemTagSanitizer documentation.
Summary: A lot of this is work in progress...
Reviewers: kcc, pcc
Subscribers: cryptoad, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69289
The file was modifiedllvm/docs/Reference.rst
The file was addedllvm/docs/MemTagSanitizer.rst
Commit 96bbf478b6718b13b19ac52fd790e64d4ed56fe9 by Jonas Devlieghere
[dsymutil] Add DW_TAG_common_block to dieNeedsChildrenToBeMeaningful
Ensure we walk the children of common blocks when deciding what DIEs to
keep. Otherwise we might incorrectly discard them leading to missing
variables in the linked debug info.
This also sorts the list of DW_TAGs alphabetically.
The file was modifiedllvm/tools/dsymutil/DwarfLinker.cpp
Commit 9b0dfdf5e1939b4129df75cc8e8d57fcf451b786 by llvm-dev
[X86][AVX] Add support for and/or scalar bool reduction with AVX512 mask
registers
combineBitcastvxi1 only handles bitcast->MOVMSK combines, with mask
registers we use BITCAST directly.
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9364107cf348c7d4a2d05b8906bda6ba384ce6f6 by sivachandra
Illustrate a redirector using the example of round function from math.h.
Setup demonstrated in this patch is only for ELF-ish platforms.
Also note:
1. Use of redirectors is a temporary scheme. They will be removed once
  LLVM-libc has implementations for the redirected functions. 2.
Redirectors are optional. One can choose to not include them in the
  LLVM-libc build for their platform. 3. Even with redirectors used, we
want to link to the system libc
  dynamically.
Reviewers: dlj, hfinkel, jakehehrlich, phosek, stanshebs, theraven,
alexshap
Subscribers: mgorny, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D69020
The file was addedlibc/docs/redirectors.rst
The file was addedlibc/src/math/round/round.cpp
The file was modifiedlibc/cmake/modules/LLVMLibCRules.cmake
The file was modifiedlibc/docs/build_system.rst
The file was modifiedlibc/lib/CMakeLists.txt
The file was addedlibc/docs/redirectors_schematic.svg
The file was modifiedlibc/src/CMakeLists.txt
The file was addedlibc/src/math/round/round.h
The file was addedlibc/src/math/round/CMakeLists.txt
The file was addedlibc/src/math/CMakeLists.txt
The file was addedlibc/src/math/round/round_redirector.cpp
Commit 45ee0d6de6f82833de1320de35366669b2b1cdf2 by maskray
[MIPS GlobalISel] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off
builds after D69663
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
Commit cb2c4bb0e0da675bb0ab3a3fce4cbb014d83f675 by jdenny.ornl
[lit] Fix internal env calling env
Without this patch, when using lit's internal shell, if `env` on a lit
RUN line calls `env`, lit accidentally searches for the latter as an
external executable.  What's worse is that works fine when a developer
is testing on a platform where `env` is available and behaves as
expected, but it then breaks on other platforms.
`env` calling `env` can make sense if one such `env` is within a lit
substitution, as in D65156 and D65121.  This patch ensures that lit
executes both as internal commands.
Reviewed By: probinson, mgorny, rnk
Differential Revision: https://reviews.llvm.org/D65697
The file was addedllvm/utils/lit/tests/Inputs/shtest-env/env-args-nested-none.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-env/env-calls-env.txt
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was modifiedllvm/utils/lit/tests/shtest-env.py
Commit 309f9a1c52977cbd011b29909f7aa45c124b005f by rnk
[debuginfo-tests] Don't look for Python 3 if we already have it
LLDB already requires Python 3 on Windows, so I already configure it
that way. For some reason CMake fails to find the one that Visual Studio
automatically installs at this standard location:
C:/Program Files (x86)/Microsoft Visual
Studio/Shared/Python37_64/python.exe
CMake prefers the python on path, which happens to be python 2.7.
Reviewers: aprantl, jmorse
Differential Revision: https://reviews.llvm.org/D69684
The file was modifieddebuginfo-tests/CMakeLists.txt
Commit 1739c7c10c42748c278b0ea194e32bbfdd04fb98 by martin
Reapply [LLDB] [test] Use %clang_cl instead of build.py in a few tests
This allows explicitly specifying the intended target architecture, for
tests that aren't supposed to be executed, and that don't require MSVC
headers or libraries to be available.
(These tests already implicitly assumed to be built for x86; one didn't
specify anything, assuming x86_64, while the other specified
--arch=32, which only picks the 32 bit variant of the default target
architecture).
Join two comment lines in disassembly.cpp, to keep row numbers checked
in the test unchanged.
This fixes running check-lldb on arm linux.
Previously when this was applied (in 95980409e6), it broke macos
buildbots, as they added "-isysroot <path>" to all %clang*
substitutions, and clang-cl didn't support that.
Reapplying it without further changes to this patch, after D69619
(9c73925226), because now, such extra parameters are added to
%clang_host*, but not to plain %clang_cl.
Differential Revision: https://reviews.llvm.org/D69031
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/disassembly.cpp
Commit a264e85dd9f99391bedc7f069926bdd8d2f44388 by vvereschaka
[CMake] Add cross Windows to ARM Linux toolchain CMake cache file.
This cache file can be used to build a cross Windows to ARM Linux
toolchain.
Differential Revision: https://reviews.llvm.org/D69651
The file was addedclang/cmake/caches/CrossWinToARMLinux.cmake
Commit deaf121b657323fde17dd862a13b05e8b7ee6954 by rnk
Warn when an output section name is longer than 8 characters
Recent versions of Microsoft's dumpbin tool cannot handle such PE files.
LLVM tools and GNU tools can, and use this to encode long section names
like ".debug_info", which is commonly used for DWARF. Don't do this in
mingw mode or when -debug:dwarf is passed, since the user probably wants
long section names for DWARF sections.
PR43754
Reviewers: ruiu, mstorsjo
Differential Revision: https://reviews.llvm.org/D69594
The file was modifiedlld/COFF/Config.h
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/long-section-name.test
Commit eeeb18cd075ddf7a44c8571f9e17e4b1fcbc8aa4 by craig.topper
[X86] Change the behavior of canWidenShuffleElements used by
lowerV2X128Shuffle to match the behavior in lowerVectorShuffle with
regards to zeroable elements.
Previously we marked zeroable elements in a way that prevented the
widening check from recognizing that it could widen. Now we only mark
them zeroable if V2 is an all zeros vector. This matches what we do for
widening elements in lowerVectorShuffle.
Fixes PR43866.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/pr43866.ll
Commit 52ea308f705af0a8f5d55e036a64fd2b5e4c2ee6 by SourabhSingh.Tomar
[NFC]: Removed an implicit capture argument from lambda.
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit f5d935c16777c39142043c429ccebb65259dc767 by rnk
[WinCFG] Handle constant casts carefully in .gfids emission
Summary: The general Function::hasAddressTaken has two issues that make
it inappropriate for our purposes: 1. it is sensitive to dead constant
users (PR43858 / crbug.com/1019970),
  leading to different codegen when debu info is enabled 2. it considers
direct calls via a function cast to be address escapes
The first is fixable, but the second is not, because IPO clients rely on
this behavior. They assume this function means that all call sites are
analyzable for IPO purposes.
So, implement our own analysis, which gets closer to finding functions
that may be indirect call targets.
Reviewers: ajpaverd, efriedma, hans
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69676
The file was addedllvm/test/CodeGen/WinCFGuard/cfguard-cast.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
Commit 16ec00eee7e348767f4393f189044f87f6374031 by tejohnson
Recommit "[ThinLTO] Handle GUID collision in import global processing""
This recommits cc0b9647b76178bc3869bbfff80535ad86366472 which was
reverted in d39d1a2f87aca3cfabe58ecfa5146879baa70096.
I added a fix for an issue found when testing via distributed ThinLTO,
and added a test case for that failure.
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was addedllvm/test/ThinLTO/X86/guid_collision.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/guid_collision.ll
Commit 4531aee2ac1609e8ddf4f3deec200c5f793faa7b by michael.hliao
[amdgpu] Fix known bits compuation on `MUL_I24`/`MUL_U24`.
Reviewers: arsenm, rampitec
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, dstuttard, tpr, t-tye,
hiraditya, llvm-commits, yaxunl
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69735
The file was modifiedllvm/test/CodeGen/AMDGPU/computeNumSignBits-mul.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Commit 98245d081e72afff258515bc93a70e8c074f3589 by nikita.ppv
[JT][CVP] Regenerate test checks, again
The changes to update_test_checks format have been disabled again, so
regenerate these tests. Also regenerate select.ll.
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/select.ll
The file was modifiedllvm/test/Transforms/JumpThreading/header-succ.ll
The file was modifiedllvm/test/Transforms/JumpThreading/bb-unreachable-from-entry.ll
The file was modifiedllvm/test/Transforms/JumpThreading/induction.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
Commit 42d77461f3298d5b7bf09208d67a3d8bb28df065 by craig.topper
[MachineBasicBlock] Skip over debug instructions in
computeRegisterLiveness before checking for begin
If there are debug instructions before the stopping point, we need to
skip over them before checking for begin in order to avoid having the
debug instructions effect behavior.
Fixes PR43758.
Differential Revision: https://reviews.llvm.org/D69606
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/test/CodeGen/X86/leaFixup64.mir
Commit 96bb07662104f175c354ffaa2d58a8f6bb984249 by craig.topper
[TargetLowering] Move the setBooleanContents check on (xor (setcc),
(setcc)) == / != 1 -> (setcc) != / == (setcc) to the right place
We need to be checking the value types for the inner setccs not the
outer setcc. We need to ensure those setccs produce a 0/1 value or that
the xor is on the i1 type. I think at the time this code was originally
written, getBooleanContents didn't take any arguments so this was
probably correct. But now we can have a different boolean contents for
integer and floating point.
Not sure why the other combines below the xor were also checking the
boolean contents. None of them involve any setccs other than the outer
one and they only produce a new setcc.
Differential Revision: https://reviews.llvm.org/D69480
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 42465f406bcea5ea06001ccc52ab779120b68e87 by dblaikie
DebugInfo: (NFC) Refactor DWARF version calculation to make a future
change (-fdebug-default-version) easier
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 89b7f16204afa25325c28edeaa9973853f2e6796 by dblaikie
DebugInfo: Streamline debug_ranges/rnglists/rnglists.dwo emission code
More code reuse, better basis for modelling
debug_loc/loclists/loclists.dwo emission support.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit cecc0d27ad58c0aed8ef9ed99bbf691e137a0f26 by carrot
[NewPM] Add an SROA pass after loop unroll
If there is a small local array accessed in a loop, SROA can't handle
memory accesses with variant offset inside a loop, after the loop is
fully unrolled, all memory accesses to the array are with fixed offset,
so now they can be processed by SROA. But there is no more SROA passes
after loop unroll. This patch add an SROA pass after loop unroll to
handle this pattern.
Differential Revision: https://reviews.llvm.org/D68593
The file was addedllvm/test/Other/unroll-sroa.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit 098d901bd1be07f60c41450fa4af775b130117b9 by dblaikie
DebugInfo: Let -gdwarf use the toolchain default DWARF version, instead
of hardcoded/aliased to -gdwarf-4
The file was modifiedclang/test/CodeGen/dwarf-version.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit 1de2a05701e73f8ef5914c2f6ea2dcbe617ce18b by dblaikie
DebugInfo: Accept -gdwarf even in clang-cl
Fixes regression introduced by llvmorg-10-init-8908-g098d901bd1b
The file was modifiedclang/include/clang/Driver/Options.td
Commit 1ee18f275e60462d8c5e149fc74eaea9c671d4a8 by francisvm
[dsymutil] Add support for linking remarks
This adds support to dsymutil for linking remark files and placing them
in the final .dSYM bundle.
The result will be placed in:
* a.out.dSYM/Contents/Resources/Remarks/a.out or
* a.out.dSYM/Contents/Resources/Remarks/a.out-<arch> for universal
binaries
When multi-threaded, this runs a third thread which loops over all the
object files and parses remarks as it finds __remarks sections.
Testing this involves running dsymutil on pre-built binaries and object
files, then running llvm-bcanalyzer on the final result to check for
remarks.
Differential Revision: https://reviews.llvm.org/D69142
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86
The file was modifiedllvm/tools/dsymutil/DwarfLinker.cpp
The file was modifiedllvm/tools/dsymutil/Options.td
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic3.macho.remarks.x86_64.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86.opt.bitstream
The file was addedllvm/test/tools/dsymutil/X86/remarks-linking-fat-bundle.test
The file was modifiedllvm/tools/dsymutil/CMakeLists.txt
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic1.macho.remarks.x86_64.o
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic1.macho.remarks.x86_64.opt.bitstream
The file was modifiedllvm/test/tools/dsymutil/X86/basic-linking-bundle.test
The file was modifiedllvm/tools/dsymutil/LinkUtils.h
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic3.macho.remarks.x86_64.o
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86.c
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86.o
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic2.macho.remarks.x86_64.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.i386.opt.bitstream
The file was modifiedllvm/test/tools/dsymutil/Inputs/basic1.c
The file was modifiedllvm/tools/dsymutil/dsymutil.cpp
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic2.macho.remarks.x86_64.o
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86_64h.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86_64.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic.macho.remarks.x86_64
The file was addedllvm/test/tools/dsymutil/X86/remarks-linking-bundle.test
The file was modifiedllvm/test/tools/dsymutil/cmdline.test
Commit 86cdf74dc871beaa70796e1b13834be5cd73d36a by francisvm
[dsymutil] Require darwin in fat binary test
dsymutil uses lipo(1) to build the fat binary, which it invokes as a
process. For that, we need to only run this test on darwin systems.
Should fix:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-ubuntu/builds/181/steps/test-check-all/logs/stdio
The file was modifiedllvm/test/tools/dsymutil/X86/remarks-linking-fat-bundle.test
Commit 81cc5d1c7d3f7292e82e8611fcd4a2889278a218 by jingham
Don't assume that __cxa_current_exception_type exists.
Normally you shouldn't be able to have a process with an ItaniumABI
plugin that doesn't have this symbol.  But if the loader crashes before
loading libc++abi.dylib (on MacOS), then the symbol might not be
present.  So we should check before accessing the pointer.
There isn't a good way to write a test for this, but the change is
obvious.
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
Commit cc9e963d65944e4b3d2ebee5131790f1321ae028 by francisvm
[dsymutil] Second attempt to fix dsymutil tests on non-darwin platforms
The file was modifiedllvm/test/tools/dsymutil/X86/remarks-linking-fat-bundle.test