Progress:
In progressChanges

Summary

  1. [lldb] Configure LLDB_FRAMEWORK_DIR in multi-generator builds (details)
  2. [libc++] Fix tests on GCC 10 (details)
  3. [lldb] Also configure lldb_framework_dir in the lit.site.cfg.py (details)
  4. [InstCombine] visitTrunc - remove dead trunc(lshr (zext A), C) combine. NFCI. (details)
  5. [InstCombine] Fix the outofrange tests and add exact shift tests for D88429 (details)
  6. [libc++] Add a regression test for erasing from a vector (details)
  7. [flang][msvc] Avoid templated initializer list initialization of vector. NFC. (details)
  8. [COFF][CG Profile] set undefined symbol to external (details)
  9. [libc++][ci] Update how we build the Docker image (details)
  10. [clangd] findNearbyIdentifier(): guaranteed to give up after 2^N lines (details)
  11. [lldb] Remove redundant ctor call (NFC) (details)
  12. [mlir][openacc] Add shutdown operation (details)
  13. [BuildLibCalls] Add noundef to the returned pointers of allocators and argument of free (details)
  14. LanaiSubtarget.h - remove unnecessary includes. NFCI. (details)
  15. LanaiTargetMachine.h - remove unnecessary includes. NFCI. (details)
  16. [InstCombine] fix weird formatting in test file; NFC (details)
  17. [ELF] Fix multiple -mllvm after D70378 (details)
  18. [InstCombine] visitTrunc - trunc (*shr (trunc A), C) --> trunc(*shr A, C) (details)
  19. [InstCombine] adjust duplicate test for masked load; NFC (details)
  20. Add -fprofile-update={atomic,prefer-atomic,single} (details)
  21. [NFC][regalloc] Unit test for AllocationOrder iteration. (details)
  22. Adds MLIR C-API for marshaling Python capsules. (details)
  23. [gn build] Port 6d193ba3337 (details)
  24. [MLIR] Add Async dialect with trivial async.region operation (details)
  25. [clangd] Fix assertion in remote-index marshalling (details)
  26. Revert "Revert "Add the ability to write target stop-hooks using the ScriptInterpreter."" (details)
  27. [CodeGen] emit CG profile for COFF object file (details)
  28. Use "default member initializer" instead of "in-class initializer" for diagnostics. (details)
  29. [ValueTracking] Early exit known non zero for phis (details)
  30. [mlir] Support return and call ops in bare-ptr calling convention (details)
  31. [InstCombine] ease alignment restriction for converting masked load to normal load (details)
  32. [libc++][ci] Add a script to describe when to trigger libc++ CI builds (details)
  33. [libc++][ci] Improve the phabricator-report script (details)
  34. [lldb/docs] Remove manual codesigning documentation (details)
  35. [libc++][ci] Turn on Phabricator reporting by default (details)
  36. [trace] Fix destructor declaration (details)
  37. Fix TODO in the mlir-cpu-runner/bare_ptr_call_conv.mlir test: call ops in bare-ptr calling convention is supported now (NFC) (details)
  38. [libc++] Fix some test failures in unusual configurations (details)
  39. [lldb] Hoist --server argument out of LLDB_TEST_COMMON_ARGS (NFC) (details)
  40. [libc++] Rename the -fno-rtti Lit feature to just no-rtti (details)
  41. Better diagnostics for anonymous bit-fields with attributes or an initializer. (details)
  42. Revert "[Sema] Address-space sensitive check for unbounded arrays (v2)" (details)
  43. [clangd] Trivial setter support when moving items to fields (details)
  44. [MLIR] Avoid adding debuginfo for a function if it contains calls that has no debug info. (details)
  45. [ms] [llvm-ml] Add support for .radix directive, and accept all radix specifiers (details)
  46. [ms] [llvm-ml] Add MASM hex float support (details)
  47. [ms] [llvm-ml] Add REAL10 support (x87 extended precision) (details)
  48. [ms] [llvm-ml] Add support for "alias" directive (details)
  49. [ms] [llvm-ml] Accept whitespace around the dot operator (details)
  50. [ms] [llvm-ml] Create the @feat.00 symbol, and populate it appropriately (details)
  51. [SVE] Lower fixed length VECREDUCE_[FMAX|FMIN] to Scalable (details)
  52. [flang][msvc] Define implicit conversion from UnsignedInt128 to int64_t. (details)
  53. [flang][msvc] Define access flags under Windows. NFC. (details)
  54. [nfc][libomptarget] Drop parameter to named_sync (details)
Commit d0ed45dc920004bb7b6642d6086b4722443eeba2 by Jonas Devlieghere
[lldb] Configure LLDB_FRAMEWORK_DIR in multi-generator builds
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in (diff)
The file was modifiedlldb/test/API/CMakeLists.txt (diff)
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt (diff)
Commit 3e5f9dacb092a1414f72500111c2b049673e0055 by Louis Dionne
[libc++] Fix tests on GCC 10

Also, remove workarounds for ancient Clangs from is_constructible tests.
The file was modifiedlibcxx/include/type_traits (diff)
The file was modifiedlibcxx/test/std/namespace/addressable_functions.sh.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp (diff)
The file was modifiedlibcxx/utils/ci/run-buildbot.sh (diff)
Commit ccbb9827db4c30c93b92a204aeb2b98f9f3a723a by Jonas Devlieghere
[lldb] Also configure lldb_framework_dir in the lit.site.cfg.py

Configuring the variable in CMake isn't enought, because the build mode
can't be resolved until execution time, which requires the build mode to
be substituted by lit.
The file was modifiedlldb/test/API/lit.site.cfg.py.in (diff)
Commit b610d73b3fe67fe6b693740dfac5fd21a60b1e44 by llvm-dev
[InstCombine] visitTrunc - remove dead trunc(lshr (zext A), C) combine. NFCI.

I added additional test coverage at rG7a55989dc4305 - but all are handled independently of this combine and http://lab.llvm.org:8080/coverage/coverage-reports/ indicates the code is never used.

Differential revision: https://reviews.llvm.org/D88492
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp (diff)
Commit e5f047f27ec121e63e765d30683a472d1ba19ca5 by llvm-dev
[InstCombine] Fix the outofrange tests and add exact shift tests for D88429
The file was modifiedllvm/test/Transforms/InstCombine/trunc-shift-trunc.ll (diff)
Commit 7bed95a856f1e0146e838e7575677159f42f3bf7 by Louis Dionne
[libc++] Add a regression test for erasing from a vector

After rebasing my trivially-relocatable branch, this behavior was broken...
but no libc++ unit test caught it! Add a regression test specifically for
erasing out of a vector.

Differential Revision: https://reviews.llvm.org/D88421
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp (diff)
Commit d2d7a44facd2dc895d378f19233837147f587b6d by llvm-project
[flang][msvc] Avoid templated initializer list initialization of vector. NFC.

The Microsoft compiler emits an error when populating the vector with a single element of a templated argument using the brace syntax. The error is:
```
constant.h(102,1): error C2664: 'std::vector<Fortran::evaluate::value::Complex<...>, ...>::vector(std::initializer_list<_Ty>,const _Alloc &)': cannot convert argument 1 from 'initializer list' to 'std::initializer_list<_Ty>'
```
To work around this error, we replace the templated constructor with one for the expected type. Conversion to the element type has to be done by the caller.

This patch is part of the series to make flang compilable with MS Visual Studio <http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html>.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D88163
The file was modifiedflang/include/flang/Evaluate/constant.h (diff)
Commit a9abe1f7859e4e1293969a93213294584a5aaba9 by zequanwu
[COFF][CG Profile] set undefined symbol to external

Differential Revision: https://reviews.llvm.org/D88456
The file was modifiedllvm/test/MC/COFF/cgprofile.s (diff)
The file was modifiedllvm/lib/MC/MCWinCOFFStreamer.cpp (diff)
Commit 2159ed811f96cb1aefecf3369d80e69e06fd32a3 by Louis Dionne
[libc++][ci] Update how we build the Docker image

This fixes a couple of issues, such as failing filesystem tests (due to
running the tests as root), and not running with the GCC we downloaded.
The file was modifiedlibcxx/utils/ci/Dockerfile (diff)
Commit d8ba6b4ab3eceb6bbcdf4371d4ffaab9d1a5cebe by platonov.aleksandr
[clangd] findNearbyIdentifier(): guaranteed to give up after 2^N lines

As @kadircet mentions in D84912#2184144, `findNearbyIdentifier()` traverses the whole file if there is no identifier for the word.
This patch ensures give up after 2^N lines in any case.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D87891
The file was modifiedclang-tools-extra/clangd/XRefs.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp (diff)
Commit b4968c7001c2d7e2e607bef1bb11ae8f076e47e0 by Jonas Devlieghere
[lldb] Remove redundant ctor call (NFC)

As pointed out by Pavel in D88249.
The file was modifiedlldb/source/API/SBValue.cpp (diff)
Commit 9c77350b0c737f44732ee26b558b5f4868864a38 by clementval
[mlir][openacc] Add shutdown operation

This patch introduces the acc.shutdown operation that represents an OpenACC shutdown directive.
Clauses are derived from the spec 2.14.2

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D88272
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td (diff)
The file was modifiedmlir/test/Dialect/OpenACC/invalid.mlir (diff)
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir (diff)
Commit 67aac915ba94a75cbdb3c9c5f6c8e9904829ce37 by aqjune
[BuildLibCalls] Add noundef to the returned pointers of allocators and argument of free

This patch adds noundef to the returned pointers of allocators (malloc, calloc, ...)
and the pointer argument of free.
The returned pointer of allocators cannot be poison or (partially) undef.
Since the pointer that is given to free should precisely have zero offset,
it cannot be poison or (partially) undef too.

For the size arguments of allocators, noundef wasn't attached simply because
I wasn't sure whether attaching it is okay or not.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D87984
The file was modifiedllvm/test/Transforms/InferFunctionAttrs/annotate.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp (diff)
Commit ae7ab962840a8d6def1af64e89082e55adf50e2c by llvm-dev
LanaiSubtarget.h - remove unnecessary includes. NFCI.

TargetFrameLowering.h is guaranteed to be covered by LanaiFrameLowering.h
The file was modifiedllvm/lib/Target/Lanai/LanaiSubtarget.h (diff)
Commit 346199152fc1c70dd439b0adab8a5815e426b4c0 by llvm-dev
LanaiTargetMachine.h - remove unnecessary includes. NFCI.
The file was modifiedllvm/lib/Target/Lanai/LanaiTargetMachine.h (diff)
Commit 388b068956d4f169e868e7990d1cbc6066c3990c by spatel
[InstCombine] fix weird formatting in test file; NFC

It apparently didn't cause trouble for the parser or FileCheck,
but it was confusing to see a function def split by asserts.
The file was modifiedllvm/test/Transforms/InstCombine/masked_intrinsics.ll (diff)
Commit 259bb61c118bd7d15c3329ffb2daa9ceaea7302f by i
[ELF] Fix multiple -mllvm after D70378

Fixes https://reviews.llvm.org/D70378#2299569 Multiple -mllvm is intended to be supported.

We don't have a proper test for `-plugin-opt=-`. This patch adds the test as well.

Differential Revision: https://reviews.llvm.org/D88461
The file was addedlld/test/ELF/lto/mllvm.ll
The file was modifiedlld/ELF/Driver.cpp (diff)
Commit 0cf48a70651c722a5dabf0ca8ca246b110d7c2ab by llvm-dev
[InstCombine] visitTrunc - trunc (*shr (trunc A), C) --> trunc(*shr A, C)

Attempt to fold trunc (*shr (trunc A), C) --> trunc(*shr A, C) iff the shift amount if small enough that all zero/sign bits created by the shift are removed by the last trunc.

Helps fix the regressions encountered in D88316.

I've tweaked a couple of shift values as suggested by @lebedev.ri to ensure we have coverage of shift values close (above/below) to the max limit.

Differential Revision: https://reviews.llvm.org/D88429
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/trunc-shift-trunc.ll (diff)
Commit 5409e4831fef7d2fa13fadd14ce53a85a99b1682 by spatel
[InstCombine] adjust duplicate test for masked load; NFC

The test after the changed test was checking exactly the same dereferenceable bytes.
The file was modifiedllvm/test/Transforms/InstCombine/masked_intrinsics.ll (diff)
Commit 3681be876fea9b270c7a1d2dc41679a399610e06 by i
Add -fprofile-update={atomic,prefer-atomic,single}

GCC 7 introduced -fprofile-update={atomic,prefer-atomic} (prefer-atomic is for
best efforts (some targets do not support atomics)) to increment counters
atomically, which is exactly what we have done with -fprofile-instr-generate
(D50867) and -fprofile-arcs (b5ef137c11b1cc6ae839ee75b49233825772bdd0).
This patch adds the option to clang to surface the internal options at driver level.

GCC 7 also turned on -fprofile-update=prefer-atomic when -pthread is specified,
but it has performance regression
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307). So we don't follow suit.

Differential Revision: https://reviews.llvm.org/D87737
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/test/CodeGen/tsan-instrprof-atomic.c (diff)
The file was addedclang/test/Driver/fprofile-update.c
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def (diff)
The file was modifiedclang/docs/UsersManual.rst (diff)
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was modifiedclang/test/CodeGen/code-coverage-tsan.c (diff)
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
Commit 6d193ba3337e40be297c88ff8088d6cade3d5838 by mtrofin
[NFC][regalloc] Unit test for AllocationOrder iteration.

Added unittests. In the process, separated core construction - which just
needs the hits, order, and 'HardHints' values - from construction from
current register allocation state, to simplify testing.

Differential Revision: https://reviews.llvm.org/D88455
The file was modifiedllvm/lib/CodeGen/AllocationOrder.h (diff)
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt (diff)
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp (diff)
The file was modifiedllvm/lib/CodeGen/RegAllocBasic.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AllocationOrder.cpp (diff)
The file was addedllvm/unittests/CodeGen/AllocationOrderTest.cpp
Commit 543922cd3630ca3a1e06a6a946d148bc0e22e720 by stellaraccident
Adds MLIR C-API for marshaling Python capsules.

* Providing stable, C-accessible definitions for bridging MLIR Python<->C APIs, we eliminate inter-extension dependencies (i.e. they can all share a diamond dependency on the MLIR C-API).
* Just provides accessors for context and module right now.
* Needed in NPComp in ~a week or so for high level Torch APIs.

Differential Revision: https://reviews.llvm.org/D88426
The file was modifiedmlir/test/Bindings/Python/context_lifecycle.py (diff)
The file was modifiedmlir/include/mlir-c/IR.h (diff)
The file was modifiedmlir/test/Bindings/Python/ir_module.py (diff)
The file was addedmlir/include/mlir-c/Bindings/Python/Interop.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.h (diff)
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp (diff)
Commit 4cda881e0d8b67d411b6a8daf55de53cf5d42ded by llvmgnsyncbot
[gn build] Port 6d193ba3337
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn (diff)
Commit 05a3b4fe30050b2b75c5eb339af52ba68cf01a7c by ezhulenev
[MLIR] Add Async dialect with trivial async.region operation

Start Async dialect for modeling asynchronous execution.

Reviewed By: mehdi_amini, herhut

Differential Revision: https://reviews.llvm.org/D88459
The file was addedmlir/lib/Dialect/Async/IR/Async.cpp
The file was addedmlir/lib/Dialect/Async/IR/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/Async/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/CMakeLists.txt (diff)
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt (diff)
The file was addedmlir/include/mlir/Dialect/Async/IR/Async.h
The file was addedmlir/include/mlir/Dialect/Async/IR/AsyncBase.td
The file was addedmlir/include/mlir/Dialect/Async/IR/AsyncOps.td
The file was addedmlir/include/mlir/Dialect/Async/IR/CMakeLists.txt
The file was addedmlir/lib/Dialect/Async/CMakeLists.txt
The file was addedmlir/test/Dialect/Async/ops.mlir
The file was modifiedmlir/include/mlir/InitAllDialects.h (diff)
Commit 962a247aebba39bc8f2d6aa901ed512f5c09dc72 by kadircet
[clangd] Fix assertion in remote-index marshalling

convert_to_slash is a no-op on posix style.
The file was modifiedclang-tools-extra/clangd/index/remote/marshalling/Marshalling.cpp (diff)
Commit 1b1d9815987a753f2f3524cfad050b85972dae5b by jingham
Revert "Revert "Add the ability to write target stop-hooks using the ScriptInterpreter.""

This reverts commit f775fe59640a2e837ad059a8f40e26989d4f9831.

I fixed a return type error in the original patch that was causing a test failure.
Also added a REQUIRES: python to the shell test so we'll skip this for
people who build lldb w/o Python.
Also added another test for the error printing.
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp (diff)
The file was modifiedlldb/test/API/commands/target/stop-hooks/TestStopHooks.py (diff)
The file was modifiedlldb/bindings/python/python-swigsafecast.swig (diff)
The file was addedlldb/test/API/commands/target/stop-hooks/stop_hook.py
The file was modifiedlldb/source/Commands/Options.td (diff)
The file was modifiedlldb/include/lldb/Symbol/SymbolContext.h (diff)
The file was modifiedlldb/source/Symbol/SymbolContext.cpp (diff)
The file was modifiedlldb/test/API/commands/target/stop-hooks/main.c (diff)
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp (diff)
The file was modifiedlldb/docs/use/python-reference.rst (diff)
The file was addedlldb/test/Shell/Commands/command-stop-hook-output.test
The file was modifiedlldb/source/Target/Target.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp (diff)
The file was modifiedlldb/include/lldb/Target/Target.h (diff)
The file was modifiedlldb/bindings/python/python-wrapper.swig (diff)
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h (diff)
The file was addedlldb/test/Shell/Commands/Inputs/stop_hook.py
The file was modifiedlldb/include/lldb/Interpreter/ScriptInterpreter.h (diff)
The file was addedlldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
Commit 6c91e623e53703560e781b172e9160cae2cf8d21 by zequanwu
[CodeGen] emit CG profile for COFF object file

Differential Revision: https://reviews.llvm.org/D87811
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h (diff)
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp (diff)
The file was addedllvm/test/MC/COFF/cgprofile.ll
Commit 15fbae8ac303d8601ea95418d4818cb50d0765e1 by aaron
Use "default member initializer" instead of "in-class initializer" for diagnostics.

This changes some diagnostics to use terminology from the standard
rather than invented terminology, which improves consistency with other
diagnostics as well. There are no functional changes intended other
than wording and naming.
The file was modifiedclang/test/SemaCXX/class.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/test/SemaCXX/member-init.cpp (diff)
The file was modifiedclang/test/Parser/MicrosoftExtensions.cpp (diff)
The file was modifiedclang/test/SemaCXX/cxx98-compat.cpp (diff)
The file was modifiedclang/test/Parser/cxx-class.cpp (diff)
The file was modifiedclang/test/SemaCXX/PR9572.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td (diff)
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp (diff)
Commit ac8a51c701ebd332a44944f8ff8545c21bc438ce by nikita.ppv
[ValueTracking] Early exit known non zero for phis

After D88276 we no longer expect computeKnownBits() to prove
non-zeroness for cases where isKnownNonZero() can't, so don't
fall through to it.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)
Commit a89fc12653c520a5a70249e07c0a394584f4abbe by diego.caballero
[mlir] Support return and call ops in bare-ptr calling convention

This patch adds support for the 'return' and 'call' ops to the bare-ptr
calling convention. These changes also align the bare-ptr calling
convention code with the latest changes in the default calling convention
and reduce the amount of customization code needed.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D87724
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir (diff)
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h (diff)
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp (diff)
Commit 0527c8749b90cc742077ae9b3def80efde721090 by spatel
[InstCombine] ease alignment restriction for converting masked load to normal load

I think we initially made this fold conservative to be safer, but we do not
need the alignment attribute/metadata limitation because the masked load
intrinsic itself specifies the alignment. A normal vector load is better for
IR transforms and should be no worse in codegen than the masked alternative.
If it is worse for some target, the backend can reverse this transform.

Differential Revision: https://reviews.llvm.org/D88505
The file was modifiedllvm/test/Transforms/InstCombine/masked_intrinsics.ll (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)
Commit d689a64edd568e3048eb33976aa148251614d510 by Louis Dionne
[libc++][ci] Add a script to describe when to trigger libc++ CI builds
The file was addedlibcxx/utils/ci/buildkite-pipeline-trigger.sh
Commit b1e78509678814de6684db3f7498d016f07a3d54 by Louis Dionne
[libc++][ci] Improve the phabricator-report script

- Detect whether a build has passed more accurately
- Retry pushing the status to Phabricator
- Allow running on a non-review branch
The file was modifiedlibcxx/utils/ci/phabricator-report (diff)
Commit 5d19eb542db40fc5fe9f37c46246785ba5ae1e10 by davelee.com
[lldb/docs] Remove manual codesigning documentation

The `macos-setup-codesign.sh` script has been in place for over two years. If there are no known issues, it's a good time to drop the manual steps from the docs.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D88257
The file was modifiedlldb/docs/resources/build.rst (diff)
Commit d94253b52eb1ccf08daaa281488b3903396ca9b9 by Louis Dionne
[libc++][ci] Turn on Phabricator reporting by default
The file was modifiedlibcxx/utils/ci/run-buildbot.sh (diff)
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml (diff)
Commit 92e1ebeaa1fe0e5461327d071c55167733834e60 by walter erquinigo
[trace] Fix destructor declaration

The destructor must be defined in the implementation class so that it
can be called, as Vedant Kumar pointed out in:

'''
What were your thoughts, re:

+class Trace : public PluginInterface {
+public:
+  ~Trace() override = default;

   Does this need to be `virtual ~Trace() = ...`?

      Otherwise, when a std::shared_ptr<Trace> is destroyed, the
      destructor for the derived TraceIntelPT instance won't run.
'''
The file was modifiedlldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h (diff)
The file was modifiedlldb/include/lldb/Target/Trace.h (diff)
Commit eff9984dca033af2727ff90e22fbfb3af4ce7d4c by joker.eph
Fix TODO in the mlir-cpu-runner/bare_ptr_call_conv.mlir test: call ops in bare-ptr calling convention is supported now (NFC)

This was fixed in a89fc12653c.
The file was modifiedmlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir (diff)
Commit d0667562e127925fb845124302ae31f10b3a849d by Louis Dionne
[libc++] Fix some test failures in unusual configurations
The file was modifiedlibcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp (diff)
The file was modifiedlibcxxabi/test/incomplete_type.sh.cpp (diff)
Commit 3c7070f1a6b89277fce042a943cd83fa65507a67 by Jonas Devlieghere
[lldb] Hoist --server argument out of LLDB_TEST_COMMON_ARGS (NFC)

Give the server argument its own variable (LLDB_TEST_SERVER) so that we
can configure it in lit.site.cfg.py if we so desire.
The file was modifiedlldb/test/API/CMakeLists.txt (diff)
The file was modifiedlldb/test/API/lit.cfg.py (diff)
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in (diff)
The file was modifiedlldb/test/API/lit.site.cfg.py.in (diff)
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt (diff)
Commit f9e70fa546a461b3c9fa8463efcd9f7fe989bd9f by Louis Dionne
[libc++] Rename the -fno-rtti Lit feature to just no-rtti

This is consistent to the way we name other Lit features, and it removes
the possibility for confusing the Lit feature with the actual compiler
flag.
The file was modifiedlibcxx/test/std/language.support/support.rtti/type.info/type_info_hash.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.members/ctor.pass.cpp (diff)
The file was modifiedlibcxx/test/std/language.support/support.rtti/type.info/type_info.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.unmerged.sh.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.observers/type.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.overview/copy_ctor.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.getdeleter/get_deleter.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.members/lt.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.overview/copy_assign.pass.cpp (diff)
The file was modifiedlibcxx/test/support/test.support/test_macros_header.no_rtti.verify.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.members/eq.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.hash/hash.pass.cpp (diff)
The file was modifiedlibcxx/test/support/test.support/test_macros_header.rtti.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.merged.sh.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.members/hash_code.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.members/name.pass.cpp (diff)
The file was modifiedlibcxxabi/test/incomplete_type.sh.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.synopsis/hash_type_index.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp (diff)
The file was modifiedlibcxx/utils/libcxx/test/params.py (diff)
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.targ/target_type.pass.cpp (diff)
Commit 538762fef0b662048be2a261ebc12da249efa977 by aaron
Better diagnostics for anonymous bit-fields with attributes or an initializer.

The current C++ grammar allows an anonymous bit-field with an attribute,
but this is ambiguous (the attribute in that case could appertain to the
type instead of the bit-field). The current thinking in the Core Working
Group is that it's better to disallow attributes in that position at the
grammar level so that the ambiguity resolves in favor of applying to the
type.

During discussions about the behavior of the attribute, the Core Working
Group also felt it was better to disallow anonymous bit-fields from
specifying a default member initializer.

This implements both sets of related grammar changes.
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp (diff)
The file was modifiedclang/test/Parser/MicrosoftExtensions.cpp (diff)
The file was modifiedclang/lib/Parse/ParseDecl.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/test/Parser/c2x-attributes.c (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was addedclang/test/CXX/class/class.bit/p1.cpp
Commit 155d2d5300551c6ac26eaeef259d73d62f939d0b by Chris.Hamilton
Revert "[Sema] Address-space sensitive check for unbounded arrays (v2)"

This reverts commit d9ee935679e7164d1c47e351bbbcf5c25742b59c.
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/test/SemaCXX/constant-expression-cxx1y.cpp (diff)
The file was removedclang/test/Sema/unbounded-array-bounds.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp (diff)
The file was modifiedclang/test/Sema/const-eval.c (diff)
Commit 01a30fa6787d8375e1df573150f9927561b0a0f1 by n.james93
[clangd] Trivial setter support when moving items to fields

Extend the Trivial setter documentation to support cases where the value is moved into a field using `std::move`.

Reviewed By: sammccall, kadircet

Differential Revision: https://reviews.llvm.org/D88297
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/Hover.cpp (diff)
Commit f0506e4923cdbd2b53258bc6c3a2b6bc62c8ccc3 by timshen
[MLIR] Avoid adding debuginfo for a function if it contains calls that has no debug info.

Also add a verifier pass to ExecutionEngine.

It's hard to come up with a test case, since mlir-opt always add location info after parsing it (?)

Differential Revision: https://reviews.llvm.org/D88135
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp (diff)
The file was modifiedmlir/lib/Target/LLVMIR/DebugTranslation.cpp (diff)
The file was modifiedmlir/test/Target/llvmir-debug.mlir (diff)
Commit 6b70a83d9cc0ec17aa4bc199081c0a51e65be6dd by epastor
[ms] [llvm-ml] Add support for .radix directive, and accept all radix specifiers

Add support for .radix directive, and radix specifiers [yY] (binary), [oOqQ] (octal), and [tT] (decimal).

Also, when lexing MASM integers, require radix specifier; MASM requires that all literals without a radix specifier be treated as in the default radix. (e.g., 0100 = 100)

Relanding D87400, now with fewer ms-inline-asm tests broken!

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D88337
The file was addedllvm/test/tools/llvm-ml/radix.test
The file was modifiedllvm/include/llvm/MC/MCParser/MCAsmLexer.h (diff)
The file was addedllvm/test/tools/llvm-ml/radix_errors.test
The file was modifiedllvm/tools/llvm-ml/llvm-ml.cpp (diff)
The file was modifiedllvm/lib/MC/MCParser/COFFMasmParser.cpp (diff)
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp (diff)
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp (diff)
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp (diff)
Commit c65e9e71eb7612b297a8bfd3e74759d55cfc7bf4 by epastor
[ms] [llvm-ml] Add MASM hex float support

Implement MASM's syntax for specifying floats in raw hexadecimal bytes.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D87401
The file was modifiedllvm/tools/llvm-mc/llvm-mc.cpp (diff)
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp (diff)
The file was modifiedllvm/test/tools/llvm-ml/builtin_types.test (diff)
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp (diff)
The file was modifiedllvm/tools/llvm-ml/llvm-ml.cpp (diff)
The file was modifiedllvm/include/llvm/MC/MCParser/MCAsmLexer.h (diff)
Commit fdd23a35422ca133410c6b066ea191f426267c46 by epastor
[ms] [llvm-ml] Add REAL10 support (x87 extended precision)

Add MASM support for 80-bit reals in the x87 extended precision format.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D87402
The file was modifiedllvm/include/llvm/MC/MCStreamer.h (diff)
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp (diff)
The file was modifiedllvm/test/tools/llvm-ml/type_operators.test (diff)
The file was modifiedllvm/lib/MC/MCStreamer.cpp (diff)
The file was modifiedllvm/test/tools/llvm-ml/builtin_types.test (diff)
Commit 0548d1ca24b72d28e50fbd8a456b1fd36beacb07 by epastor
[ms] [llvm-ml] Add support for "alias" directive

Support the "alias" directive.

Required support for emitWeakReference in MCWinCOFFStreamer.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D87403
The file was addedllvm/test/tools/llvm-ml/alias_errors.test
The file was addedllvm/test/tools/llvm-ml/alias.test
The file was modifiedllvm/include/llvm/MC/MCWinCOFFStreamer.h (diff)
The file was modifiedllvm/lib/MC/MCWinCOFFStreamer.cpp (diff)
The file was modifiedllvm/test/tools/llvm-ml/proc.test (diff)
The file was modifiedllvm/test/tools/llvm-ml/proc_frame.test (diff)
The file was modifiedllvm/lib/MC/MCParser/COFFMasmParser.cpp (diff)
Commit feb74530f86516de211d8b91eab426fc39d1b3e8 by epastor
[ms] [llvm-ml] Accept whitespace around the dot operator

MASM allows arbitrary whitespace around the Intel dot operator, especially when used for struct field lookup

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D88450
The file was modifiedllvm/test/tools/llvm-ml/struct.test (diff)
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp (diff)
The file was addedllvm/test/tools/llvm-ml/dot_operator.test
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp (diff)
Commit 13f701b99ca1e0786258ef05b0439d4893aac8cb by epastor
[ms] [llvm-ml] Create the @feat.00 symbol, and populate it appropriately

@feat.00 is a bitfield read by Microsoft-style linkers, and is required to signal (e.g.) /safeseh support on 32-bit systems.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D88451
The file was modifiedllvm/tools/llvm-ml/llvm-ml.cpp (diff)
The file was addedllvm/test/tools/llvm-ml/feat00.test
The file was addedllvm/test/tools/llvm-ml/feat00_override.test
Commit 80381c4dc92572f54774041f0ad6786112360738 by mcinally
[SVE] Lower fixed length VECREDUCE_[FMAX|FMIN] to Scalable

Differential Revision: https://reviews.llvm.org/D88444
The file was addedllvm/test/CodeGen/AArch64/sve-fixed-length-fp-reduce.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
Commit b5543063e1bfd6195a2d34d2c892466c0050e08a by llvm-project
[flang][msvc] Define implicit conversion from UnsignedInt128 to int64_t.

The custom implementation of UnsignedInt128 has an implicit conversion operator to unit64_t, but not int64_t. Considering that the former is already truncating, and C++ implicitly converts uint64_t to int64_t, UnsignedInt128  should also support an implicit conversion to int64_t. An analogous conversion would be from uint32_t to int16_t.

Without the conversion operator overload, the msvc emits the following error:
```
descriptor-io.h(44): error C2440: 'static_cast': cannot convert from 'A' to 'int64_t'
        with
        [
            A=Fortran::common::uint128_t
        ]
```

This patch is part of the series to make flang compilable with MS Visual Studio <http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html>.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D88509
The file was modifiedflang/include/flang/Common/uint128.h (diff)
Commit bcd05599d0e53977a963799d6ee4f6e0bc21331b by llvm-project
[flang][msvc] Define access flags under Windows. NFC.

The flags F_OK, R_OK and W_OK are defined in unistd.h, which does not exist under the Windows platform. Windows still defines the `access` function. Its access flags are documented at https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess. For compatibility, define the flags F_OK, R_OK and W_OK using these constants.

This patch is part of the series to make flang compilable with MS Visual Studio <http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html>.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D88508
The file was modifiedflang/runtime/file.cpp (diff)
Commit d256797c9035aebf0309489c04dc34f8bae49dc4 by jonchesterfield
[nfc][libomptarget] Drop parameter to named_sync

[nfc][libomptarget] Drop parameter to named_sync

named_sync has one call site (in sync.cu) where it always passed L1_BARRIER.
Folding this into the call site and dropping the macro is a simplification.

amdgpu doesn't have ptx' bar.sync instruction. A correct implementation of
__kmpc_impl_named_sync in terms of shared memory is much easier if it can
assume that the barrier argument is this constant. Said implementation is left
for a second patch.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D88474
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h (diff)
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h (diff)
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/sync.cu (diff)