FailedChanges

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

Summary

  1. Conditionally build LLD for sanitizer bots. (details)
Commit 750be25336279f69be8e48f1a045d0702c0f5754 by 31459023+hctim
Conditionally build LLD for sanitizer bots.
7b38316441a50c2a3f48cd3e5691c85b7234085f made a change that
unconditionally started building LLD, as it's not present on the system
for x86_64 sanitizer buildbots. Unfortunately, the ppc64be bot doesn't
configure LLD as part of the build during the cmake step, and thus fails
when trying to build LLD.
Fix it so that we only conditionally build LLD, if $CHECK_LLD != 0.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh

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

Summary

  1. [SLP] allow forming 2-way reduction patterns (details)
  2. [ThinLTO] Import readonly vars with refs (details)
  3. [libc++] Fix some constexpr tests broken by D68837 (details)
  4. [libc++] Fixed copy/copy_n/copy_backward for compilers that do not (details)
  5. [OpenCL] Add math and common builtin functions (details)
  6. [ConstantRange][LVI] Use overflow flags from `sub` to constrain the (details)
  7. [libc++] Fix potential OOB in poisson_distribution (details)
  8. CodeGen: set correct result for atomic compound expressions (details)
  9. SampleProfWriter - fix uninitialized variable warnings. NFCI. (details)
  10. [lldb] Add -m option to 'target modules dump symtab' to disable (details)
  11. [OpenCL] Add integer builtin functions (details)
  12. [OpenCL] Add geometric and relational builtin functions (details)
  13. [SDAG] reduce code duplication; NFC (details)
  14. [RISCV] Improve sysroot computation if no GCC install detected (details)
  15. Add support for options -frounding-math, ftrapping-math, -ffp-model=, (details)
  16. [SDAG] reduce code duplication; NFC (details)
Commit 7ff57705ba196ce649d6034614b3b9df57e1f84f by spatel
[SLP] allow forming 2-way reduction patterns
We have a vector compare reduction problem seen in PR39665 comment 2:
https://bugs.llvm.org/show_bug.cgi?id=39665#c2
Or slightly reduced here:
define i1 @cmp2(<2 x double> %a0) {
%a = fcmp ogt <2 x double> %a0, <double 1.0, double 1.0>
%b = extractelement <2 x i1> %a, i32 0
%c = extractelement <2 x i1> %a, i32 1
%d = and i1 %b, %c
ret i1 %d
}
SLP would not attempt to turn this into a vector reduction because there
is an artificial lower limit on that transform. We can not completely
remove that limit without inducing regressions though, so this patch
just hacks an extra attempt at creating a 2-way reduction to the end of
the analysis.
As shown in the test file, we are still not getting some of the
motivating cases, so follow-on patches will be needed to solve those
cases.
Differential Revision: https://reviews.llvm.org/D59710
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction2.ll
The file was modifiedllvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
The file was modifiedllvm/test/Feature/weak_constant.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit dde589389fcb8b5098f7a47f1b781b27d29a0cac by eleviant
[ThinLTO] Import readonly vars with refs
Patch allows importing declarations of functions and variables,
referenced by the initializer of some other readonly variable.
Differential revision: https://reviews.llvm.org/D69561
The file was modifiedllvm/lib/IR/ModuleSummaryIndex.cpp
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was modifiedllvm/test/Bitcode/summary_version.ll
The file was modifiedllvm/test/ThinLTO/X86/globals-import.ll
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll
The file was modifiedllvm/test/Bitcode/thinlto-synthetic-count-flag.ll
The file was modifiedllvm/test/ThinLTO/X86/local_name_conflict.ll
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/test/Bitcode/thinlto-deadstrip-flag.ll
Commit e9612e9e851ccd288f83739a1950ebb45d212aee by Louis Dionne
[libc++] Fix some constexpr tests broken by D68837
This doesn't fix all the issues with D68837
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
Commit 83901cbe5e21906523b7073f8ec7beb4d5a91021 by Louis Dionne
[libc++] Fixed copy/copy_n/copy_backward for compilers that do not
support is_constant_evaluated.
Differential Revision: https://reviews.llvm.org/D69940
The file was modifiedlibcxx/include/algorithm
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
Commit 6fc73f63660b1fbe3a1af7b3f14d6fe441e0e938 by sven.vanhaastregt
[OpenCL] Add math and common builtin functions
Add the remaining math and common builtin functions from the OpenCL C
specification.
Patch by Pierre Gondois and Sven van Haastregt.
Differential Revision: https://reviews.llvm.org/D69883
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 69ce2ae990e7fffb4d0ed7a851ec072ad4e32c33 by lebedev.ri
[ConstantRange][LVI] Use overflow flags from `sub` to constrain the
range
Summary: This notably improves non-negativity deduction:
```
| statistic                              |     old |     new | delta | %
change |
| correlated-value-propagation.NumAShrs  |     209 |     227 |    18 |
8.6124% |
| correlated-value-propagation.NumAddNSW |    4972 |    4988 |    16 |
0.3218% |
| correlated-value-propagation.NumAddNUW |    7141 |    7148 |     7 |
0.0980% |
| correlated-value-propagation.NumAddNW  |   12113 |   12136 |    23 |
0.1899% |
| correlated-value-propagation.NumAnd    |     442 |     445 |     3 |
0.6787% |
| correlated-value-propagation.NumNSW    |    7160 |    7176 |    16 |
0.2235% |
| correlated-value-propagation.NumNUW    |   13306 |   13316 |    10 |
0.0752% |
| correlated-value-propagation.NumNW     |   20466 |   20492 |    26 |
0.1270% |
| correlated-value-propagation.NumSDivs  |     207 |     212 |     5 |
2.4155% |
| correlated-value-propagation.NumSExt   |    6279 |    6679 |   400 |
6.3704% |
| correlated-value-propagation.NumSRems  |      28 |      29 |     1 |
3.5714% |
| correlated-value-propagation.NumShlNUW |    2793 |    2796 |     3 |
0.1074% |
| correlated-value-propagation.NumShlNW  |    3964 |    3967 |     3 |
0.0757% |
| correlated-value-propagation.NumUDivs  |     353 |     358 |     5 |
1.4164% |
| instcount.NumAShrInst                  |   13763 |   13741 |   -22 |
-0.1598% |
| instcount.NumAddInst                   |  277349 |  277348 |    -1 |
-0.0004% |
| instcount.NumLShrInst                  |   27437 |   27463 |    26 |
0.0948% |
| instcount.NumOrInst                    |  102677 |  102678 |     1 |
0.0010% |
| instcount.NumSDivInst                  |    8732 |    8727 |    -5 |
-0.0573% |
| instcount.NumSExtInst                  |   80872 |   80468 |  -404 |
-0.4996% |
| instcount.NumSRemInst                  |    1679 |    1678 |    -1 |
-0.0596% |
| instcount.NumTruncInst                 |   62154 |   62153 |    -1 |
-0.0016% |
| instcount.NumUDivInst                  |    2526 |    2527 |     1 |
0.0396% |
| instcount.NumURemInst                  |    1589 |    1590 |     1 |
0.0629% |
| instcount.NumZExtInst                  |   69405 |   69809 |   404 |
0.5821% |
| instcount.TotalInsts                   | 7439575 | 7439574 |    -1 |
0.0000% |
```
Reviewers: nikic, reames, spatel
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69942
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
The file was modifiedllvm/lib/IR/ConstantRange.cpp
Commit 0ec6a4882eeb34338b916567f8e63fb71afc84fd by Louis Dionne
[libc++] Fix potential OOB in poisson_distribution
See details in the original Chromium bug report:
   https://bugs.chromium.org/p/chromium/issues/detail?id=994957
The file was modifiedlibcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/eval.pass.cpp
The file was modifiedlibcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/eval.pass.cpp
The file was modifiedlibcxx/include/random
Commit 10e0d64337d64ebdb658bf9108bd9bb48fb5390c by Tim Northover
CodeGen: set correct result for atomic compound expressions
Atomic compound expressions try to use atomicrmw if possible, but this
path doesn't set the Result variable, leaving it to crash in later code
if anything ever tries to use the result of the expression. This fixes
that issue by recalculating the new value based on the old one
atomically loaded.
The file was modifiedclang/test/CodeGen/atomic_ops.c
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
Commit e58985a5ec355095b5fbdfb659de181efddef2fd by llvm-dev
SampleProfWriter - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h
Commit 87bc320b510e91a1a71aa8a154c585db65579628 by Raphael Isemann
[lldb] Add -m option to 'target modules dump symtab' to disable
demangling
Summary: This option was added downstream in swift-lldb. This upstreams
this option as it seems useful and also adds the missing tests.
Reviewers: #lldb, kwk, labath
Reviewed By: kwk, labath
Subscribers: labath, kwk, abidh, JDevlieghere, lldb-commits
Tags: #lldb, #upstreaming_lldb_s_downstream_patches
Differential Revision: https://reviews.llvm.org/D69944
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/dump-symtab-demangle/TestDumpSymtabDemangle.py
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/dump-symtab-demangle/a.yaml
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Symbol/Symbol.cpp
Commit 0e70c350943f1a927f481529717c4f98a465777b by sven.vanhaastregt
[OpenCL] Add integer builtin functions
This patch adds the integer builtin functions from the OpenCL C
specification.
Patch by Pierre Gondois and Sven van Haastregt.
Differential Revision: https://reviews.llvm.org/D69901
The file was modifiedclang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 3d30f2cff7a4976a84911748c61de05a43d244e4 by sven.vanhaastregt
[OpenCL] Add geometric and relational builtin functions
Add the geometric and relational builtin functions from the OpenCL C
specification.
Patch by Pierre Gondois and Sven van Haastregt.
Differential Revision: https://reviews.llvm.org/D69908
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 2fdd58c5066fc1b13dec39383f17095009131ff8 by spatel
[SDAG] reduce code duplication; NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit de61aa3118b9bac85c468ea7ec40604a086744f5 by ed.jones
[RISCV] Improve sysroot computation if no GCC install detected
If a GCC installed is not detected, the driver would default to the root
of the filesystem. This is not ideal when this doesn't match the install
directory of the toolchain and can cause undesireable behavior such as
picking up system libraries or the system linker when cross-compiling.
Differential Revision: https://reviews.llvm.org/D68391
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/bin/riscv64-unknown-elf-ld
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crtend.o
The file was addedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crt0.o
The file was addedclang/test/Driver/riscv32-toolchain-extra.c
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crt0.o
The file was addedclang/test/Driver/riscv64-toolchain-extra.c
The file was addedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/bin/riscv32-unknown-elf-ld
The file was addedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crtend.o
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crtbegin.o
Commit af57dbf12e54f3a8ff48534bf1078f4de104c1cd by melanie.blower
Add support for options -frounding-math, ftrapping-math, -ffp-model=,
and -ffp-exception-behavior=
    Add options to control floating point behavior: trapping and
   exception behavior, rounding, and control of optimizations that
affect
   floating point calculations. More details in UsersManual.rst.
    Reviewers: rjmccall
    Differential Revision: https://reviews.llvm.org/D62731
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/docs/UsersManual.rst
The file was addedclang/test/CodeGen/fpconstrained.c
The file was modifiedclang/test/Driver/fast-math.c
The file was addedclang/test/Driver/fp-model.c
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 777d1d1d98118b18ebe7c86ec8b58aa439c7fcbc by spatel
[SDAG] reduce code duplication; NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp