SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [DAGCombiner] improve readability (details)
  2. [FormatEntity] Add mangled function name support (details)
  3. [SystemZ]  Implement the packed stack layout (details)
  4. Default to -fuse-init-array (details)
  5. [PS4] Predefine the __SCE__ macro for the x86_64-scei-ps4 triple (details)
  6. [compiler-rt] libFuzzer: update -merge_control_file= help message. (details)
  7. Rename LoopInfo::isRotated() to LoopInfo::isRotatedForm(). (details)
  8. Suppress -Wwarn-unused-variables when we don't know the constructor (details)
  9. TypeCategory: Initialize m_enabled to false (details)
  10. [AMDGPU] AMDGPUUsage clarify address space information and other typo (details)
  11. [Target] Remove Target::GetScratchClangASTContext (details)
  12. [OPENMP50]Improve checks for declare variant functions compatibility. (details)
  13. [LTO] Support for embedding bitcode section during LTO (details)
  14. [libc++] Add check to ensure oss-fuzz properly targets libc++. (details)
  15. [DAGCombiner] fold shift-trunc-shift to shift-mask-trunc (details)
  16. [OPENMP50]Fix possible conflict when emitting an alias for the functions (details)
  17. [sanitizers] Redirect stdout and stderr to TASK_LOG (details)
  18. [clang] [test] Disable the test exhausting stack on NetBSD (details)
  19. Revert "[DAGCombiner] fold shift-trunc-shift to shift-mask-trunc" (details)
  20. [NFC][InstSimplify] Refactoring ThreadCmpOverSelect function (details)
  21. [Attributor][FIX] Do treat byval arguments special (details)
  22. [libc++] Tolerate NaN returning random distributions for now (details)
  23. [clangd] Heuristically resolve dependent method calls (details)
  24. [AArch64][SVE] Add integer arithmetic with immediate instructions. (details)
  25. Update line number after previous patch added an additional unsupported (details)
  26. [libomptarget] Move resource id functions into target specific code, (details)
  27. [IR] Include target specific intrinsic headers (details)
  28. [libomptarget][nfc] Add declarations of atomic functions for amdgcn (details)
  29. hwasan: add tag_offset DWARF attribute to optimized debug info (details)
  30. __bit_reference: fix -Wdeprecated-copy warnings (details)
  31. NFC: DebugInfo: Refactor debug_loc/loclist emission into a common (details)
  32. NFC: DebugInfo: Refactor RangeSpanList to be a struct, like (details)
  33. Fix test to work correctly on 32-bit platforms. (details)
  34. [clangd] Fix Windows test failure by adding (details)
  35. [iOS sim] Simplify iossim_run.py script (details)
  36. Temporarily revert "NFC: DebugInfo: Refactor RangeSpanList to be a (details)
  37. [libc++] Cleanup and enable multiple warnings. (details)
  38. [libc++] Mark all fuzzing tests as unsupported in C++03 (details)
  39. [NFC][AArch64] Fix typo. (details)
  40. Remove extra character I added to test my changes that I forgot to (details)
  41. [libcxx] [test] Fix valarray UB and MSVC warnings. (details)
  42. Correct inf typo (details)
  43. temporary (details)
  44. Update the man page (details)
  45. Revert an accidental commit af5ca40b47b3e85c3add81ccdc0b787c4bc355ae (details)
Commit b39009bf1dc91087bcd2201aebbe775ec828302b by spatel
[DAGCombiner] improve readability
This is not quite NFC because I changed the SDLoc to use the more
standard 'N' (the starting node for the fold).
This transform is a special-case of a more general fold that we do in
IR, but it seems like the general fold is needed here too to avoid a
potential regression seen in D58017.
https://rise4fun.com/Alive/3jZm
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 7eaae939b9bb294d029d212d768bb38272c00936 by medismail.bennani
[FormatEntity] Add mangled function name support
Summary: Add `function.mangled-name` key for FormatEntity to show the
mangled function names in backtraces.
rdar://54088244
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71237
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was addedlldb/test/Shell/Settings/TestFrameFormatMangling.test
The file was addedlldb/test/Shell/Settings/Inputs/main.cpp
The file was modifiedlldb/docs/use/formatting.rst
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
Commit 61f5ba5c32fae2726d3ead5e7360c084720f4692 by paulsson
[SystemZ]  Implement the packed stack layout
Any llvm function with the "packed-stack" attribute will be compiled to
use the packed stack layout which reuses unused parts of the incoming
register save area. This is needed for building the Linux kernel.
Review: Ulrich Weigand https://reviews.llvm.org/D70821
The file was modifiedllvm/test/CodeGen/SystemZ/frame-03.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.h
The file was modifiedllvm/test/CodeGen/SystemZ/frame-20.ll
The file was modifiedllvm/test/CodeGen/SystemZ/frame-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/frame-19.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was addedllvm/test/CodeGen/SystemZ/frame-22.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/frame-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/anyregcc-novec.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h
Commit b2b5cac3ec07782b917b2816f175da682723cd49 by maskray
Default to -fuse-init-array
Very few ELF platforms still use .ctors/.dtors now.  Linux (glibc:
1999-07), DragonFlyBSD, FreeBSD (2012-03) and Solaris have supported
.init_array for many years. Some architectures like AArch64/RISC-V
default to
.init_array . GNU ld and gold can even convert .ctors to .init_array .
It makes more sense to flip the CC1 default, and only uses
-fno-use-init-array on platforms that don't support .init_array . For
example, OpenBSD did not support DT_INIT_ARRAY before Aug 2016
(https://github.com/openbsd/src/commit/86fa57a2792c6374b0849dd7b818a11e676e60ba)
I may miss some ELF platforms that still use .ctors, but their
maintainers can easily diagnose such problems.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D71393
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/test/Driver/fuchsia.c
The file was modifiedclang/test/Driver/riscv64-toolchain-extra.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Driver/riscv32-toolchain-extra.c
The file was modifiedclang/test/CodeGenObjC/gnu-init.m
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.h
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.cpp
The file was modifiedclang/test/Driver/nacl-direct.c
The file was modifiedclang/test/Driver/netbsd.c
The file was modifiedclang/test/Driver/constructors.c
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/fuchsia.cpp
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was modifiedclang/test/Driver/fembed-bitcode.c
The file was modifiedclang/test/Driver/mips-mti-linux.c
The file was modifiedclang/test/Driver/riscv32-toolchain.c
The file was modifiedclang/test/Driver/riscv64-toolchain.c
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
The file was modifiedclang/lib/Driver/ToolChains/NetBSD.cpp
The file was modifiedclang/test/Driver/openbsd.c
Commit bcae3a77afd171604d117393d8cb92dfca2da8bb by warren_ristow
[PS4] Predefine the __SCE__ macro for the x86_64-scei-ps4 triple
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
The file was modifiedclang/test/Preprocessor/init.c
Commit 926fa4088cc2d6fdcd9301e80d05d9310009b660 by mmoroz
[compiler-rt] libFuzzer: update -merge_control_file= help message.
Summary: The motivation for this change is to have a distinguisher in
libFuzzer that would let the runner know whether multistep merge is
supported or not by a particular fuzz target binary. Otherwise,
multistep merge fails to execute with older version of libFuzzer, and
there is no way to verify that easily.
Reviewers: kcc
Subscribers: dberris, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D71423
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerFlags.def
Commit 61368c8e98c567fa76d45e8f928306db9d00dde2 by kbarton
Rename LoopInfo::isRotated() to LoopInfo::isRotatedForm().
This patch renames the LoopInfo::isRotated() method to
LoopInfo::isRotatedForm() to make it clear that the method checks
whether the loop is in rotated form, not whether the loop has been
rotated by the LoopRotation pass.
The file was modifiedllvm/unittests/Analysis/LoopInfoTest.cpp
The file was modifiedllvm/lib/Analysis/LoopInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/LoopInfo.h
Commit 654c0daef75a41eede06b413a5ecdd8ad2640240 by erich.keane
Suppress -Wwarn-unused-variables when we don't know the constructor
This warning is supposed to be suppressed when the
constructor/destructor are non-trivial, since it might be a RAII type.
However, if the type has a trivial destructor and the constructor hasn't
been resolved (since it is called with dependent arguments), we were
still warning.
This patch suppresses the warning if the type could possibly have a be a
non-trivial constructor call.  Note that this does not take the arity of
the constructors into consideration, so it might suppress the warning in
cases where it isn't possible to call a non-trivial constructor.
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/SemaCXX/warn-unused-variables.cpp
Commit 46d970cc436068af826e5f6a59033dd0f10c570d by Vedant Kumar
TypeCategory: Initialize m_enabled to false
The initialization was accidentally lost in
https://reviews.llvm.org/D71310, causing a ubsan failure:
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/include/lldb/DataFormatters/TypeCategory.h:278:35:
runtime error: load of value 190, which is not a valid value for type
'bool' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/include/lldb/DataFormatters/TypeCategory.h:278:35
in
http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake-sanitized/621/consoleText
The file was modifiedlldb/source/DataFormatters/TypeCategory.cpp
Commit 7a54f727a2a546ab34df29f48c8e1a10218d74a6 by Tony.Tye
[AMDGPU] AMDGPUUsage clarify address space information and other typo
and formatting fixes
Summary:
- Clarify AMDGPU address spaces.
- Correct path to AMDGPU backend since now in the mono-repo.
- Fix numerous text style and typo issues.
- Correct reStructure text formatting warnings.
- Made reStructure directive usage more consistent.
- Add references for gfx10 ISA specification.
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71392
The file was modifiedllvm/docs/AMDGPUUsage.rst
Commit 3031818a2e9fca1e53cd882ccfcc3718699991b4 by apl
[Target] Remove Target::GetScratchClangASTContext
Target doesn't really need to know about ClangASTContext more than any
other TypeSystem. We can create a method ClangASTContext::GetScratch for
anything who needs a ClangASTContext specifically instead of just a
generic TypeSystem.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSString.cpp
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSArray.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Plugins/Language/ObjC/NSException.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/source/Plugins/Language/ObjC/NSError.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSDictionary.cpp
Commit 0ee89c1bad8cef81725ef892d60b4aa254d84744 by a.bataev
[OPENMP50]Improve checks for declare variant functions compatibility.
Added check for functions compatibility in C and removed restriction for
functions with no prototypes in declare variant constrcut.
The file was modifiedclang/test/OpenMP/declare_variant_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/OpenMP/declare_variant_messages.c
Commit c8e0bb3b2c24ef59556d81a275fb1f5db64899d3 by tejohnson
[LTO] Support for embedding bitcode section during LTO
Summary: This adds support for embedding bitcode in a binary during LTO.
The libLTO gains supports the `-lto-embed-bitcode` flag. The option
allows users of the LTO library to embed a bitcode section. For example,
LLD can pass the option via `ld.lld -mllvm=-lto-embed-bitcode`.
This feature allows doing something comparable to `clang -c
-fembed-bitcode`, but on the (LTO) linker level. Having bitcode
alongside native code has many use-cases. To give an example, the MacOS
linker can create a `-bitcode_bundle` section containing bitcode. Also,
having this feature built into LLVM is an alternative to 3rd party tools
such as [[ https://github.com/travitch/whole-program-llvm | wllvm ]] or
[[ https://github.com/SRI-CSL/gllvm | gllvm ]]. As with these tools,
this feature simplifies creating "whole-program" llvm bitcode files, but
in contrast to wllvm/gllvm it does not rely on a specific llvm
frontend/driver.
Patch by Josef Eisl <josef.eisl@oracle.com>
Reviewers: #llvm, #clang, rsmith, pcc, alexshap, tejohnson
Reviewed By: tejohnson
Subscribers: tejohnson, mehdi_amini, inglorion, hiraditya, aheejin,
steven_wu, dexonsmith, dang, cfe-commits, llvm-commits, #llvm, #clang
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68213
The file was addedllvm/test/LTO/X86/embed-bitcode.ll
The file was modifiedllvm/include/llvm/Bitcode/BitcodeWriter.h
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was addedllvm/test/LTO/X86/Inputs/start-lib2.ll
The file was addedllvm/test/LTO/X86/Inputs/start-lib1.ll
The file was addedclang/test/Frontend/x86-embed-bitcode.ll
Commit 27ec4abeac4dae65a307c4eb206110ba8c2ca2ce by eric
[libc++] Add check to ensure oss-fuzz properly targets libc++.
The file was modifiedlibcxx/fuzzing/fuzzing.cpp
Commit 8963332c3327daa652ba3e26d35f9109b6991985 by spatel
[DAGCombiner] fold shift-trunc-shift to shift-mask-trunc
This fold is done in IR by instcombine, and we have a special form of it
already here in DAGCombiner, but we want the more general transform too:
https://rise4fun.com/Alive/3jZm
Name: general Pre: (C1 + zext(C2) < 64)
%s = lshr i64 %x, C1
%t = trunc i64 %s to i16
%r = lshr i16 %t, C2
=>
%s2 = lshr i64 %x, C1 + zext(C2)
%a = and i64 %s2, zext((1 << (16 - C2)) - 1)
%r = trunc %a to i16
Name: special Pre: C1 == 48
%s = lshr i64 %x, C1
%t = trunc i64 %s to i16
%r = lshr i16 %t, C2
=>
%s2 = lshr i64 %x, C1 + zext(C2)
%r = trunc %s2 to i16
...because D58017 exposes a regression without this fold.
The file was modifiedllvm/test/CodeGen/AArch64/shift-amount-mod.ll
The file was modifiedllvm/test/CodeGen/PowerPC/trunc-srl-load.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 5ad52587ec182f03636649e2cb66a0a4d9ffeab2 by a.bataev
[OPENMP50]Fix possible conflict when emitting an alias for the functions
in declare variant.
If the types of the fnction are not equal, but match, at the codegen
thei may have different types. This may lead to compiler crash.
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was addedclang/test/OpenMP/declare_variant_mixed_codegen.c
Commit 3ecfe64fe339cd7ac9c3bfa4ecee0f66365e2998 by echristo
[sanitizers] Redirect stdout and stderr to TASK_LOG
At some point cpplint.py became very noisy during a build spewing a few
hundred lines of "Done processing..." even with SILENT=1 in cmake. This
attempts to redirect the stdout of "Done processing" to the task log
along with any errors.
Tested by this with and without SILENT=1 to check things.
Differential Revision: https://reviews.llvm.org/D71402 Reviewed By:
eugenis
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
Commit 4c6c1d0f437194904d6093ca2f94230b6ec49e0b by mgorny
[clang] [test] Disable the test exhausting stack on NetBSD
Disable the instantiation-depth-default.cpp test on NetBSD since it
requires more stack space than we have by default on NetBSD.
Differential Revision: https://reviews.llvm.org/D71419
The file was modifiedclang/test/SemaTemplate/instantiation-depth-default.cpp
Commit 9432937190d8c891a93521bed7b9b76397e410e3 by spatel
Revert "[DAGCombiner] fold shift-trunc-shift to shift-mask-trunc"
This reverts commit 8963332c3327daa652ba3e26d35f9109b6991985. There was
a logic bug typo in this code, but it wasn't visible in the asm for the
tests.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AArch64/shift-amount-mod.ll
The file was modifiedllvm/test/CodeGen/PowerPC/trunc-srl-load.ll
Commit 7081c922416b7b2348a1b10cd1d9528f3089f5fb by dendibakh
[NFC][InstSimplify] Refactoring ThreadCmpOverSelect function
Removed code duplication in ThreadCmpOverSelect and broke it into
several smaller functions for reusing them.
Differential Revision: https://reviews.llvm.org/D71158
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 6abd01e4624a2c9f8f76e11cc5d57cc7551b5d2a by johannes
[Attributor][FIX] Do treat byval arguments special
When we reason about the pointer argument that is byval we actually
reason about a local copy of the value passed at the call site. This was
not the case before and we wrongly introduced attributes based on the
surrounding function.
AAMemoryBehaviorArgument, AAMemoryBehaviorCallSiteArgument and
AANoCaptureCallSiteArgument are made aware of byval now. The code to
skip "subsuming positions" for reasoning follows a common pattern and we
should refactor it. A TODO was added.
Discovered by @efriedma as part of D69748.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/readattrs.ll
Commit c6b8c3d5d9a37b24bffa0bfc085a81f041bedc18 by eric
[libc++] Tolerate NaN returning random distributions for now
The file was modifiedlibcxx/fuzzing/fuzzing.cpp
Commit ecaa9363303e811a051ebb6199e35e43319a699c by zeratul976
[clangd] Heuristically resolve dependent method calls
Summary: The heuristic is to look in the definition of the primary
template, which is what you want in the vast majority of cases.
Fixes https://github.com/clangd/clangd/issues/141
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71240
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit 6bed43f3c40ba23ff82280d99aed9c1ba5763ef2 by danilo.carvalho.grael
[AArch64][SVE] Add integer arithmetic with immediate instructions.
Summary: Add pattern matching for the following instructions:
- add, sub, subr, sqadd, sqsub, uqadd, uqsub
This patch required complex patterns to match the immediate with optinal
left shift.
I re-used the Select function from the other SVE repo to implement the
complext pattern.
I plan on doing another patch to also match constant vector of the same
immediate.
Reviewers: sdesmalen, huntergr, rengolin, efriedma, c-rhodes, mgudim,
kmclaughlin
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits, amehsan
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71370
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was addedllvm/test/CodeGen/AArch64/sve-int-imm.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 259a9b1039093a1d036c1e6efcae699873f93ba5 by echristo
Update line number after previous patch added an additional unsupported
and comment lines.
The file was modifiedclang/test/SemaTemplate/instantiation-depth-default.cpp
Commit dbb3fec8adfc4ac3fbf31f51f294427dbabbebb2 by jonathanchesterfield
[libomptarget] Move resource id functions into target specific code,
implement for amdgcn
Summary: [libomptarget] Move resource id functions into target specific
code, implement for amdgcn
Reviewers: jdoerfert, ABataev, grokos
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71382
The file was modifiedopenmp/libomptarget/deviceRTLs/common/support.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/support.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
Commit 5368f35efaf65d1085472b9ef24e33bb043f384c by aheejin
[IR] Include target specific intrinsic headers
After D71320, target-specific intrinsic headers should be included.
The file was modifiedpolly/lib/CodeGen/PerfMonitor.cpp
The file was modifiedpolly/lib/CodeGen/RuntimeDebugBuilder.cpp
Commit 479868646a6a3a83dda482e8da26f77a1a39c58d by jonathanchesterfield
[libomptarget][nfc] Add declarations of atomic functions for amdgcn
Summary:
[libomptarget][nfc] Add declarations of atomic functions for amdgcn
This enables building more source for amdgcn. The functions are usually
available in a hip runtime header, but are duplicated here to decouple
the implementation
Reviewers: jdoerfert, ABataev, grokos
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, jfb, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71412
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
The file was addedopenmp/libomptarget/deviceRTLs/amdgcn/src/hip_atomics.h
Commit dabd2622a86900718ce5ba22e787333265375d4a by eugenis
hwasan: add tag_offset DWARF attribute to optimized debug info
Summary: Support alloca-referencing dbg.value in hwasan instrumentation.
Update AsmPrinter to emit DW_AT_LLVM_tag_offset when location is in
loclist format.
Reviewers: pcc
Subscribers: srhines, aprantl, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70753
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was addedllvm/test/CodeGen/AArch64/dbg-value-tag-offset.ll
Commit b7eb30d48131c0b42cf5fa5bf866e846959876c2 by maskray
__bit_reference: fix -Wdeprecated-copy warnings
Since C++11, [depr.impldec]:
The implicit definition of a copy constructor as defaulted is deprecated
if the class has a user-declared copy assignment operator or a
user-declared destructor.
At clang HEAD, -Wdeprecated-copy (included by -Wextra) will warn on such
instances.
Reviewed By: EricWF
Differential Revision: https://reviews.llvm.org/D71096
The file was modifiedlibcxx/include/__bit_reference
Commit 20e06a28dac65a68bfd906d703e980a8212f6187 by dblaikie
NFC: DebugInfo: Refactor debug_loc/loclist emission into a common
function
(except for v4 loclists, which are sufficiently different to not fit
well in this generic implementation)
In subsequent patches I intend to refactor the DebugLoc and ranges data
structures to be more similar so I can common more of the implementation
here.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit 8e04896288d22ed8bef7ac367923374f96b753d6 by dblaikie
NFC: DebugInfo: Refactor RangeSpanList to be a struct, like
DebugLocStream::List
Move these data structures closer together so their emission code can
eventually share more of its implementation.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit b71475ff9ae02a8ec8d9841316c9717ef67b2f40 by douglas.yung
Fix test to work correctly on 32-bit platforms.
The file was modifiedclang/test/CodeGenCXX/cxx2a-three-way-comparison.cpp
Commit 4f732a3d49ace980058bbb12150c8afc499af0ae by zeratul976
[clangd] Fix Windows test failure by adding
-fno-delayed-template-parsing to LocateSymbol.Ambiguous
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71444
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit cdb45605571202a1bbc3fe6de300b93da79cea83 by julian.lettner
[iOS sim] Simplify iossim_run.py script
The file was modifiedcompiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
Commit a8154e5e0c83d2f0f65f3b4fb1a0bc68785bd975 by echristo
Temporarily revert "NFC: DebugInfo: Refactor RangeSpanList to be a
struct, like DebugLocStream::List" as it was causing bot and build
failures.
This reverts commit 8e04896288d22ed8bef7ac367923374f96b753d6.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
Commit f97936fabd263e3b311e3b8e9ffca4920e4fcff0 by eric
[libc++] Cleanup and enable multiple warnings.
Too many warnings are being disabled too quickly. Warnings are important
to keeping libc++ correct. This patch re-enables two warnings:
-Wconstant-evaluated and -Wdeprecated-copy.
In future, all warnings disabled for the test suite should require an
attached bug. The bug should state the plan for re-enabling that
warning, or a strong case why it should remain disabled.
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp
The file was modifiedlibcxx/test/support/test_macros.h
The file was modifiedlibcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp
The file was modifiedlibcxx/include/ext/hash_map
The file was modifiedlibcxx/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp
The file was modifiedlibcxx/include/__bit_reference
The file was modifiedlibcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.fail.cpp
The file was modifiedlibcxx/include/valarray
The file was modifiedlibcxx/include/__hash_table
The file was modifiedlibcxx/include/__tree
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/include/random
Commit 9b540192b6369c15cb3702272dffc6ec31382345 by eric
[libc++] Mark all fuzzing tests as unsupported in C++03
The file was modifiedlibcxx/test/libcxx/fuzzing/nth_element.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/stable_partition.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/partition.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/unique.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/regex_POSIX.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/regex_awk.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/regex_extended.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/partial_sort.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/partial_sort_copy.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/sort.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/partition_copy.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/regex_egrep.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/geometric_distribution.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/regex_grep.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/stable_sort.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/regex_ECMAScript.pass.cpp
The file was modifiedlibcxx/test/libcxx/fuzzing/unique_copy.pass.cpp
Commit bc16666de4304088cfc45ba242e303d93b2018ee by tclin914
[NFC][AArch64] Fix typo.
Summary: Coaleascer should be coalescer.
Reviewers: qcolombet, Jim
Reviewed By: Jim
Subscribers: Jim, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70731
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
Commit bc0c60f714fca54711b806c54467a8ce28c04181 by douglas.yung
Remove extra character I added to test my changes that I forgot to
delete before submitting.
The file was modifiedclang/test/CodeGenCXX/cxx2a-three-way-comparison.cpp
Commit bf7dc572f199007cbe042d5ea41bcf873dcedd8f by stl
[libcxx] [test] Fix valarray UB and MSVC warnings.
[libcxx] [test] Calling min and max on an empty valarray is UB.
libcxx/test/std/numerics/numarray/template.valarray/valarray.members/min.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.members/max.pass.cpp
The calls `v1.min();` and `v1.max();` were emitting nodiscard warnings
with MSVC's STL. Upon closer inspection, these calls were triggering
undefined behavior. N4842 [valarray.members] says:
"T min() const; 8 Preconditions: size() > 0 is true. T max() const; 10
Preconditions: size() > 0 is true."
As these tests already provide coverage for non-empty valarrays
(immediately above), I've simply deleted the code for empty valarrays.
[libcxx] [test] Add macros to msvc_stdlib_force_include.h (NFC).
libcxx/test/support/msvc_stdlib_force_include.h
These macros are being used by:
libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
Defining them to nothing allows that test to pass.
[libcxx] [test] Silence MSVC warning C5063 for is_constant_evaluated
(NFC).
libcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp
This test is intentionally writing code that MSVC intentionally warns
about, so the warning should be silenced.
Additionally, comment an endif for clarity.
[libcxx] [test] Silence MSVC warning C4127 (NFC).
libcxx/test/support/charconv_test_helpers.h
MSVC avoids emitting this warning when it sees a single constexpr value
being tested, but this condition is a mix of compile-time and run-time.
Using push-disable-pop is the least intrusive way to silence this.
[libcxx] [test] Silence MSVC truncation warning (NFC).
libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
This test is intentionally truncating float to int, which MSVC
intentionally warns about, so push-disable-pop is necessary.
[libcxx] [test] Avoid truncation warnings in erase_if tests (NFC).
libcxx/test/std/containers/associative/map/map.erasure/erase_if.pass.cpp
libcxx/test/std/containers/associative/multimap/multimap.erasure/erase_if.pass.cpp
libcxx/test/std/containers/unord/unord.map/erase_if.pass.cpp
libcxx/test/std/containers/unord/unord.multimap/erase_if.pass.cpp
These tests use maps with `short` keys and values, emitting MSVC
truncation warnings from `int`. Adding `static_cast` to `key_type` and
`mapped_type` avoids these warnings.
As these tests require C++20 mode (or newer), for brevity I've changed
the multimap tests to use emplace to initialize the test data. This has
no effect on the erase_if testing.
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.erasure/erase_if.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numarray/template.valarray/valarray.members/min.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/erase_if.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.erasure/erase_if.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numarray/template.valarray/valarray.members/max.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/erase_if.pass.cpp
The file was modifiedlibcxx/test/support/charconv_test_helpers.h
The file was modifiedlibcxx/test/support/msvc_stdlib_force_include.h
Commit 4daa8d1de6dda58aebfa7b19547ed3ce4e9bc91a by tclin914
Correct inf typo
Reviewers: krasimir
Reviewed By: krasimir
Subscribers: Jim, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D57732
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/include/clang/Format/Format.h
Commit af5ca40b47b3e85c3add81ccdc0b787c4bc355ae by ruiu
temporary
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedllvm/include/llvm/LTO/Config.h
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was addedlld/test/ELF/lto/thinlto-time-trace.ll
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/ICF.cpp
The file was addedlld/test/ELF/check-time-trace.s
Commit 6faf8bdcc469fc75bc5c9d09a6bd92c1a0c381d0 by ruiu
Update the man page
Add a description about the compression level of the debug info.
Differential Revision: https://reviews.llvm.org/D71385
The file was modifiedlld/docs/ld.lld.1
Commit 69da7e29dea659563f3b64edb7b45cb2aec817c2 by ruiu
Revert an accidental commit af5ca40b47b3e85c3add81ccdc0b787c4bc355ae
The file was modifiedlld/ELF/Options.td
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was removedlld/test/ELF/lto/thinlto-time-trace.ll
The file was modifiedlld/ELF/Driver.cpp
The file was removedlld/test/ELF/check-time-trace.s
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedllvm/include/llvm/LTO/Config.h
The file was modifiedlld/ELF/Config.h