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)
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/fmaxf.cpp
The file was modifiedlibc/src/math/copysign.cpp
The file was modifiedlibc/src/math/remainderf.cpp
The file was modifiedlibc/src/math/fdim.cpp
The file was modifiedlibc/src/math/ilogb.cpp
The file was modifiedlibc/src/math/logbf.cpp
The file was modifiedlibc/src/math/roundl.cpp
The file was modifiedlibc/src/fenv/fetestexcept.cpp
The file was modifiedlibc/src/math/hypot.cpp
The file was modifiedlibc/src/__support/common.h.def
The file was modifiedlibc/src/math/ceilf.cpp
The file was modifiedlibc/src/math/lroundl.cpp
The file was modifiedlibc/src/math/copysignf.cpp
The file was modifiedlibc/src/math/ilogbl.cpp
The file was modifiedlibc/src/math/nextafter.cpp
The file was modifiedlibc/src/math/remainderl.cpp
The file was modifiedlibc/src/threads/linux/mtx_lock.cpp
The file was modifiedlibc/src/math/nearbyintl.cpp
The file was modifiedlibc/src/math/llroundf.cpp
The file was modifiedlibc/src/math/sqrt.cpp
The file was modifiedlibc/src/math/fmaxl.cpp
The file was modifiedlibc/src/math/round.cpp
The file was modifiedlibc/src/math/fdimf.cpp
The file was modifiedlibc/src/math/logbl.cpp
The file was modifiedlibc/src/math/modf.cpp
The file was modifiedlibc/src/math/roundf.cpp
The file was modifiedlibc/src/math/sqrtf.cpp
The file was modifiedlibc/src/threads/linux/call_once.cpp
The file was modifiedlibc/src/math/ceill.cpp
The file was modifiedlibc/src/math/lroundf.cpp
The file was modifiedlibc/src/math/lrintf.cpp
The file was modifiedlibc/src/math/ilogbf.cpp
The file was modifiedlibc/src/fenv/feraiseexcept.cpp
The file was modifiedlibc/src/math/truncl.cpp
The file was modifiedlibc/src/math/rintf.cpp
The file was modifiedlibc/src/math/expf.cpp
The file was modifiedlibc/src/fenv/feclearexcept.cpp
The file was modifiedlibc/src/math/fabsf.cpp
The file was modifiedlibc/src/math/lrint.cpp
The file was modifiedlibc/src/math/fminf.cpp
The file was modifiedlibc/src/math/fabs.cpp
The file was modifiedlibc/src/math/floor.cpp
The file was modifiedlibc/src/math/ldexpf.cpp
The file was modifiedlibc/src/math/modff.cpp
The file was modifiedlibc/src/math/frexp.cpp
The file was modifiedlibc/src/math/fabsl.cpp
The file was modifiedlibc/src/math/frexpl.cpp
The file was modifiedlibc/src/threads/linux/thrd_join.cpp
The file was modifiedlibc/src/math/exp_utils.cpp
The file was modifiedlibc/src/math/rint.cpp
The file was modifiedlibc/src/math/fdiml.cpp
The file was modifiedlibc/src/math/sinf.cpp
The file was modifiedlibc/src/math/remainder.cpp
The file was modifiedlibc/src/math/copysignl.cpp
The file was modifiedlibc/src/math/llrint.cpp
The file was modifiedlibc/src/math/ldexp.cpp
The file was modifiedlibc/src/math/lround.cpp
The file was modifiedlibc/src/math/lrintl.cpp
The file was modifiedlibc/src/math/exp2f.cpp
The file was modifiedlibc/src/threads/linux/mtx_unlock.cpp
The file was modifiedlibc/src/math/trunc.cpp
The file was modifiedlibc/src/math/modfl.cpp
The file was modifiedlibc/src/math/ceil.cpp
The file was modifiedlibc/src/math/hypotf.cpp
The file was modifiedlibc/src/math/fminl.cpp
The file was modifiedlibc/src/math/llrintl.cpp
The file was modifiedlibc/src/threads/linux/mtx_init.cpp
The file was modifiedlibc/src/math/frexpf.cpp
The file was modifiedlibc/src/math/nearbyintf.cpp
The file was modifiedlibc/src/math/nextafterl.cpp
The file was modifiedlibc/src/fenv/fesetround.cpp
The file was modifiedlibc/src/math/rintl.cpp
The file was modifiedlibc/src/math/remquo.cpp
The file was modifiedlibc/src/math/fmin.cpp
The file was modifiedlibc/src/math/llrintf.cpp
The file was modifiedlibc/src/math/sqrtl.cpp
The file was modifiedlibc/src/math/nearbyint.cpp
The file was modifiedlibc/src/threads/linux/thrd_create.cpp
The file was modifiedlibc/src/math/floorl.cpp
The file was modifiedlibc/src/math/fmaf.cpp
The file was modifiedlibc/src/math/cosf.cpp
The file was modifiedlibc/src/math/fmax.cpp
The file was modifiedlibc/src/math/llroundl.cpp
The file was modifiedlibc/src/math/logb.cpp
The file was modifiedlibc/src/math/remquol.cpp
The file was modifiedlibc/src/math/ldexpl.cpp
The file was modifiedlibc/src/math/llround.cpp
The file was modifiedlibc/src/math/sincosf.cpp
The file was modifiedlibc/src/math/nextafterf.cpp
The file was modifiedlibc/src/math/truncf.cpp
The file was modifiedlibc/src/math/remquof.cpp
The file was modifiedlibc/src/math/floorf.cpp
The file was modifiedlibc/src/math/math_utils.cpp
The file was modifiedlibc/src/fenv/fegetround.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/SemaCXX/cxx2a-destroying-delete.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/commute_modifiers.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx908.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-private-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.minnum.f16.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/stack-realign.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-extract-insert.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.scale.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/copy-illegal-type.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fmax3.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix-hi.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-address-space.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_madak_f16.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-flat-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.private.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/GlobalISel/mubuf-global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.shared.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.trig.preop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2st64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/madak.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extload-private.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/image-load-d16-tfe.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/infinite-loop.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/amdgcn-ieee.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/madmk.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cc-update.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fma-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-local-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sub.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-asm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_mac.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds-sub-offset.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rsq.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/byval-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/non-entry-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/bool-legalization.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-realign-kernel.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/imm16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/private-access-no-objects.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sign_extend.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/non-entry-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/expand-scalar-carry-out-select-user.ll
The file was addedllvm/test/CodeGen/AMDGPU/memory-legalizer-global-volatile.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/multilevel-break.ll