AbortedChanges

Summary

  1. [mlir][PDL] Use ODS for defining PDL types (details)
  2. APINotes: annotate dump methods (NFC) (details)
  3. [compiler-rt] [sanitizer] Silence -Wframe-larger-than= for a few windows functions with large stack buffers (details)
  4. [Driver] Add DWARF64 flag: -gdwarf64 (details)
  5. [mlir:JitRunner] Use custom shared library init/destroy functions if available (details)
  6. Don't take the address of a temporary (details)
  7. [mlir] Add a hook for initializing passes before execution and use it in the Canonicalizer (details)
  8. [mlir][vector] generalized masked l/s and compressed l/s with indices (details)
  9. [mlir] AsyncRuntime: disable mlir-runner init/disable for WIN32 (details)
  10. [libc++/abi] Re-remove unnecessary null pointer checks from operator delete (details)
  11. Re-enable __cpp_lib_constexpr_functional. (details)
  12. [libc++] Mark [P0475] "LWG2511: guaranteed copy elision for piecewise construction" as Complete. (details)
  13. [libc++] Mark [P0809] "LWG2831: Comparing Unordered Containers" as Nothing To Do. (details)
  14. [mlir][PassManager] Properly set the initialization generation when cloning a pass manager (details)
  15. [libc++] NFC: Document the Differential queries to avoid duplicating work (details)
  16. [InitLLVM] Ensure SIGPIPE handler installed before sigaction() (details)
  17. Attempt to complete an incomplete expression type when considering a (details)
  18. Update the maximum integer bitwidth in MLIR. (details)
  19. [NewPM] Run ObjC ARC passes (details)
  20. [lld-macho] Fix TLV data initialization (details)
  21. [libc] Switch to use a macro which does not insert a section for every libc function. (details)
  22. [libc][NFC] add includes for internal headers to all libc functions (details)
  23. Never call a destroying operator delete when cleaning up from an (details)
  24. [AMDGPU] Add volatile support to SIMemoryLegalizer (details)
  25. [X86] Remove IntrArgMemOnly from ldmxcsr intrinsic. (details)
  26. [clangd][NFC] Remove unnecessary copy in CodeComplete (details)
  27. [RISCV] Optimize multiplication with constant (details)
  28. [Target, Transforms] Use *Set::contains (NFC) (details)
  29. [Tablegen] Use llvm::find_if (NFC) (details)
  30. [SCEV] Remove unused getExactExistingExpansion (NFC) (details)
  31. [DWARFLinker] Print the unsupport DWARF form as part of the warning (details)
  32. [debugserver] Various plist changes (details)
  33. [DWARFLinker] Link against BinaryFormat (details)
Commit e45840f4af46df0f8be92790b45f9432cf8ba19e by riddleriver
[mlir][PDL] Use ODS for defining PDL types

This removes the need to define these classes and their parser/printers in C++.

Differential Revision: https://reviews.llvm.org/D94135
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLOps.td
The file was addedmlir/include/mlir/Dialect/PDL/IR/PDLOps.h
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PredicateTree.h
The file was modifiedmlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDL.h
The file was removedmlir/include/mlir/Dialect/PDL/IR/PDLBase.td
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/lib/Rewrite/FrozenRewritePatternList.cpp
The file was modifiedmlir/include/mlir/Dialect/PDL/IR/PDLTypes.h
The file was modifiedmlir/include/mlir/Dialect/PDLInterp/IR/PDLInterp.h
The file was addedmlir/include/mlir/Dialect/PDL/IR/PDLDialect.td
The file was addedmlir/include/mlir/Dialect/PDL/IR/PDLTypes.td
Commit 16fdc5da89068f646c153c6bd6c493b1d666bfbf by Saleem Abdulrasool
APINotes: annotate dump methods (NFC)

This annotates the dump methods in APINotes to indicate that they are
unused as they are meant for debugging purposes.  This avoids an
unnecessary warning.
The file was modifiedclang/lib/APINotes/APINotesTypes.cpp
Commit ffac9001d987096537b94ed7a1e4e4a4665d571f by martin
[compiler-rt] [sanitizer] Silence -Wframe-larger-than= for a few windows functions with large stack buffers

Also update a documentation url while touching code nearby, as
requested in review.

Differential Revision: https://reviews.llvm.org/D91853
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_unwind_win.cpp
Commit 0e23fd676c3984a2b867c167950464262c8e0dc6 by hoy
[Driver] Add DWARF64 flag: -gdwarf64

@ikudrin enabled support for dwarf64 in D87011.  Adding a clang flag so it can be used through that compilation pass.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D90507
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Driver/debug-options.c
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
Commit 1fc986427ba32384a03286472d3c04b37420ad73 by ezhulenev
[mlir:JitRunner] Use custom shared library init/destroy functions if available

Use custom mlir runner init/destroy functions to safely init and destroy shared libraries loaded by the JitRunner.

This mechanism is ignored for Windows builds (for now) because init/destroy functions are not exported, and library unloading relies on static destructors.

Re-submit https://reviews.llvm.org/D94270 with a temporary workaround for windows

Differential Revision: https://reviews.llvm.org/D94312
The file was modifiedmlir/lib/ExecutionEngine/CMakeLists.txt
The file was modifiedmlir/lib/ExecutionEngine/JitRunner.cpp
The file was modifiedmlir/lib/ExecutionEngine/AsyncRuntime.cpp
Commit aa1943a2d167823e6d506895292477f79874dd20 by Adrian Prantl
Don't take the address of a temporary
The file was modifiedlldb/source/Core/ValueObject.cpp
Commit 1ba5ea67a30170053964a28f2f47aea4bb7f5ff1 by riddleriver
[mlir] Add a hook for initializing passes before execution and use it in the Canonicalizer

This revision adds a new `initialize(MLIRContext *)` hook to passes that allows for them to initialize any heavy state before the first execution of the pass. A concrete use case of this is with patterns that rely on PDL, given that PDL is compiled at run time it is imperative that compilation results are cached as much as possible. The first use of this hook is in the Canonicalizer, which has the added benefit of reducing the number of expensive accesses to the context when collecting patterns.

Differential Revision: https://reviews.llvm.org/D93147
The file was modifiedmlir/docs/PassManagement.md
The file was modifiedmlir/lib/Pass/Pass.cpp
The file was modifiedmlir/lib/Transforms/Canonicalizer.cpp
The file was modifiedmlir/include/mlir/Pass/PassManager.h
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/lib/Pass/PassDetail.h
Commit a57def30f53990aafc3f64b9b7a0f60916cc7f61 by ajcbik
[mlir][vector] generalized masked l/s and compressed l/s with indices

Adding the ability to index the base address brings these operations closer
to the transfer read and write semantics (with lowering advantages), ensures
more consistent use in vector MLIR code (easier to read), and reduces the
amount of code duplication to lower memrefs into base addresses considerably
(making codegen less error-prone).

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D94278
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/Dialect/Vector/vector-transforms.mlir
The file was modifiedmlir/integration_test/Dialect/Vector/CPU/test-maskedstore.mlir
The file was modifiedmlir/test/Dialect/Vector/vector-mem-transforms.mlir
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp
The file was modifiedmlir/integration_test/Dialect/Vector/CPU/test-maskedload.mlir
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/integration_test/Dialect/Vector/CPU/test-compress.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/integration_test/Dialect/Vector/CPU/test-expand.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
Commit 78b3bce23b113ab5dbd33d746ba48f2a3c20c5ff by ezhulenev
[mlir] AsyncRuntime: disable mlir-runner init/disable for WIN32

Differential Revision: https://reviews.llvm.org/D94339
The file was modifiedmlir/lib/ExecutionEngine/AsyncRuntime.cpp
Commit bc556e5685c0f97e79fb7b3c6f15cc5062db8e36 by Louis Dionne
[libc++/abi] Re-remove unnecessary null pointer checks from operator delete

In 7cd67904f776, we removed the unnecessary nullptr checks from the libc++abi
definition of operator delete, but we forgot to update the definition in
libc++ (damn code duplication!). Then, in d4a1e03c5fb5, I synced the
definitions across libc++ and libc++abi, but I did it the wrong way around.
I re-added the if() checks to libc++abi instead of removing them from libc++.

In ef74f0fdc339, we re-removed the if() check from operator delete, but
only in libc++abi. This patch corrects this mess and removes it
consistently in libc++ and libc++abi.

Differential Revision: https://reviews.llvm.org/D93473
The file was modifiedlibcxx/src/new.cpp
The file was modifiedlibcxxabi/src/stdlib_new_delete.cpp
Commit ca1694b9d07cf14dd15d804b37fa151f4e082c2f by arthur.j.odwyer
Re-enable __cpp_lib_constexpr_functional.

I accidentally disabled this feature-test macro in my D93830,
due to a rebasing conflict. It had been enabled by my D93815,
and should have remained enabled.
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
The file was modifiedlibcxx/docs/FeatureTestMacroTable.rst
The file was modifiedlibcxx/include/version
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/functional.version.pass.cpp
Commit 963b771e24caff502d6b5d9b2f72dd88dd56e97a by arthur.j.odwyer
[libc++] Mark [P0475] "LWG2511: guaranteed copy elision for piecewise construction" as Complete.

The point of LWG2511 is basically just to make sure that we use
`tuple<Args&&...>` instead of `tuple<Args...>` in a couple of places
inside `scoped_allocator_adaptor` and inside `pair`.
As far as I can tell, this has been true for libc++
since EricWF's D27612 (and maybe even earlier than that).
The file was modifiedlibcxx/docs/Cxx2aStatusPaperStatus.csv
Commit cdd7cbf7b56bf9e46914ee95c0658f543c7c14a9 by arthur.j.odwyer
[libc++] Mark [P0809] "LWG2831: Comparing Unordered Containers" as Nothing To Do.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0809r0.pdf

This issue/paper simply removed some library UB because vendors were
already doing the right thing. libc++ has always done the right thing
(in this respect).

Differential Revision: https://reviews.llvm.org/D93816
The file was modifiedlibcxx/docs/Cxx2aStatusPaperStatus.csv
Commit 77501bd1754fd15bc5044af78e987f894f494ee9 by riddleriver
[mlir][PassManager] Properly set the initialization generation when cloning a pass manager

Fixes a bug where dynamic pass pipelines of cloned pass managers weren't being initialized properly.
The file was modifiedmlir/lib/Pass/Pass.cpp
Commit d86e16e4bd5ed90f08e6e787785b485636a2184d by Louis Dionne
[libc++] NFC: Document the Differential queries to avoid duplicating work

Differential Revision: https://reviews.llvm.org/D94343
The file was modifiedlibcxx/docs/Contributing.rst
Commit e05baf40de8a3bbfcf4a765761b1147e94b7309c by Vedant Kumar
[InitLLVM] Ensure SIGPIPE handler installed before sigaction()

The pipe signal handler must be installed before any other handlers are
registered. This is because the Unix RegisterHandlers function does not
perform a sigaction() for SIGPIPE unless a one-shot handler is present,
to allow long-lived processes (like lldb) to fully opt-out of llvm's
SIGPIPE handling and ignore the signal safely.

Fixes a bug introduced in D70277.

Tested by running Nick's test case:

% xcrun ./bin/clang -E -fno-integrated-cc1 x.c | tee foo.txt | head

I verified that child cc1 process exits with IO_ERR, and that the parent
recognizes the error code, exiting cleanly.

Differential Revision: https://reviews.llvm.org/D94324
The file was modifiedllvm/include/llvm/Support/InitLLVM.h
The file was modifiedllvm/lib/Support/InitLLVM.cpp
The file was addedclang/test/Driver/sigpipe-handling.c
Commit 2bf6e443e54604c7818c4d1a1837f3d091023270 by richard
Attempt to complete an incomplete expression type when considering a
reference binding to an expression.

We need to know the array bound in order to determine whether the
parameter type is reference-compatible with the argument type, so we
need to trigger instantiation in this case.
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-static-var.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit bc8acf2ce8ad6e8c9b1d97b2e02d3f4ad26e1d9d by andrew
Update the maximum integer bitwidth in MLIR.

Large integers are generated in Circt commonly which exceed 4kbits.  This aligns the maximum bitwidth in MLIR and LLVM.

Reviewed By: rriddle, lattner, mehdi_amini

Differential Revision: https://reviews.llvm.org/D94116
The file was modifiedmlir/include/mlir/IR/BuiltinTypes.h
The file was modifiedmlir/test/IR/invalid-ops.mlir
Commit 756dd707668ccc1ac22b88d5899984843a5a3262 by aeubanks
[NewPM] Run ObjC ARC passes

Match the legacy PM in running various ObjC ARC passes.

This requires making some module passes into function passes. These were
initially ported as module passes since they add function declarations
(e.g. https://reviews.llvm.org/D86178), but that's still up for debate
and other passes do so.

Reviewed By: ahatanak

Differential Revision: https://reviews.llvm.org/D93743
The file was modifiedllvm/include/llvm/Transforms/ObjCARC.h
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
Commit daaaed6bb89044ac58a23f1bb1ccdd12342a5a58 by jezng
[lld-macho] Fix TLV data initialization

We were mishandling the case where both `__tbss` and `__thread_data` sections were
present.

TLVP relocations should be encoded as offsets from the start of `__thread_data`,
even if the symbol is actually located in `__thread_bss`. Previously, we were
writing the offset from the start of the containing section, which doesn't
really make sense since there's no way `tlv_get_addr()` can know which section a
given `tlv$init` symbol is in at runtime.

In addition, this patch ensures that we place `__thread_data` immediately before
`__thread_bss`. This is what ld64 does, likely for performance reasons. Zerofill
sections must also be at the end of their segments; we were already doing this,
but now we ensure that `__thread_bss` occurs before `__bss`, so that it's always
possible to have it contiguous with `__thread_data`.

Fixes llvm.org/PR48657.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D94329
The file was modifiedlld/MachO/InputSection.cpp
The file was modifiedlld/test/MachO/tlv.s
The file was modifiedlld/MachO/Writer.h
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/test/MachO/bss.s
The file was modifiedlld/MachO/InputSection.h
Commit a0b65a7bcd6065688189b3d678c42ed6af9603db by michaelrj
[libc] Switch to use a macro which does not insert a section for every libc function.

Summary:
The new macro also inserts the C alias for the C++ implementations
without needing an objcopy based post processing step. The CMake
rules have been updated to reflect this. More CMake cleanup can be
taken up in future rounds and appropriate TODOs have been added for them.

Reviewers: mcgrathr, sivachandra

Subscribers:
The file was modifiedlibc/src/string/strspn.cpp
The file was modifiedlibc/src/math/nearbyintl.cpp
The file was modifiedlibc/src/string/strchr.cpp
The file was modifiedlibc/src/math/hypotf.cpp
The file was modifiedlibc/src/string/memchr.cpp
The file was modifiedlibc/src/math/fabsl.cpp
The file was modifiedlibc/src/math/ldexp.cpp
The file was modifiedlibc/src/signal/linux/raise.cpp
The file was modifiedlibc/src/string/x86/memcpy.cpp
The file was modifiedlibc/src/string/strlen.cpp
The file was modifiedlibc/src/math/frexp.cpp
The file was modifiedlibc/src/math/rint.cpp
The file was modifiedlibc/src/string/strcspn.cpp
The file was modifiedlibc/src/threads/linux/mtx_unlock.cpp
The file was modifiedlibc/src/math/rintf.cpp
The file was modifiedlibc/src/string/strcmp.cpp
The file was modifiedlibc/src/math/floorl.cpp
The file was modifiedlibc/src/string/bzero.cpp
The file was modifiedlibc/src/math/lroundf.cpp
The file was modifiedlibc/src/math/fabs.cpp
The file was modifiedlibc/src/math/sinf.cpp
The file was modifiedlibc/src/math/logbl.cpp
The file was modifiedlibc/src/math/llroundl.cpp
The file was modifiedlibc/src/math/floor.cpp
The file was modifiedlibc/src/math/nextafterl.cpp
The file was modifiedlibc/src/math/remquo.cpp
The file was modifiedlibc/src/math/roundf.cpp
The file was modifiedlibc/src/signal/linux/signal.cpp
The file was modifiedlibc/src/math/copysign.cpp
The file was modifiedlibc/src/ctype/isblank.cpp
The file was modifiedlibc/src/math/lrintf.cpp
The file was modifiedlibc/src/math/ilogb.cpp
The file was modifiedlibc/src/stdlib/abs.cpp
The file was modifiedlibc/src/ctype/ispunct.cpp
The file was modifiedlibc/src/stdlib/linux/_Exit.cpp
The file was modifiedlibc/src/math/fmax.cpp
The file was modifiedlibc/src/ctype/isgraph.cpp
The file was modifiedlibc/src/signal/linux/sigemptyset.cpp
The file was modifiedlibc/src/math/ceill.cpp
The file was modifiedlibc/src/math/trunc.cpp
The file was modifiedlibc/src/stdlib/abort.cpp
The file was modifiedlibc/src/math/remainderf.cpp
The file was modifiedlibc/src/math/fminf.cpp
The file was modifiedlibc/src/math/frexpf.cpp
The file was modifiedlibc/src/math/sincosf.cpp
The file was modifiedlibc/src/math/hypot.cpp
The file was modifiedlibc/src/math/ilogbf.cpp
The file was modifiedlibc/src/ctype/isupper.cpp
The file was modifiedlibc/src/math/nextafterf.cpp
The file was modifiedlibc/src/math/rintl.cpp
The file was modifiedlibc/src/fenv/fetestexcept.cpp
The file was modifiedlibc/src/string/strstr.cpp
The file was modifiedlibc/src/ctype/isalpha.cpp
The file was modifiedlibc/src/string/strnlen.cpp
The file was modifiedlibc/src/ctype/toupper.cpp
The file was modifiedlibc/src/math/copysignf.cpp
The file was modifiedlibc/src/math/nearbyint.cpp
The file was modifiedlibc/src/sys/mman/linux/mmap.cpp
The file was modifiedlibc/src/unistd/linux/write.cpp
The file was modifiedlibc/src/fenv/feraiseexcept.cpp
The file was modifiedlibc/src/fenv/fegetround.cpp
The file was modifiedlibc/src/string/memrchr.cpp
The file was modifiedlibc/src/math/remquol.cpp
The file was modifiedlibc/src/math/round.cpp
The file was modifiedlibc/src/ctype/iscntrl.cpp
The file was modifiedlibc/src/threads/linux/thrd_create.cpp
The file was modifiedlibc/src/math/copysignl.cpp
The file was modifiedlibc/src/math/ldexpl.cpp
The file was modifiedlibc/src/ctype/isxdigit.cpp
The file was modifiedlibc/src/threads/linux/mtx_lock.cpp
The file was modifiedlibc/src/math/nextafter.cpp
The file was modifiedlibc/src/string/strtok_r.cpp
The file was modifiedlibc/cmake/modules/LLVMLibCObjectRules.cmake
The file was modifiedlibc/src/ctype/isalnum.cpp
The file was modifiedlibc/src/sys/mman/linux/munmap.cpp
The file was modifiedlibc/src/math/llroundf.cpp
The file was modifiedlibc/src/threads/linux/call_once.cpp
The file was modifiedlibc/src/ctype/isspace.cpp
The file was modifiedlibc/src/signal/linux/sigdelset.cpp
The file was modifiedlibc/src/math/truncf.cpp
The file was modifiedlibc/src/string/strtok.cpp
The file was modifiedlibc/src/math/truncl.cpp
The file was modifiedlibc/src/math/ilogbl.cpp
The file was modifiedlibc/src/string/memcpy.cpp
The file was modifiedlibc/src/math/fdim.cpp
The file was modifiedlibc/src/math/sqrt.cpp
The file was modifiedlibc/src/math/frexpl.cpp
The file was modifiedlibc/src/math/llrintl.cpp
The file was modifiedlibc/src/math/ceil.cpp
The file was modifiedlibc/src/__support/common.h.def
The file was modifiedlibc/src/string/strcat.cpp
The file was modifiedlibc/src/math/modf.cpp
The file was modifiedlibc/src/math/llround.cpp
The file was modifiedlibc/src/math/modfl.cpp
The file was modifiedlibc/src/math/exp2f.cpp
The file was modifiedlibc/src/math/fdiml.cpp
The file was modifiedlibc/src/math/llrintf.cpp
The file was modifiedlibc/src/math/lrintl.cpp
The file was modifiedlibc/src/signal/linux/sigaddset.cpp
The file was modifiedlibc/src/assert/__assert_fail.cpp
The file was modifiedlibc/src/math/expf.cpp
The file was modifiedlibc/src/ctype/tolower.cpp
The file was modifiedlibc/src/string/memset.cpp
The file was modifiedlibc/src/fenv/fesetround.cpp
The file was modifiedlibc/src/time/mktime.cpp
The file was modifiedlibc/src/string/memcmp.cpp
The file was modifiedlibc/src/signal/linux/sigfillset.cpp
The file was modifiedlibc/src/ctype/isprint.cpp
The file was modifiedlibc/src/math/remainderl.cpp
The file was modifiedlibc/src/stdlib/labs.cpp
The file was modifiedlibc/src/math/fmaf.cpp
The file was modifiedlibc/src/math/sqrtf.cpp
The file was modifiedlibc/src/math/lround.cpp
The file was modifiedlibc/src/math/ldexpf.cpp
The file was modifiedlibc/src/string/strcpy.cpp
The file was modifiedlibc/src/math/logbf.cpp
The file was modifiedlibc/src/signal/linux/sigaction.cpp
The file was modifiedlibc/src/math/llrint.cpp
The file was modifiedlibc/src/math/sqrtl.cpp
The file was modifiedlibc/src/stdlib/llabs.cpp
The file was modifiedlibc/src/ctype/isdigit.cpp
The file was modifiedlibc/src/math/lrint.cpp
The file was modifiedlibc/src/threads/linux/mtx_init.cpp
The file was modifiedlibc/src/math/fmaxf.cpp
The file was modifiedlibc/src/math/logb.cpp
The file was modifiedlibc/src/math/cosf.cpp
The file was modifiedlibc/src/math/remainder.cpp
The file was modifiedlibc/src/math/remquof.cpp
The file was modifiedlibc/src/string/strrchr.cpp
The file was modifiedlibc/src/fenv/feclearexcept.cpp
The file was modifiedlibc/src/math/fminl.cpp
The file was modifiedlibc/src/string/strncpy.cpp
The file was modifiedlibc/src/signal/linux/sigprocmask.cpp
The file was modifiedlibc/src/threads/linux/thrd_join.cpp
The file was modifiedlibc/src/math/ceilf.cpp
The file was modifiedlibc/src/math/fmin.cpp
The file was modifiedlibc/src/math/fmaxl.cpp
The file was modifiedlibc/src/math/modff.cpp
The file was modifiedlibc/src/ctype/islower.cpp
The file was modifiedlibc/src/math/fdimf.cpp
The file was modifiedlibc/src/math/lroundl.cpp
The file was modifiedlibc/src/errno/__errno_location.cpp
The file was modifiedlibc/src/math/fabsf.cpp
The file was modifiedlibc/src/math/roundl.cpp
The file was modifiedlibc/src/math/floorf.cpp
The file was modifiedlibc/src/math/nearbyintf.cpp
The file was modifiedlibc/src/string/strpbrk.cpp
Commit b02ca0969ea3f8147ae74d08e131f1bfe4f203d2 by michaelrj
[libc][NFC] add includes for internal headers to all libc functions

this will make sure that all of the functions are using the correct
prototypes. Explained much better in the comments of this diff:
https://reviews.llvm.org/D94195
The file was modifiedlibc/src/math/fminl.cpp
The file was modifiedlibc/src/math/cosf.cpp
The file was modifiedlibc/src/math/fminf.cpp
The file was modifiedlibc/src/math/logbl.cpp
The file was modifiedlibc/src/math/copysignl.cpp
The file was modifiedlibc/src/__support/common.h.def
The file was modifiedlibc/src/math/llround.cpp
The file was modifiedlibc/src/math/trunc.cpp
The file was modifiedlibc/src/math/remquo.cpp
The file was modifiedlibc/src/math/rintf.cpp
The file was modifiedlibc/src/threads/linux/thrd_join.cpp
The file was modifiedlibc/src/math/rint.cpp
The file was modifiedlibc/src/math/copysign.cpp
The file was modifiedlibc/src/math/ilogb.cpp
The file was modifiedlibc/src/math/lrintf.cpp
The file was modifiedlibc/src/math/lround.cpp
The file was modifiedlibc/src/math/nextafterl.cpp
The file was modifiedlibc/src/math/frexpf.cpp
The file was modifiedlibc/src/threads/linux/thrd_create.cpp
The file was modifiedlibc/src/math/fmaf.cpp
The file was modifiedlibc/src/threads/linux/mtx_unlock.cpp
The file was modifiedlibc/src/math/modf.cpp
The file was modifiedlibc/src/math/nearbyintl.cpp
The file was modifiedlibc/src/math/roundl.cpp
The file was modifiedlibc/src/math/exp_utils.cpp
The file was modifiedlibc/src/math/lrint.cpp
The file was modifiedlibc/src/math/remainder.cpp
The file was modifiedlibc/src/threads/linux/call_once.cpp
The file was modifiedlibc/src/math/llroundl.cpp
The file was modifiedlibc/src/math/sqrt.cpp
The file was modifiedlibc/src/math/logb.cpp
The file was modifiedlibc/src/math/floorl.cpp
The file was modifiedlibc/src/fenv/feclearexcept.cpp
The file was modifiedlibc/src/math/ilogbl.cpp
The file was modifiedlibc/src/math/remquof.cpp
The file was modifiedlibc/src/math/fabsf.cpp
The file was modifiedlibc/src/math/sqrtl.cpp
The file was modifiedlibc/src/math/fmaxl.cpp
The file was modifiedlibc/src/math/hypotf.cpp
The file was modifiedlibc/src/math/nextafterf.cpp
The file was modifiedlibc/src/math/remainderf.cpp
The file was modifiedlibc/src/math/ilogbf.cpp
The file was modifiedlibc/src/math/nearbyintf.cpp
The file was modifiedlibc/src/math/ldexp.cpp
The file was modifiedlibc/src/fenv/fetestexcept.cpp
The file was modifiedlibc/src/math/frexpl.cpp
The file was modifiedlibc/src/math/fmaxf.cpp
The file was modifiedlibc/src/threads/linux/mtx_lock.cpp
The file was modifiedlibc/src/math/ldexpf.cpp
The file was modifiedlibc/src/math/ceil.cpp
The file was modifiedlibc/src/math/roundf.cpp
The file was modifiedlibc/src/math/ceilf.cpp
The file was modifiedlibc/src/math/nextafter.cpp
The file was modifiedlibc/src/math/fdiml.cpp
The file was modifiedlibc/src/math/modfl.cpp
The file was modifiedlibc/src/math/floor.cpp
The file was modifiedlibc/src/math/frexp.cpp
The file was modifiedlibc/src/fenv/feraiseexcept.cpp
The file was modifiedlibc/src/math/llrintf.cpp
The file was modifiedlibc/src/math/exp2f.cpp
The file was modifiedlibc/src/math/fabsl.cpp
The file was modifiedlibc/src/math/fabs.cpp
The file was modifiedlibc/src/math/nearbyint.cpp
The file was modifiedlibc/src/math/fdimf.cpp
The file was modifiedlibc/src/math/rintl.cpp
The file was modifiedlibc/src/math/modff.cpp
The file was modifiedlibc/src/math/lrintl.cpp
The file was modifiedlibc/src/math/hypot.cpp
The file was modifiedlibc/src/math/lroundl.cpp
The file was modifiedlibc/src/fenv/fesetround.cpp
The file was modifiedlibc/src/math/fdim.cpp
The file was modifiedlibc/src/math/sincosf.cpp
The file was modifiedlibc/src/math/fmin.cpp
The file was modifiedlibc/src/math/truncl.cpp
The file was modifiedlibc/src/math/llrintl.cpp
The file was modifiedlibc/src/math/ceill.cpp
The file was modifiedlibc/src/math/lroundf.cpp
The file was modifiedlibc/src/math/floorf.cpp
The file was modifiedlibc/src/math/remquol.cpp
The file was modifiedlibc/src/math/ldexpl.cpp
The file was modifiedlibc/src/math/round.cpp
The file was modifiedlibc/src/math/llrint.cpp
The file was modifiedlibc/src/math/copysignf.cpp
The file was modifiedlibc/src/math/fmax.cpp
The file was modifiedlibc/src/math/expf.cpp
The file was modifiedlibc/src/math/llroundf.cpp
The file was modifiedlibc/src/math/remainderl.cpp
The file was modifiedlibc/src/math/sinf.cpp
The file was modifiedlibc/src/fenv/fegetround.cpp
The file was modifiedlibc/src/math/logbf.cpp
The file was modifiedlibc/src/math/sqrtf.cpp
The file was modifiedlibc/src/math/truncf.cpp
The file was modifiedlibc/src/math/math_utils.cpp
The file was modifiedlibc/src/threads/linux/mtx_init.cpp
Commit aab25fa7d853d6da960607310e2cd3e3a843d5a9 by richard
Never call a destroying operator delete when cleaning up from an
exception thrown during construction in a new-expression.

Instead, when performing deallocation function lookup for a
new-expression, ignore all destroying operator delete candidates, and
fall back to global operator delete if there is no member operator
delete other than a destroying operator delete.

Use of destroying operator delete only makes sense when there is an
object to destroy, which there isn't in this case. The language wording
doesn't cover this case; this oversight has been reported to WG21, with
the approach in this patch as the proposed fix.
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-destroying-delete.cpp
Commit 2f499b9affb6797253937eb60760a7d1b60716d7 by Tony.Tye
[AMDGPU] Add volatile support to SIMemoryLegalizer

Treat a non-atomic volatile load and store as a relaxed atomic at
system scope for the address spaces accessed. This will ensure all
relevant caches will be bypassed.

A volatile atomic is not changed and still only bypasses caches upto
the level specified by the SyncScope operand.

Differential Revision: https://reviews.llvm.org/D94214
The file was modifiedllvm/test/CodeGen/AMDGPU/commute_modifiers.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extload-private.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fma-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rsq.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sub.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn-ieee.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/expand-scalar-carry-out-select-user.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/bool-legalization.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/byval-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/imm16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/private-access-no-objects.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sign_extend.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/madak.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.scale.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds-sub-offset.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-realign-kernel.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/image-load-d16-tfe.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-global-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2st64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/madmk.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix-hi.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_mac.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/non-entry-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.private.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-hi16.ll
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedllvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-private-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-asm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_madak_f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-flat-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-address-space.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.shared.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.trig.preop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/multilevel-break.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx908.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-extract-insert.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-combines.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-local-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fmax3.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/copy-illegal-type.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extractelt-to-trunc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pkrtz.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/function-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/non-entry-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cc-update.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-realign.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/infinite-loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll
Commit 7d78875f93a95815640606fa86a9972386cc5d10 by craig.topper
[X86] Remove IntrArgMemOnly from ldmxcsr intrinsic.

Since we're leaving this as ReadWrite with the "write" reflecting
the update to MXCSR, we shouldn't say it only writes arg memory.

Hopefully this fixes the issue reported in post-commit in D93571.
The file was modifiedllvm/include/llvm/IR/IntrinsicsX86.td
Commit 467cbd2981840745a84dda07855c4e41501f6903 by n.james93
[clangd][NFC] Remove unnecessary copy in CodeComplete

All tests still pass with ASAN so fairly confident no use-after-free going on here.
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
Commit 55f0a1b06632688f08eb616fe02674cf2e666080 by powerman1st
[RISCV] Optimize multiplication with constant

1. Break MUL with specific constant to a SLLI and an ADD/SUB on riscv32
   with the M extension.
2. Break MUL with specific constant to two SLLI and an ADD/SUB, if the
   constant needs a pair of LUI/ADDI to construct.

Reviewed by: craig.topper

Differential Revision: https://reviews.llvm.org/D93619
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/mul.ll
Commit b7c5e0b02ccfd12b26432b2408a71d4c05902339 by kazu
[Target, Transforms] Use *Set::contains (NFC)
The file was modifiedllvm/lib/Target/PowerPC/PPCMacroFusion.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
The file was modifiedllvm/lib/Analysis/DomTreeUpdater.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp
The file was modifiedllvm/lib/CodeGen/LexicalScopes.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocPBQP.cpp
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
Commit 1c5b8482b7a212f2225bbfe122d39fb970bd176e by kazu
[Tablegen] Use llvm::find_if (NFC)
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
The file was modifiedllvm/utils/TableGen/DirectiveEmitter.cpp
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
Commit f62b93b9a250cf5449c05b8ca7da4c112ddc0458 by kazu
[SCEV] Remove unused getExactExistingExpansion (NFC)

The last use was removed on Sep 4, 2018 in commit
2cbba5633753552a984572c8b9a5997e5c96496d.
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Commit 7a204362f5c6cb97308be543f77ace8d8285ffef by Jonas Devlieghere
[DWARFLinker] Print the unsupport DWARF form as part of the warning
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp
Commit 272355128f48089a959215472b645628a48659f2 by Jonas Devlieghere
[debugserver] Various plist changes

- Remove unused plists that were referenced (but unused) by Xcode.
- Move all debugserver plists unders tools/debugserver/resources.
- Add the ability to distinguish between com.apple.security.cs.debugger
   and com.apple.private.cs.debugger.

rdar://66082043

Differential revision: https://reviews.llvm.org/D94320
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
The file was addedlldb/tools/debugserver/resources/debugserver-macosx-entitlements.plist
The file was addedlldb/tools/debugserver/resources/debugserver-macosx-private-entitlements.plist
The file was removedlldb/tools/debugserver/source/com.apple.internal.xpc.remote.debugserver.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.plist
The file was removedlldb/tools/debugserver/source/debugserver-macosx-entitlements.plist
The file was removedlldb/tools/debugserver/source/debugserver-entitlements.plist
The file was removedlldb/tools/debugserver/debugnub-exports
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.applist.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.internal.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.applist.internal.plist
The file was addedlldb/tools/debugserver/resources/debugserver-entitlements.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.posix.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.posix.internal.plist
Commit 04359eece132d5406be24cddd0df55b0b9bffdc1 by Jonas Devlieghere
[DWARFLinker] Link against BinaryFormat
The file was modifiedllvm/lib/DWARFLinker/CMakeLists.txt