SuccessChanges

Summary

  1. [libc][NFC] add includes for internal headers to all libc functions (details)
  2. Never call a destroying operator delete when cleaning up from an (details)
  3. [AMDGPU] Add volatile support to SIMemoryLegalizer (details)
  4. [X86] Remove IntrArgMemOnly from ldmxcsr intrinsic. (details)
  5. [clangd][NFC] Remove unnecessary copy in CodeComplete (details)
  6. [RISCV] Optimize multiplication with constant (details)
  7. [Target, Transforms] Use *Set::contains (NFC) (details)
  8. [Tablegen] Use llvm::find_if (NFC) (details)
  9. [SCEV] Remove unused getExactExistingExpansion (NFC) (details)
  10. [DWARFLinker] Print the unsupport DWARF form as part of the warning (details)
  11. [debugserver] Various plist changes (details)
  12. [DWARFLinker] Link against BinaryFormat (details)
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/truncf.cpp
The file was modifiedlibc/src/threads/linux/call_once.cpp
The file was modifiedlibc/src/math/frexpf.cpp
The file was modifiedlibc/src/fenv/fetestexcept.cpp
The file was modifiedlibc/src/math/roundl.cpp
The file was modifiedlibc/src/math/llround.cpp
The file was modifiedlibc/src/__support/common.h.def
The file was modifiedlibc/src/math/nextafter.cpp
The file was modifiedlibc/src/math/modff.cpp
The file was modifiedlibc/src/math/nextafterl.cpp
The file was modifiedlibc/src/math/fminl.cpp
The file was modifiedlibc/src/math/fminf.cpp
The file was modifiedlibc/src/math/rintf.cpp
The file was modifiedlibc/src/math/ceill.cpp
The file was modifiedlibc/src/math/llroundl.cpp
The file was modifiedlibc/src/math/round.cpp
The file was modifiedlibc/src/math/llrintf.cpp
The file was modifiedlibc/src/math/remquol.cpp
The file was modifiedlibc/src/fenv/feclearexcept.cpp
The file was modifiedlibc/src/math/lround.cpp
The file was modifiedlibc/src/math/lrintl.cpp
The file was modifiedlibc/src/math/copysign.cpp
The file was modifiedlibc/src/threads/linux/mtx_unlock.cpp
The file was modifiedlibc/src/threads/linux/thrd_join.cpp
The file was modifiedlibc/src/math/fmin.cpp
The file was modifiedlibc/src/math/logb.cpp
The file was modifiedlibc/src/math/roundf.cpp
The file was modifiedlibc/src/math/sinf.cpp
The file was modifiedlibc/src/math/ilogbf.cpp
The file was modifiedlibc/src/math/llrintl.cpp
The file was modifiedlibc/src/math/llrint.cpp
The file was modifiedlibc/src/math/lroundf.cpp
The file was modifiedlibc/src/math/floorf.cpp
The file was modifiedlibc/src/math/ldexpf.cpp
The file was modifiedlibc/src/math/sqrt.cpp
The file was modifiedlibc/src/math/remainderl.cpp
The file was modifiedlibc/src/math/nearbyintf.cpp
The file was modifiedlibc/src/math/sincosf.cpp
The file was modifiedlibc/src/math/copysignf.cpp
The file was modifiedlibc/src/math/expf.cpp
The file was modifiedlibc/src/math/fmaxl.cpp
The file was modifiedlibc/src/math/logbf.cpp
The file was modifiedlibc/src/math/rint.cpp
The file was modifiedlibc/src/math/llroundf.cpp
The file was modifiedlibc/src/math/floor.cpp
The file was modifiedlibc/src/math/nextafterf.cpp
The file was modifiedlibc/src/math/fmax.cpp
The file was modifiedlibc/src/math/exp2f.cpp
The file was modifiedlibc/src/math/remquof.cpp
The file was modifiedlibc/src/math/fabs.cpp
The file was modifiedlibc/src/math/lroundl.cpp
The file was modifiedlibc/src/math/sqrtl.cpp
The file was modifiedlibc/src/math/fdimf.cpp
The file was modifiedlibc/src/threads/linux/thrd_create.cpp
The file was modifiedlibc/src/fenv/feraiseexcept.cpp
The file was modifiedlibc/src/math/ilogb.cpp
The file was modifiedlibc/src/math/fmaxf.cpp
The file was modifiedlibc/src/math/logbl.cpp
The file was modifiedlibc/src/math/nearbyintl.cpp
The file was modifiedlibc/src/math/hypotf.cpp
The file was modifiedlibc/src/math/lrintf.cpp
The file was modifiedlibc/src/math/modf.cpp
The file was modifiedlibc/src/math/fdiml.cpp
The file was modifiedlibc/src/math/fabsf.cpp
The file was modifiedlibc/src/math/nearbyint.cpp
The file was modifiedlibc/src/math/fmaf.cpp
The file was modifiedlibc/src/math/floorl.cpp
The file was modifiedlibc/src/math/exp_utils.cpp
The file was modifiedlibc/src/math/fabsl.cpp
The file was modifiedlibc/src/math/ldexpl.cpp
The file was modifiedlibc/src/math/remainder.cpp
The file was modifiedlibc/src/math/modfl.cpp
The file was modifiedlibc/src/math/remainderf.cpp
The file was modifiedlibc/src/math/ldexp.cpp
The file was modifiedlibc/src/math/rintl.cpp
The file was modifiedlibc/src/math/copysignl.cpp
The file was modifiedlibc/src/math/fdim.cpp
The file was modifiedlibc/src/math/remquo.cpp
The file was modifiedlibc/src/math/cosf.cpp
The file was modifiedlibc/src/math/lrint.cpp
The file was modifiedlibc/src/math/truncl.cpp
The file was modifiedlibc/src/fenv/fesetround.cpp
The file was modifiedlibc/src/math/frexpl.cpp
The file was modifiedlibc/src/math/sqrtf.cpp
The file was modifiedlibc/src/threads/linux/mtx_lock.cpp
The file was modifiedlibc/src/math/ilogbl.cpp
The file was modifiedlibc/src/math/trunc.cpp
The file was modifiedlibc/src/fenv/fegetround.cpp
The file was modifiedlibc/src/math/ceil.cpp
The file was modifiedlibc/src/math/ceilf.cpp
The file was modifiedlibc/src/math/math_utils.cpp
The file was modifiedlibc/src/math/frexp.cpp
The file was modifiedlibc/src/math/hypot.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/test/SemaCXX/cxx2a-destroying-delete.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/CodeGenCXX/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/GlobalISel/insertelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_madak_f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_mac.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.trig.preop.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-private-volatile.ll
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fma-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/function-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/madmk.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-realign-kernel.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn-ieee.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds-sub-offset.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sub.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/infinite-loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/private-access-no-objects.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/image-load-d16-tfe.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/expand-scalar-carry-out-select-user.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/byval-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-address-space.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sign_extend.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix-hi.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.scale.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/commute_modifiers.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/madak.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-flat-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/copy-illegal-type.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extload-private.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-asm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/bool-legalization.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.private.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-global-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/chain-hi-to-lo.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/flat-scratch.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2st64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/imm16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.shared.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fmax3.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-local-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/non-entry-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-realign.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx908.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/multilevel-break.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-extract-insert.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-combines.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rsq.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/CodeGen/RegAllocPBQP.cpp
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
The file was modifiedllvm/lib/Analysis/DomTreeUpdater.cpp
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMacroFusion.cpp
The file was modifiedllvm/lib/CodeGen/LexicalScopes.cpp
Commit 1c5b8482b7a212f2225bbfe122d39fb970bd176e by kazu
[Tablegen] Use llvm::find_if (NFC)
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
The file was modifiedllvm/utils/TableGen/DirectiveEmitter.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/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
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 removedlldb/tools/debugserver/source/debugserver-macosx-entitlements.plist
The file was addedlldb/tools/debugserver/resources/debugserver-macosx-entitlements.plist
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
The file was removedlldb/tools/debugserver/debugnub-exports
The file was addedlldb/tools/debugserver/resources/debugserver-macosx-private-entitlements.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.posix.internal.plist
The file was removedlldb/tools/debugserver/source/com.apple.internal.xpc.remote.debugserver.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.internal.plist
The file was removedlldb/tools/debugserver/source/debugserver-entitlements.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.applist.internal.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.applist.plist
The file was removedlldb/tools/debugserver/source/com.apple.debugserver.plist
Commit 04359eece132d5406be24cddd0df55b0b9bffdc1 by Jonas Devlieghere
[DWARFLinker] Link against BinaryFormat
The file was modifiedllvm/lib/DWARFLinker/CMakeLists.txt