FailedChanges

Summary

  1. Conditionally build LLD for sanitizer bots. (details)
  2. Remove error in additional '(' that was placed in previous patch. (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 (diff)
Commit 53b0602b58d29771a9637826db88c6849212dff0 by 31459023+hctim
Remove error in additional '(' that was placed in previous patch.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh (diff)

Summary

  1. [clang-format] Make '.clang-format' variants finding a loop (NFC) (details)
  2. [clangd] Add unit tests for comments in system headers (details)
  3. Revert a5c8ec4 "[CGDebugInfo] Emit subprograms for decls when (details)
  4. [clang-rename] Respect the traversal scope when traversing the entire (details)
  5. [lldb-server] Add setting to force 'g' packet use (details)
  6. [clangd] NFC, hide the internal-only utility function lex. (details)
  7. Revert f0c2a5a "[LV] Generalize conditions for sinking instrs for first (details)
  8. [mips] Implement Octeon+ `saa` and `saad` instructions (details)
  9. [mips] Support `octeon+` CPU in the `.set arch=` directive (details)
  10. [mips] Write `AFL_EXT_OCTEONP` flag to the `.MIPS.abiflags` section (details)
  11. [mips] Add `octeon+` to the list of CPUs accepted by the driver (details)
  12. [mips] Set macros for Octeon+ CPU (details)
  13. [NFC][CVP] Add some tests for `sub` with preexisting no-wrap flags (details)
  14. [SLP] allow forming 2-way reduction patterns (details)
  15. [ThinLTO] Import readonly vars with refs (details)
  16. [libc++] Fix some constexpr tests broken by D68837 (details)
  17. [libc++] Fixed copy/copy_n/copy_backward for compilers that do not (details)
  18. [OpenCL] Add math and common builtin functions (details)
  19. [ConstantRange][LVI] Use overflow flags from `sub` to constrain the (details)
  20. [libc++] Fix potential OOB in poisson_distribution (details)
  21. CodeGen: set correct result for atomic compound expressions (details)
  22. SampleProfWriter - fix uninitialized variable warnings. NFCI. (details)
  23. [lldb] Add -m option to 'target modules dump symtab' to disable (details)
  24. [OpenCL] Add integer builtin functions (details)
  25. [OpenCL] Add geometric and relational builtin functions (details)
  26. [SDAG] reduce code duplication; NFC (details)
  27. [RISCV] Improve sysroot computation if no GCC install detected (details)
  28. Add support for options -frounding-math, ftrapping-math, -ffp-model=, (details)
  29. [SDAG] reduce code duplication; NFC (details)
  30. [RISCV] Add riscv{32,64} to ALL_CRT_SUPPORTED_ARCH list (details)
  31. [GWP-ASan] Respect compiler-rt's -fno-lto (details)
  32. [Sema] Suppress -Wchar-subscripts if the index is a literal char (details)
  33. [OPENMP][DOCS] Update OpenMP status (NFC) (details)
  34. [openmp] [test] Skip one more test that kills NetBSD buildbot (details)
  35. comment shiftamountthreshold (details)
  36. [lldb] Comment typo fix (details)
  37. Using crtp to refactor the xcoff section header (details)
  38. AsmWriterOperand - fix uninitialized variable warning. NFCI. (details)
  39. X86CondBrFolding - remove non-existent fixBranchProb function. NFC. (details)
  40. ManagedStringPool - pre-increment iterator. NFC. (details)
  41. PostRAScheduler - fix uninitialized variable warning. NFCI. (details)
  42. TypeRecord - fix uninitialized variable warnings. NFCI. (details)
  43. MachineMemOperand::getBaseAlignment() - fix "shift of i32 then extended (details)
  44. X86FrameLowering - fix bool to unsigned cast static analyzer warnings. (details)
  45. [InstCombine] canonicalize shift+logic+shift to reduce dependency chain (details)
  46. [XCOFF] Move explicit instantions after member function definitions to (details)
  47. [llvm-ar] Support verbose mode for operation 'x' (details)
  48. [XCOFF] Fix link errors from explicit template instantiation (details)
Commit 86825dbe3306d296094432feb4a7af7d385d6b1d by anders
[clang-format] Make '.clang-format' variants finding a loop (NFC)
This simplifies logic making it trivial to add searching for other files
later.
Differential revision: https://reviews.llvm.org/D68568
The file was modifiedclang/lib/Format/Format.cpp
Commit dec8d8d3f205268712a928d106ff2e6f799f7a9b by ibiryukov
[clangd] Add unit tests for comments in system headers
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
Commit 5b9a072c39c0c34a290abd19e4aca8208a9afae6 by hans
Revert a5c8ec4 "[CGDebugInfo] Emit subprograms for decls when
AT_tail_call is understood"
This caused Chromium builds to fail with "inlinable function call in a
function with debug info must have a !dbg location" errors. See
https://bugs.chromium.org/p/chromium/issues/detail?id=1022296#c1 for a
reproducer.
> Currently, clang emits subprograms for declared functions when the
> target debugger or DWARF standard is known to support entry values
> (DW_OP_entry_value & the GNU equivalent).
>
> Treat DW_AT_tail_call the same way to allow debuggers to follow
cross-TU
> tail calls.
>
> Pre-patch debug session with a cross-TU tail call:
>
> ```
>   * frame #0: 0x0000000100000fa4 main`target at b.c:4:3 [opt]
>     frame #1: 0x0000000100000f99 main`main at a.c:8:10 [opt]
> ```
>
> Post-patch (note that the tail-calling frame, "helper", is visible):
>
> ```
>   * frame #0: 0x0000000100000fa4 main`target at b.c:4:3 [opt]
>     frame #1: 0x0000000100000f80 main`helper [opt] [artificial]
>     frame #2: 0x0000000100000f99 main`main at a.c:8:10 [opt]
> ```
>
> rdar://46577651
>
> Differential Revision: https://reviews.llvm.org/D69743
The file was modifiedllvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
The file was modifiedclang/test/CodeGen/debug-info-extern-call.c
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/CodeGenCXX/dbg-info-all-calls-described.cpp
Commit 118f7836a65e864ef3c7e015d58ca370fee65e89 by hokein.wu
[clang-rename] Respect the traversal scope when traversing the entire
AST.
Summary: This should be NFC to clang-rename, by default the traversal
scope is TUDecl. Traversing the TUDecl in clangd is a performance cliff,
we should avoid it.
Reviewers: ilya-biryukov
Subscribers: kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69892
The file was modifiedclang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
Commit b1b70f6761266c3eecaf8bd71529eaf51994207b by pavel
[lldb-server] Add setting to force 'g' packet use
Following up on https://reviews.llvm.org/D62221, this change introduces
the settings plugin.process.gdb-remote.use-g-packet-for-reading.  When
they are on, 'g' packets are used for reading registers.
Using 'g' packets can improve performance by reducing the number of
packets exchanged between client and server when a large number of
registers needs to be fetched.
Differential revision: https://reviews.llvm.org/D62931
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestGDBRemoteClient.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
Commit c5e4cf40ac459aae996180089a9831959ceb3d05 by hokein.wu
[clangd] NFC, hide the internal-only utility function lex.
To avoid any potential ODR violations.
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
Commit eaff3004019f97c64c88ab76da6b25106b659b30 by hans
Revert f0c2a5a "[LV] Generalize conditions for sinking instrs for first
order recurrences."
It broke Chromium, causing "Instruction does not dominate all uses!"
errors. See
https://bugs.chromium.org/p/chromium/issues/detail?id=1022297#c1 for a
reproducer.
> If the recurrence PHI node has a single user, we can sink any
> instruction without side effects, given that all users are dominated
by
> the instruction computing the incoming value of the next iteration
> ('Previous'). We can sink instructions that may cause traps, because
> that only causes the trap to occur later, but not on any new paths.
>
> With the relaxed check, we also have to make sure that we do not have
a
> direct cycle (meaning PHI user == 'Previous), which indicates a
> reduction relation, which potentially gets missed by
> ReductionDescriptor.
>
> As follow-ups, we can also sink stores, iff they do not alias with
> other instructions we move them across and we could also support
sinking
> chains of instructions and multiple users of the PHI.
>
> Fixes PR43398.
>
> Reviewers: hsaito, dcaballe, Ayal, rengolin
>
> Reviewed By: Ayal
>
> Differential Revision: https://reviews.llvm.org/D69228
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was removedllvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
Commit 7bed381eae12277d6e0ef7e8a56491d11589ee7f by simon
[mips] Implement Octeon+ `saa` and `saad` instructions
`saa` and `saad` are 32-bit and 64-bit store atomic add instructions.
   memory[base] = memory[base] + rt
These instructions are available for "Octeon+" CPU. The patch adds
support for both instructions to MIPS assembler and diassembler and
introduces new CPU type - "octeon+".
Next patches will implement `.set arch=octeon+` directive and
`AFL_EXT_OCTEONP` ISA extension flag support.
Differential Revision: https://reviews.llvm.org/D69849
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.h
The file was addedllvm/test/MC/Mips/macro-saa.s
The file was modifiedllvm/lib/Target/Mips/MipsScheduleGeneric.td
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
The file was addedllvm/test/MC/Mips/cnmipsp/valid.s
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.cpp
The file was modifiedllvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
The file was addedllvm/test/MC/Disassembler/Mips/octeonp/valid.txt
The file was addedllvm/test/MC/Mips/cnmipsp/invalid.s
The file was modifiedllvm/lib/Target/Mips/Mips.td
The file was modifiedllvm/test/MC/Mips/elf_header.s
The file was addedllvm/test/MC/Mips/macro-saad.s
The file was modifiedllvm/lib/Target/Mips/MipsScheduleP5600.td
The file was addedllvm/test/MC/Disassembler/Mips/octeonp/valid-el.txt
The file was modifiedllvm/lib/Target/Mips/Mips64InstrInfo.td
The file was modifiedllvm/lib/Target/Mips/MipsInstrFormats.td
The file was modifiedllvm/test/MC/Mips/elf_eflags.s
Commit 3718102d40d60ba415ac2b2b1108e411838838a5 by simon
[mips] Support `octeon+` CPU in the `.set arch=` directive
Differential Revision: https://reviews.llvm.org/D69850
The file was modifiedllvm/test/MC/Mips/set-arch.s
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit bf996f761b99108c71efc84688597b7c3c63139e by simon
[mips] Write `AFL_EXT_OCTEONP` flag to the `.MIPS.abiflags` section
Differential Revision: https://reviews.llvm.org/D69851
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
The file was modifiedllvm/test/MC/Mips/mips_abi_flags_xx.s
Commit 3552d3e0f7c943c3547c0227ddd80fd4d0732a7e by simon
[mips] Add `octeon+` to the list of CPUs accepted by the driver
The file was modifiedclang/test/Driver/mips-abi.c
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/test/Driver/mips-as.c
The file was modifiedclang/lib/Basic/Targets/Mips.h
The file was modifiedclang/test/Misc/target-invalid-cpu-note.c
The file was modifiedclang/lib/Basic/Targets/Mips.cpp
Commit a751f557d824c569a96051ea5feef1ff32bb4723 by simon
[mips] Set macros for Octeon+ CPU
The file was modifiedclang/test/Preprocessor/init.c
The file was modifiedclang/lib/Basic/Targets/Mips.cpp
Commit 55b445150da9101fda07a4c28ee6a4e4bc9fc89a by lebedev.ri
[NFC][CVP] Add some tests for `sub` with preexisting no-wrap flags
We can use those to further limit the ranges in LVI.
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
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/include/llvm/Transforms/Vectorize/SLPVectorizer.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction2.ll
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/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/IR/ModuleSummaryIndex.cpp
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was modifiedllvm/test/Bitcode/summary_version.ll
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/test/ThinLTO/X86/globals-import.ll
The file was modifiedllvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll
The file was modifiedllvm/test/Bitcode/thinlto-deadstrip-flag.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/Reader/BitcodeReader.cpp
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_if.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_n.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.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/__config
The file was modifiedlibcxx/include/algorithm
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/lib/IR/ConstantRange.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
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 addedlldb/packages/Python/lldbsuite/test/commands/target/dump-symtab-demangle/a.yaml
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/target/dump-symtab-demangle/TestDumpSymtabDemangle.py
The file was modifiedlldb/source/Symbol/Symbol.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
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 addedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crtbegin.o
The file was addedclang/test/Driver/riscv64-toolchain-extra.c
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/bin/riscv64-unknown-elf-ld
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/crt0.o
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-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/crtend.o
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
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/docs/UsersManual.rst
The file was modifiedclang/test/Driver/fast-math.c
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/fp-model.c
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/CodeGen/fpconstrained.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
Commit 777d1d1d98118b18ebe7c86ec8b58aa439c7fcbc by spatel
[SDAG] reduce code duplication; NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit dd2588001082d7299f71552029b06fd0620fe23c by ed.jones
[RISCV] Add riscv{32,64} to ALL_CRT_SUPPORTED_ARCH list
This allows crtbegin and crtend to be built, allowing RISC-V to no
longer rely on implementations from libgcc.
Differential revision: https://reviews.llvm.org/D68393
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit 343597789eba1e6482e130b0c1b0818b1432d311 by 31459023+hctim
[GWP-ASan] Respect compiler-rt's -fno-lto
https://bugs.llvm.org/show_bug.cgi?id=43722
GWP-ASan didn't include SANITIZER_COMMON_CFLAGS, and thus would produce
LLVM bitcode files, when compiler-rt is generally built without LTO.
The file was modifiedcompiler-rt/lib/gwp_asan/CMakeLists.txt
Commit 7adab7719e55e1b29bfd521dcc73f202139e8f41 by ed.jones
[Sema] Suppress -Wchar-subscripts if the index is a literal char
Assume that the user knows what they're doing if they provide a char
literal as an array index. This more closely matches the behavior of
GCC.
Differential Revision: https://reviews.llvm.org/D58896
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaCXX/warn-char-subscripts.cpp
Commit bcf754a3212c12ecc896bac66c599d571eca57d9 by a.bataev
[OPENMP][DOCS] Update OpenMP status (NFC)
Summary: This is updating the OpenMP status table. Cray has volunteered
for `defaultmap` and supporting `in_reduction` on the `target`
construct, so the status on those entries from was changed from
"unclaimed". Also, a new entry was added for supporting non-contiguous
arrays sections on the `target update` directive.
Reviewers: ABataev, hfinkel, jdoerfert, kkwli0
Reviewed By: ABataev
Subscribers: guansong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69923
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 6f8ee2c5755cb47190bc1aa8c5d8905317e8806f by mgorny
[openmp] [test] Skip one more test that kills NetBSD buildbot
The file was modifiedopenmp/runtime/test/tasking/omp_task_depend_resize_hashmap.c
Commit 0d3d3822f53b12ad292c3a63eb47cbe3ac59d0cf by joan.lluch
comment shiftamountthreshold
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
Commit 44f43461c018e7fdc3b1cf3a7a41f52b1cb20a39 by jan.kratochvil
[lldb] Comment typo fix
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
Commit c63c1a72dab96b0d090b2601eb1e7f40df2db534 by diggerlin
Using crtp to refactor the xcoff section header
SUMMARY: According to https://reviews.llvm.org/D68575#inline-617586,
Create a NFC patch for it.
Using crtp to refactor the xcoff section header Move the define of
SectionFlagsReservedMask and SectionFlagsTypeMask from XCOFFDumper.cpp
to XCOFFObjectFile.h
Reviewers: hubert.reinterpretcast,jasonliu Subscribers: rupprecht,
seiyai,hiraditya
Differential Revision: https://reviews.llvm.org/D69131
The file was modifiedllvm/tools/llvm-readobj/XCOFFDumper.cpp
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit bcd7674e06796d409aa85f77a011f701115bff17 by llvm-dev
AsmWriterOperand - fix uninitialized variable warning. NFCI.
The file was modifiedllvm/utils/TableGen/AsmWriterInst.h
Commit f08324067939d299047cf742f7d5224060e2e29c by llvm-dev
X86CondBrFolding - remove non-existent fixBranchProb function. NFC.
The file was modifiedllvm/lib/Target/X86/X86CondBrFolding.cpp
Commit d5c4881a56e0477acb8b38deff7eb3c401427d24 by llvm-dev
ManagedStringPool - pre-increment iterator. NFC.
The file was modifiedllvm/lib/Target/NVPTX/ManagedStringPool.h
Commit 77cfe83f7dd636845915bbb0295013a570778278 by llvm-dev
PostRAScheduler - fix uninitialized variable warning. NFCI.
The file was modifiedllvm/lib/CodeGen/PostRASchedulerList.cpp
Commit 0e9b5760f2c6ce6f41600b90b89a960de41de960 by llvm-dev
TypeRecord - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
Commit 205c84dc8aee45f29ac92bb7b871ed2845147388 by llvm-dev
MachineMemOperand::getBaseAlignment() - fix "shift of i32 then extended
to i64" static analyzer warning. NFCI.
The file was modifiedllvm/include/llvm/CodeGen/MachineMemOperand.h
Commit 05299c7d98ab5562ebf927847126621826358907 by llvm-dev
X86FrameLowering - fix bool to unsigned cast static analyzer warnings.
NFCI.
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
Commit d9ccb6367a1089fd61bd85be6b0fbb0d6a590e05 by spatel
[InstCombine] canonicalize shift+logic+shift to reduce dependency chain
shift (logic (shift X, C0), Y), C1 --> logic (shift X, C0+C1), (shift Y,
C1)
This is an IR translation of an existing SDAG transform added here:
rL370617
So we again have 9 possible patterns with a commuted IR variant of each
pattern: https://rise4fun.com/Alive/VlI https://rise4fun.com/Alive/n1m
https://rise4fun.com/Alive/1Vn
Part of the motivation is to allow easier recognition and subsequent
canonicalization of bswap patterns as discussed in PR43146:
https://bugs.llvm.org/show_bug.cgi?id=43146
We had to delay this transform because it used to allow the SLP
vectorizer to create awful reductions out of simple load-combines. That
problem was fixed with: rL375025
(we'll bring back load combining in IR someday...)
The backend is also better equipped to deal with these patterns now
using hooks like TLI.getShiftAmountThreshold().
The only remaining potential controversy is that the -reassociate pass
tends to reverse this kind of pattern (to help GVN?). But since
-reassociate doesn't do anything with these specific patterns, there is
no conflict currently.
Finally, there's a new pass proposal at D67383 for general
tree-height-reduction reassociation, and it could use a cost model to
decide how to optimally rearrange these kinds of ops for a target. That
patch appears to be stalled.
Differential Revision: https://reviews.llvm.org/D69842
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/bswap.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-logic.ll
Commit f8622543ad07f57618c9ecdb3b3a8c7cabe40b85 by maskray
[XCOFF] Move explicit instantions after member function definitions to
fix clang builds
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit 7d2b0ec345487537e37a24b323d612c7c06295cd by maskray
[llvm-ar] Support verbose mode for operation 'x'
Reviewed By: jhenderson, kongyi
Differential Revision: https://reviews.llvm.org/D69911
The file was modifiedllvm/test/tools/llvm-ar/extract.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit c989993ba1a666f04f7aee7df51d9f4de0588b71 by rnk
[XCOFF] Fix link errors from explicit template instantiation
I happen to be using clang-cl+lld-link locally, and I get these link
errors:
lld-link: error: undefined symbol: public: unsigned short __cdecl
llvm::object::XCOFFSectionHeader<struct
llvm::object::XCOFFSectionHeader64>::getSectionType(void) const
>>> referenced by
C:\src\llvm-project\llvm\tools\llvm-readobj\XCOFFDumper.cpp:106
>>>             
tools\llvm-readobj\CMakeFiles\llvm-readobj.dir\XCOFFDumper.cpp.obj:(public:
virtual void __cdecl `anonymous
namespace'::XCOFFDumper::printSectionHeaders(void))
I suspect this is because the explicit template instaniation appears
before the inline method definitions in the .cpp file, so they aren't
available at the point of instantiation. Move the explicit instantiation
later.
Also, forward declare the explicit instantiation for good measure.
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp

Summary

  1. Conditionally build LLD for sanitizer bots. (details)
  2. Remove error in additional '(' that was placed in previous patch. (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
Commit 53b0602b58d29771a9637826db88c6849212dff0 by 31459023+hctim
Remove error in additional '(' that was placed in previous patch.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh