Changes

Summary

  1. [AArch64][SVE] Add patterns to generate ADR instruction (details)
  2. [compiler-rt] [windows] Add more assembly patterns for interception (details)
  3. [Sanitizer] Allow setting the report path to create directory (details)
  4. [libc++abi] Remove unnecessary atomic_support.h header from libc++abi (details)
  5. [SamplePGO] Add switch to honor zero count on block level as accurate (details)
  6. [libcxx][AIX] Remove locale fallbacks for old OS levels (details)
  7. [DialectAsmPrinter] Add missing 'printAttributeWithoutType' member. (details)
  8. [Sanitizer] Modify test to avoid bot timeouts (details)
  9. [RISCV][NFC] Deleted useless lines in clang tests. (details)
  10. [NFC] Fix typo. (details)
  11. DebugInfo: Unify some printing policy adjustments (details)
  12. DebugInfo: Don't suppress inline namespaces when printing template template parameter names (details)
Commit 645b8f5365de49cbced4286f86e4a149c56600d3 by mnadeem
[AArch64][SVE] Add patterns to generate ADR instruction

Differential Revision: https://reviews.llvm.org/D109665

Change-Id: I9d2928688b80b804a16f52928e2057749ec2c0b2
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-gep.ll
The file was addedllvm/test/CodeGen/AArch64/sve-adr.ll
Commit 22ea0cea595e1b44b46c520243f2292bc4e3d943 by rnk
[compiler-rt] [windows] Add more assembly patterns for interception

To intercept the functions in Win11's ntdll.dll, we need to use the trampoline
technique because there are bytes other than 0x90 or 0xcc in the gaps between
exported functions.  This patch adds more patterns that appear in ntdll's
functions.

Bug: https://bugs.llvm.org/show_bug.cgi?id=51721

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D109941
The file was modifiedcompiler-rt/lib/interception/tests/interception_win_test.cpp
The file was modifiedcompiler-rt/lib/interception/interception_win.cpp
Commit 56dec4be9bd321a8fc0f19df00a8d63fc44813f5 by tejohnson
[Sanitizer] Allow setting the report path to create directory

When setting the report path, recursively create the directory as
needed. This brings the profile path support for memprof on par with
normal PGO. The code was largely cloned from __llvm_profile_recursive_mkdir
in compiler-rt/lib/profile/InstrProfilingUtil.c.

Differential Revision: https://reviews.llvm.org/D109794
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_file.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_file.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_test.cpp
Commit f8b1cc36578608f2f840d7ea8b0aa9b28fdaa492 by Louis Dionne
[libc++abi] Remove unnecessary atomic_support.h header from libc++abi

The file was a duplicate of atomic_support.h in libc++. Since we now
require the libc++ sources in order to build libc++abi, it's OK to
remove this duplication.

Thanks to @chandlerc for noticing this.

Differential Revision: https://reviews.llvm.org/D110103
The file was modifiedlibcxxabi/src/cxa_handlers.cpp
The file was removedlibcxxabi/src/include/atomic_support.h
The file was modifiedlibcxxabi/src/CMakeLists.txt
The file was modifiedlibcxxabi/src/cxa_default_handlers.cpp
The file was modifiedlibcxxabi/src/cxa_exception.cpp
The file was modifiedlibcxxabi/src/cxa_guard_impl.h
The file was modifiedlibcxx/src/include/atomic_support.h
The file was modifiedlibcxxabi/src/stdlib_stdexcept.cpp
The file was modifiedlibcxxabi/test/libcxxabi/test/config.py
Commit 5f187f0afaad33013ba03454c4749d99b1362534 by aktoon
[SamplePGO] Add switch to honor zero count on block level as accurate

Add a new LLVM switch `-profile-sample-block-accurate` to trust zero block counts for branches. Currently we leave out such zero counts when annotating branch weight metadata, which would lead to weights being considered as unknown.

Differential Revision: https://reviews.llvm.org/D110117
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit 7a320b279d076cb0736caed2a222b1d3367b003d by daltenty
[libcxx][AIX] Remove locale fallbacks for old OS levels

These routines were add years ago during initial porting attempts to AIX and are mostly build hacks for routines which we're missing at the time, but are available now on recent AIX OS levels.

Thus builds on modern AIX OS levels no longer need these and they cause problems if you try to build the library with a generic triple (i.e. powerpc-ibm-aix) as we'll pull them in and encounter duplicate definitions from the OS.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D110183
The file was modifiedlibcxx/include/CMakeLists.txt
The file was removedlibcxx/include/__support/ibm/locale_mgmt_aix.h
The file was modifiedlibcxx/include/__support/ibm/xlocale.h
Commit da93829b441525fd82a23c710290328907dde756 by clattner
[DialectAsmPrinter] Add missing 'printAttributeWithoutType' member.

DialectAsmParser has a `parseAttribute` member that takes a
contextual type, but DialectAsmPrinter doesn't have the corresponding
member to take advantage of it.  As such, custom attribute
implementations can't really use it.  This adds the obvious missing
method which fills this hole.

Differential Revision: https://reviews.llvm.org/D110211
The file was modifiedmlir/include/mlir/IR/DialectImplementation.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
Commit 7acd1807dd6899441cff9e1246155379971352fb by tejohnson
[Sanitizer] Modify test to avoid bot timeouts

Change the mutex type to one that initializes on construction and
hopefully avoid what appear to be deadlock failures in the new test
on a couple bots, e.g.:

https://green.lab.llvm.org/green/job/clang-stage1-RA/24140/testReport/SanitizerCommon-Unit/__Sanitizer-x86_64-Test/SanitizerCommon_ReportFile/
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp
Commit a83eda591c1032e24100f9bf551db9bc7a303f97 by shaoce
[RISCV][NFC] Deleted useless lines in clang tests.
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsra.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsbc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfabs.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnot.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsgt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslide1down.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsll.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfncvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vpopc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamomin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmseq.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrec7.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vzext.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnclip.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfgt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vluxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmslt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsof.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnsrl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vncvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfneg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrsqrt7.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfeq.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamomax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vleff.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vrem.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vneg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsse.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmset.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlse.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsqrt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfirst.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmxnor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsrl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsext.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsbf.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vasub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfle.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsetvlmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsgnj.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslide1up.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfslide1up.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsuxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmflt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmclr.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmerge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vaadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoswap.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vreinterpret.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vadc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vssrl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmadc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vloxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnot.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsle.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfne.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmerge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vrgather.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsbc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vssra.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsetvl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/viota.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnsra.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsoxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vid.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslideup.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsif.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vundefined.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vrsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vssub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwredosum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfslide1down.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslidedown.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwnmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfclass.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsne.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmul.c
Commit d9aff62560e100df2285c5e6d2401ad0cbefa93d by shaoce
[NFC] Fix typo.
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
Commit d31dfc30115705332034a81b6b2ab904ca1cf029 by dblaikie
DebugInfo: Unify some printing policy adjustments
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit db6f1e8a8857ccaa339304131373f3150528e812 by dblaikie
DebugInfo: Don't suppress inline namespaces when printing template template parameter names
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp