SuccessChanges

Summary

  1. [libc builder] Add integration test step to non asan builds. (details)
  2. [libc builder] Fix type in integration test command. (details)
Commit fdece131fdcc2bd0ea9e919592b07e5a56a6b9fa by paulatoth
[libc builder] Add integration test step to non asan builds.

Reviewers: sivachandra

Reviewed By: sivachandra

Tags: #zorg

Differential Revision: https://reviews.llvm.org/D81039
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py (diff)
Commit d93182bd9603056049608bc9d26fa5f003ed216d by paulatoth
[libc builder] Fix type in integration test command.
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py (diff)

Summary

  1. [AST][RecoveryExpr] Build RecoveryExpr for "undef_var" cases. (details)
  2. Use Pseudo Instruction to carry stack probing information (details)
  3. [yaml2obj] - Allocate the file space for SHT_NOBITS sections in some cases. (details)
  4. Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03, and 2a to 20 (details)
  5. [OPENMP50]Initial codegen for 'affinity' clauses. (details)
  6. Reinstate the syntax tree test for 'static' in an array subscript (details)
  7. [Dexter] Add os.path.normcase(...) transform to test path early. (details)
  8. [Dexter] Add DexLimitSteps command and ConditionalController (details)
  9. [flang] Fix release build flags. (details)
  10. TypeSymbolEmitter.h - reduce includes to forward declarations. NFC. (details)
  11. [libc++abi] Make sure we link in CrashReporterClient.a when it's present (details)
  12. [lldb] Skip tests exercising DW_OP_GNU_entry_value with dsymutil (details)
  13. Support ExtVectorType conditional operator (details)
  14. [Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function (details)
  15. [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN (details)
  16. [InstCombine] regenerate complete test checks; NFC (details)
  17. [InstCombine] add tests for select-of-select-shuffle; NFC (details)
  18. [PGO] Enable memcmp/bcmp size value profiling. (details)
  19. [mlir] Provide defaults to make enabling dumping simpler (details)
  20. AMDGPU: Don't run mode switches with exec 0 (details)
  21. AMDGPU: Don't run indexing mode switches with exec = 0 (details)
  22. AMDGPU: Fix a test to be more stable (details)
  23. [llvm-dwarfdump] Print [=<offset>] after --debug-* options in help output. (details)
  24. [Sema] Use isAlwaysUninit for -Wuninitialized-const-reference after D79895 (details)
  25. Update 'git push' command in GettingStarted guide (details)
  26. Fix compiler crash when an expression parsed in the tentative parsing and must be claimed in the another evaluation context. (details)
  27. [TableGen] Avoid generating switch with just default (details)
  28. [libc] Add integration tests. (details)
  29. [WebAssembly] Improve macro hygiene in wasm_simd128.h (details)
  30. [RISCV-V] Provide muldi3 builtin assembly implementation (details)
  31. [Analyzer][WebKit] Check record definition is available in NoUncountedMembers checker (details)
  32. [WebAssembly] Eliminate range checks on br_tables (details)
  33. Fix test on PS4 linux bot. (details)
  34. [lld-macho] Add some relocation validation logic (details)
  35. [lld-macho] Error on encountering undefined symbols (details)
  36. [lld-macho] Set __PAGEZERO size to 4GB (details)
  37. [lld-macho] Move all tests for erroneous inputs under invalid/ (details)
  38. [lld-macho] Ensure reads from nlist_64 structs are aligned when necessary (details)
  39. [NFC][ASTMatchers] StringRef-ify and Twine-ify ASTMatchers tests. (details)
  40. [Driver] Add multiclass OptInFlag and OptOutFlag to simplify boolean option definition (details)
  41. [DAGCombiner] Combine shifts into multiply-high (details)
  42. Fix up clang-tidy warnings around null and pointers. (details)
  43. [mlir][spirv] Add support for matrix type (details)
  44. [libc] Remove integration test target from check libc. (details)
  45. [gn build] Port f99d5f8c32a (details)
  46. [llvm] Fix unused variable warning (details)
  47. PR23029 / C++ DR2233: Allow expanded parameter packs to follow (details)
  48. [X86] Cleanup inconsistencies in our zext/sext vector patterns. (details)
  49. [LLD] Have only one SpecificAllocator per type (details)
  50. [X86] Remove DeleteNode calls from PreprocessISelDAG. Rely on the RemoveDeadNodes call at the end. (details)
  51. Undo removal of test for dr777. (details)
  52. [mlir] NFC - Add AffineMinMaxOpBase getDim/SymbolOperands (details)
  53. Undo initialization of TRI in CGP as this is unconditionally initialized (details)
  54. [lld-macho] Fix PAGEZERO=4GB errors on Windows by ensuring enum is uint64_t (details)
  55. [mlir][Affine] Enable fusion of loops with vector loads/stores (details)
  56. [Clang][A32/T32][Linux] -O1 implies -fomit-frame-pointer (details)
  57. [Analyzer][NFC] Fix markup in WebKit checkers documentation (details)
  58. [StackSafety] Delete useless test (details)
  59. [MTE] Convert StackSafety into analysis (details)
  60. [lldb/Test] Don't use the env to pass around configuration variables (NFC) (details)
  61. [X86] Add a flag to guard the wide load (details)
  62. [mlir][spirv] Fix encoding of cooperative matrix type to match SPIRV spec (details)
  63. [mlir][spirv] Fix coop matrix getExtension (details)
  64. [lldb/Test] Pass Make arguments in invocation instead of environment (details)
  65. [lldb/Test] Don't use the env to pass around configuration variables (NFC) (details)
  66. Remove redundant code (NFC) (details)
  67. [SampleFDO] Add use-sample-profile function attribute. (details)
  68. [MTE] Move tagging in pipeline (details)
  69. [NFC, StackSafety] Change type of internal container (details)
  70. [NFC,MTE] Drop unneeded attribute from test (details)
  71. [JumpThreading] Simplify FindMostPopularDest (NFC) (details)
  72. [AArch64][GlobalISel] Select zip1 and zip2 (details)
Commit 21ccc684ff4c8563e7b20bed4ae7dc7d18fe03f3 by hokein.wu
[AST][RecoveryExpr] Build RecoveryExpr for "undef_var" cases.

Summary:
For a none-function-like unresolved expression, clang builds a TypoExpr
for it, and tries to correct it afterwards. If the typo-correction
fails, clang just drops the whole expr.

This patch improves the recovery strategy -- if the typo-correction
fails, we preserve the AST by degrading the typo exprs to recovery
exprs.

This would improve toolings for "undef_var" broken cases:
```
void foo();
void test() {
  fo^o(undef_var); // go-to-def, hover still works.
}
```

TESTED=ran tests with this patch + turn-on-recovery-ast patch, it breaks
one declare_variant_messages testcase (the diagnostics are slightly
changed), I think it is acceptable.

```
Error: 'error' diagnostics seen but not expected:
  File llvm-project/clang/test/OpenMP/declare_variant_messages.cpp Line 16: expected 'match' clause on 'omp declare variant' directive
  File llvm-project/clang/test/OpenMP/declare_variant_messages.cpp Line 57: expected 'match' clause on 'omp declare variant' directive
error: 'warning' diagnostics expected but not seen:
  File llvm-project/clang/test/OpenMP/declare_variant_messages.cpp Line 47: the context selector 'kind' in the context set 'device' cannot have a score ('<invalid>'); score ignored
  File llvm-project/clang/test/OpenMP/declare_variant_messages.cpp Line 87: the context selector 'kind' in the context set 'device' cannot have a score ('<invalid>'); score ignored
error: 'warning' diagnostics seen but not expected:
  File llvm-project/clang/test/OpenMP/declare_variant_messages.cpp Line 47: the context selector 'kind' in the context set 'device' cannot have a score ('<recovery-expr>()'); score ignored
  File llvm-project/clang/test/OpenMP/declare_variant_messages.cpp Line 87: the context selector 'kind' in the context set 'device' cannot have a score ('<recovery-expr>()'); score ignored
6 errors generated.
```

Reviewers: sammccall, jdoerfert

Subscribers: sstefan1, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80733
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/AST/ast-dump-recovery.cpp
Commit 6c733f5a1320977d24e7f5c565e55a6590e6ec8c by sguelton
Use Pseudo Instruction to carry stack probing information

Instead of using a fake call and metadata to temporarily represent a probed
static alloca, use a pseudo instruction.

This is inspired by the SystemZ approach proposed in https://reviews.llvm.org/D78717.

Differential Revision: https://reviews.llvm.org/D80641
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
Commit aa3a85cdaa4432ca389bdbf48049eaa64dc6e266 by grimar
[yaml2obj] - Allocate the file space for SHT_NOBITS sections in some cases.

This teaches yaml2obj to allocate file space for a no-bits section
when there is a non-nobits section in the same segment that follows it.

It was discussed in D78005 thread and matches GNU linkers and LLD behavior.

Differential revision: https://reviews.llvm.org/D80629
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/program-header-nobits.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
Commit d559185aaebeb66456edb63b47da5a2f67a0a5e2 by gribozavr
Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03, and 2a to 20

Summary:
I think we would be better off with tests explicitly specifying the
language mode. Right now Lang_C means C99, but reads as "any C version",
or as "unspecified C version".

I also changed '-std=c++98' to '-std=c++03' because they are aliases (so
there is no difference in practice), because Clang implements C++03
rules in practice, and because 03 makes a nice sortable progression
between 03, 11, 14, 17, 20.

Reviewers: shafik, hlopko

Reviewed By: hlopko

Subscribers: jfb, martong, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81000
The file was modifiedclang/unittests/AST/ASTImporterGenericRedeclTest.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/unittests/AST/MatchVerifier.h
The file was modifiedclang/lib/Testing/CommandLineArgs.cpp
The file was modifiedclang/unittests/AST/SourceLocationTest.cpp
The file was modifiedclang/unittests/AST/ASTImporterODRStrategiesTest.cpp
The file was modifiedclang/unittests/AST/StructuralEquivalenceTest.cpp
The file was modifiedclang/include/clang/Testing/CommandLineArgs.h
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
Commit 89d9dba2c6885949887edf4b80e1aabf8d8f3f88 by a.bataev
[OPENMP50]Initial codegen for 'affinity' clauses.

Summary:
Added initial codegen for 'affinity' clauses on task directives.
Emits next code:
```
kmp_task_affinity_info_t affs[<num_elems>];

void *td = __kmpc_task_alloc(..);

affs[<i>].base = &data_i;
affs[<i>].size = sizeof(data_i);
__kmpc_omp_reg_task_with_affinity(&loc, <gtid>, td, <num_elems>, affs);
```

The result returned by the call of `__kmpc_omp_reg_task_with_affinity`
function is ignored currently sincethe  runtime currently ignores args
and returns 0 uncoditionally.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, llvm-commits, cfe-commits, caomhin

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D80240
The file was addedclang/test/OpenMP/task_affinity_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
Commit 53c29a42d044b167f6b5f28e096c8d9e50d6edc7 by gribozavr
Reinstate the syntax tree test for 'static' in an array subscript

Reviewers: eduucaldas

Reviewed By: eduucaldas

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81009
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
Commit bf1cdc2c6c0460b7121ac653c796ef4995b1dfa9 by Tom.Weaver
[Dexter] Add os.path.normcase(...) transform to test path early.

  When passing a test path, if the path points directly at a file, then
  normcase would not be called on path.

  This would change the expected lower case drive path, on windows, to be
  uppercase. This patch simply calls normcase on the test path at the earliest
  point possible to avoid this issue.

  Reviewers: djtodoro, jmorse

  Differential Revision: https://reviews.llvm.org/D78633
The file was modifieddebuginfo-tests/dexter/dex/tools/TestToolBase.py
Commit 81e836a5a675f6a3d9d35560fddbbb87fdf66201 by Tom.Weaver
[Dexter] Add DexLimitSteps command and ConditionalController

  * Adds DexLimitSteps Command.
  * Add ConditionalController, a new DebuggerController type.
  * 5 regression tests
  * documentation

  Reviewers: jmorse

  Differential Revision: https://reviews.llvm.org/D79786
The file was modifieddebuginfo-tests/dexter/dex/tools/test/Tool.py
The file was addeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
The file was addedd.diff
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_overlapping_ranges.cpp
The file was addeddebuginfo-tests/dexter/dex/command/commands/DexLimitSteps.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/DebuggerControllerBase.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_value.cpp
The file was modifieddebuginfo-tests/dexter/Commands.md
The file was addeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_loop.cpp
The file was modifieddebuginfo-tests/dexter/dex/command/ParseCommand.py
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_check_json_step_count.cpp
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerBase.py
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_same_line_conditional.cpp
Commit 81bf1e29aae5992db318803ba4722a585ad64638 by david.truby
[flang] Fix release build flags.

Summary:
This patch removes the custom CMAKE_RELEASE_CXX_FLAGS variable.
This variable being set was having the effect of removing other important
Release flags, notably `-DNDEBUG`.

This patch may need to be accompanied by fixes for the macOS issues that
the removed comment mentions; I don't have a mac to test this on though so
hopefully a reviewer can help with that.

Reviewers: Andrzej, tskeith, sscalpone

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80794
The file was modifiedflang/CMakeLists.txt
Commit 0beddbf2ccbef50ecfb8af2b2c5d50fd938d5eec by llvm-dev
TypeSymbolEmitter.h - reduce includes to forward declarations. NFC.
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h
Commit 6f6c8a2d96f580c79e00c43d0ec368346c7bff49 by Louis Dionne
[libc++abi] Make sure we link in CrashReporterClient.a when it's present

When building the system libc++abi for Apple, we use CrashReporterClient
to provide better crash logs when calling abort(). This is exemplified by
the fact that we test for the presence of <CrashReporterClient.h> in
abort_message.cpp.

However, we must link against CrashReporterClient.a in order to get that
functionality, otherwise we get a linking error.
The file was modifiedlibcxxabi/src/CMakeLists.txt
Commit de04375ac59e6e9290b361b3ffcf4558e688e8a9 by pavel
[lldb] Skip tests exercising DW_OP_GNU_entry_value with dsymutil

It seems that this opcode needs explicit support in dsymutil. Disable
these tests until that is implemented.
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py
The file was modifiedlldb/test/API/functionalities/param_entry_vals/basic_entry_values/TestBasicEntryValues.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py
Commit 4431d64c10cb681986e752420f1136f259daa5a7 by minyihh
Support ExtVectorType conditional operator

Extension vectors now can be used in element-wise conditional selector.
For example:
```
R[i] = C[i]? A[i] : B[i]
```
This feature was previously only enabled in OpenCL C. Now it's also
available in C. Not that it has different behaviors than GNU vectors
(i.e. __vector_size__). Extension vectors selects on signdness of the
vector. GNU vectors on the other hand do normal bool conversions. Also,
this feature is not available in C++.

Differential Revision: https://reviews.llvm.org/D80574
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/test/Sema/ext_vector_comparisons.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 170b6869b563dd3393d99f3e03d389b9058d5f24 by zequanwu
[Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function

Summary:
Add a new warning -Wuninitialized-const-reference as a subgroup of -Wuninitialized to address a bug filed here: https://bugs.llvm.org/show_bug.cgi?id=45624

This warning is controlled by -Wuninitialized and can be disabled by -Wno-uninitialized-const-reference.
The warning is diagnosed when passing uninitialized variables as const reference parameters to a function.

Differential Revision: https://reviews.llvm.org/D79895
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was addedclang/test/SemaCXX/warn-uninitialized-const-reference.cpp
The file was modifiedclang/include/clang/Analysis/Analyses/UninitializedValues.h
The file was modifiedclang/test/SemaCXX/uninitialized.cpp
The file was modifiedclang/test/Misc/warning-wall.c
The file was modifiedclang/lib/Analysis/UninitializedValues.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/uninit-variables.cpp
Commit eaebcbc67926a18befaa297f1778edde63baec9b by kkleine
[lldb] NFC remove DISALLOW_COPY_AND_ASSIGN

Summary:
This is how I applied my clang-tidy check (see
https://reviews.llvm.org/D80531) in order to remove
`DISALLOW_COPY_AND_ASSIGN` and have deleted copy ctors and deleted
assignment operators instead.

```
lang=bash
grep DISALLOW_COPY_AND_ASSIGN /opt/notnfs/kkleine/llvm/lldb -r -l | sort | uniq > files

for i in $(cat files);
do
  clang-tidy \
    --checks="-*,modernize-replace-disallow-copy-and-assign-macro" \
    --format-style=LLVM \
    --header-filter=.* \
    --fix \
    -fix-errors \
    $i;
done
```

Reviewers: espindola, labath, aprantl, teemperor

Reviewed By: labath, aprantl, teemperor

Subscribers: teemperor, aprantl, labath, emaste, sbc100, aheejin, MaskRay, arphaman, usaxena95, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D80543
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
The file was modifiedlldb/include/lldb/Target/TargetList.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
The file was modifiedlldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepRange.h
The file was modifiedlldb/include/lldb/Symbol/VariableList.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
The file was modifiedlldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOut.h
The file was modifiedlldb/source/Plugins/Process/Utility/ThreadMemory.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
The file was modifiedlldb/include/lldb/Core/FileLineResolver.h
The file was modifiedlldb/include/lldb/Core/ValueObjectMemory.h
The file was modifiedlldb/include/lldb/Target/LanguageRuntime.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverScripted.h
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepInRange.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallFunction.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointIDList.h
The file was modifiedlldb/include/lldb/Symbol/Block.h
The file was modifiedlldb/include/lldb/Symbol/FuncUnwinders.h
The file was modifiedlldb/include/lldb/Utility/DataEncoder.h
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Host/macosx/objcxx/HostThreadMacOSX.mm
The file was modifiedlldb/include/lldb/Target/UnwindAssembly.h
The file was modifiedlldb/include/lldb/Utility/Timer.h
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h
The file was modifiedlldb/include/lldb/DataFormatters/FormatClasses.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h
The file was modifiedlldb/include/lldb/Target/StackFrame.h
The file was modifiedlldb/include/lldb/Host/HostNativeThreadBase.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.h
The file was modifiedlldb/include/lldb/Target/ThreadPlan.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/include/lldb/Utility/IOObject.h
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
The file was modifiedlldb/include/lldb/Target/Memory.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
The file was modifiedlldb/include/lldb/Core/ValueObjectDynamicValue.h
The file was modifiedlldb/include/lldb/Symbol/TypeList.h
The file was modifiedlldb/include/lldb/Core/ValueObject.h
The file was modifiedlldb/include/lldb/Core/ValueObjectSyntheticFilter.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallUserExpression.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSummary.h
The file was modifiedlldb/include/lldb/Core/ValueObjectCast.h
The file was modifiedlldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
The file was modifiedlldb/include/lldb/Target/RegisterCheckpoint.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.h
The file was modifiedlldb/include/lldb/Breakpoint/Watchpoint.h
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp
The file was modifiedlldb/include/lldb/Host/common/NativeRegisterContext.h
The file was modifiedlldb/include/lldb/Utility/Predicate.h
The file was modifiedlldb/include/lldb/Target/QueueItem.h
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
The file was modifiedlldb/include/lldb/Host/posix/HostThreadPosix.h
The file was modifiedlldb/include/lldb/Core/ThreadSafeValue.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDummy.h
The file was modifiedlldb/include/lldb/Host/windows/HostThreadWindows.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
The file was modifiedlldb/include/lldb/Target/SystemRuntime.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileRegex.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointLocation.h
The file was modifiedlldb/include/lldb/API/SBCommunication.h
The file was modifiedlldb/include/lldb/Interpreter/OptionGroupWatchpoint.h
The file was modifiedlldb/include/lldb/API/SBStream.h
The file was modifiedlldb/include/lldb/Target/StructuredDataPlugin.h
The file was modifiedlldb/include/lldb/Host/HostNativeProcessBase.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMemory.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeFormat.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h
The file was modifiedlldb/include/lldb/Core/Highlighter.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepInstruction.h
The file was modifiedlldb/include/lldb/Core/AddressResolver.h
The file was modifiedlldb/include/lldb/Core/ValueObjectChild.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResult.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/include/lldb/Utility/Listener.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h
The file was modifiedlldb/include/lldb/Core/AddressResolverFileLine.h
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanPython.h
The file was modifiedlldb/include/lldb/Symbol/SymbolVendor.h
The file was modifiedlldb/include/lldb/Host/ProcessRunLock.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.h
The file was modifiedlldb/include/lldb/Core/AddressResolverName.h
The file was modifiedlldb/include/lldb/Target/SectionLoadHistory.h
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepUntil.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
The file was modifiedlldb/include/lldb/Breakpoint/Breakpoint.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverAddress.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultChild.h
The file was modifiedlldb/include/lldb/Core/SourceManager.h
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultImpl.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanShouldStopHere.h
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/include/lldb/Target/ABI.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSynthetic.h
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/include/lldb/Host/PseudoTerminal.h
The file was modifiedlldb/include/lldb/Target/Platform.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointSite.h
The file was modifiedlldb/include/lldb/Breakpoint/StoppointLocation.h
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanRunToAddress.h
The file was modifiedlldb/include/lldb/Core/Communication.h
The file was modifiedlldb/include/lldb/Utility/Connection.h
The file was modifiedlldb/include/lldb/Core/Disassembler.h
The file was modifiedlldb/include/lldb/lldb-defines.h
The file was modifiedlldb/source/Commands/CommandObjectLog.h
The file was modifiedlldb/include/lldb/Target/UnwindLLDB.h
The file was modifiedlldb/include/lldb/Utility/Broadcaster.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
The file was modifiedlldb/include/lldb/Host/MainLoopBase.h
The file was modifiedlldb/include/lldb/Target/DynamicLoader.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepThrough.h
The file was modifiedlldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandObjectRegexCommand.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOverRange.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/include/lldb/Interpreter/OptionGroupVariable.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOverBreakpoint.h
The file was modifiedlldb/include/lldb/Target/Unwind.h
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulationStateARM.h
The file was modifiedlldb/include/lldb/Core/StreamFile.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextHistory.h
The file was modifiedlldb/include/lldb/Symbol/ObjectContainer.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/include/lldb/Symbol/UnwindTable.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultCast.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
The file was modifiedlldb/include/lldb/Target/StopInfo.h
The file was modifiedlldb/include/lldb/Interpreter/ScriptInterpreter.h
The file was modifiedlldb/include/lldb/Expression/IRMemoryMap.h
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
The file was modifiedlldb/include/lldb/Interpreter/CommandHistory.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/include/lldb/DataFormatters/ValueObjectPrinter.h
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/include/lldb/Symbol/DebugMacros.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
The file was modifiedlldb/include/lldb/Target/Queue.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.h
The file was modifiedlldb/include/lldb/Symbol/TypeMap.h
The file was modifiedlldb/include/lldb/Breakpoint/Stoppoint.h
The file was modifiedlldb/include/lldb/Core/EmulateInstruction.h
The file was modifiedlldb/include/lldb/Target/RegisterContextUnwind.h
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h
The file was modifiedlldb/source/Commands/CommandObjectRegister.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolver.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.h
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/include/lldb/Symbol/DeclVendor.h
The file was modifiedlldb/include/lldb/Target/StackFrameList.h
The file was modifiedlldb/include/lldb/Core/ValueObjectRegister.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h
The file was modifiedlldb/include/lldb/Core/ValueObjectVariable.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanBase.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h
The file was modifiedlldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
The file was modifiedlldb/include/lldb/Target/Language.h
The file was modifiedlldb/include/lldb/Target/OperatingSystem.h
The file was modifiedlldb/include/lldb/Target/RegisterContext.h
The file was modifiedlldb/include/lldb/Host/MainLoop.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointList.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
The file was modifiedlldb/include/lldb/Utility/Event.h
Commit 5b8c79ce76e5d50e69506028dcd2921f099edd64 by spatel
[InstCombine] regenerate complete test checks; NFC
The file was modifiedllvm/test/Transforms/InstCombine/select-select.ll
Commit 5a82dc62d2335b9b4da8bacfc5eaf5c534e46a3e by spatel
[InstCombine] add tests for select-of-select-shuffle; NFC
The file was modifiedllvm/test/Transforms/InstCombine/select-select.ll
Commit 089759b96dfac7ae7304a2b24ffdf1a60aaa60e2 by yamauchi
[PGO] Enable memcmp/bcmp size value profiling.

Summary: Following up D79751.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80578
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
Commit 635cde6e8c082af1b499a84745f48f5ec59853b5 by jpienaar
[mlir] Provide defaults to make enabling dumping simpler

Differential Revision: https://reviews.llvm.org/D80818
The file was modifiedmlir/include/mlir/Pass/PassManager.h
Commit 452e0d9023ca9a747a3646a42cea13d66b689de7 by Matthew.Arsenault
AMDGPU: Don't run mode switches with exec 0

These are scalar instructions that change vector instructions, so they
should not be executed without any active lanes.

The implementation of -amdgpu-skip-threshold also seem to be backwards
from expected, since decreasing it prevents removal.
The file was addedllvm/test/CodeGen/AMDGPU/remove-short-exec-branches-mode-def.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit 4b1f6cdbf930b0a47fab334431dca0b964614b19 by Matthew.Arsenault
AMDGPU: Don't run indexing mode switches with exec = 0

Add mode defs rather than special casing this like some of the other
instructions.
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-term.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/no-remat-indirect-mov.mir
The file was addedllvm/test/CodeGen/AMDGPU/remove-short-exec-branches-gpr-idx-mode.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract-vector-elt.mir
Commit cdd30542551a4c1af64b819f50982f197b61e28e by Matthew.Arsenault
AMDGPU: Fix a test to be more stable

The chained unconditional branches can be eliminated and it's not
relevant to the test.
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-agpr.ll
Commit 5b460fb15e8bcd4b5f5ffad253b68aa2bc274049 by Jonas Devlieghere
[llvm-dwarfdump] Print [=<offset>] after --debug-* options in help output.

Some of the --debug-* options can take an optional offset. Although the
man page does a good job of making that clear, it's much harder to
discover from the help output.

Currently the only reference to this is the following sentence:

> Where applicable these parameters take an optional =<offset> argument
> to dump only the entry at the specified offset.

This patch changes the help output from to print [=<offset>] after the
options that take an offset.

  --debug-info[=<offset>]    - Dump the .debug_info section

rdar://problem/63150066

Differential revision: https://reviews.llvm.org/D80959
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.def
The file was modifiedllvm/test/tools/llvm-dwarfdump/cmdline.test
The file was modifiedllvm/include/llvm/DebugInfo/DIContext.h
The file was modifiedllvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-dwarfdump.rst
The file was modifiedllvm/lib/Support/CommandLine.cpp
Commit 7096e04a6831d4668c39b388ccd166f84de69191 by maskray
[Sema] Use isAlwaysUninit for -Wuninitialized-const-reference after D79895
The file was modifiedclang/test/SemaCXX/warn-uninitialized-const-reference.cpp
The file was modifiedclang/lib/Analysis/UninitializedValues.cpp
Commit b78b98491adad1390c23a78a1d207d965d5c88f3 by diego.caballero
Update 'git push' command in GettingStarted guide

'git push' command, without any other arguments, can do different
things depending on the local configuration of Git. This patch
updates the 'git push' command with extra arguments to be more
resilient to any local configuration.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D79964
The file was modifiedllvm/docs/Phabricator.rst
Commit 2f7269b6773de2750f9cd1417ef5f21cd6cf7a91 by a.bataev
Fix compiler crash when an expression parsed in the tentative parsing and must be claimed in the another evaluation context.

Summary:
Clang crashes when trying to finish function body. MaybeODRUseExprs is
not empty because of const static data member parsed in outer evaluation
context, upon call for isTypeIdInParens() function. It builds
annot_primary_expr, later parsed in ParseConstantExpression() in
inner constant expression evaluation context.

Reviewers: rjmccall, rsmith

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80925
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/include/clang/Basic/TokenKinds.def
The file was addedclang/test/AST/alignas_maybe_odr_cleanup.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
Commit 9244be7b0514c41e0fa8a2880595fa663cc2f85f by david.stuttard
[TableGen] Avoid generating switch with just default

Summary:
Switch with just default causes an MSVC warning (warning C4065: switch statement
contains 'default' but no 'case' labels).

Change-Id: I9ddeccdef93666256b5454b164b567b73b488461

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81021
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
Commit b836ae24a9f4202a73a227bc3dac9b1a40979a7d by paulatoth
[libc] Add integration tests.

Summary:
This patch aims to add integration tests to check the following:
1) Header files are generated as expected.
2) Libc functions have the correct public name.
3) Libc functions have the correct return type and parameter types.
4) Symbols are exposed in the public lib.a files.

Reviewers: sivachandra, abrachet

Reviewed By: sivachandra

Subscribers: aheejin, ecnelises, dxf, mgorny, jfb, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D79192
The file was addedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/lib/CMakeLists.txt
The file was modifiedlibc/cmake/modules/LLVMLibCObjectRules.cmake
The file was modifiedlibc/test/src/CMakeLists.txt
The file was addedlibc/config/linux/x86_64/headers.txt
The file was addedlibc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
The file was addedlibc/utils/HdrGen/PrototypeTestGen/CMakeLists.txt
The file was addedlibc/utils/HdrGen/PrototypeTestGen/.clang-tidy
The file was modifiedlibc/utils/HdrGen/CMakeLists.txt
Commit 237be3404b448637ec3b36f8992434193c5bc64c by tlively
[WebAssembly] Improve macro hygiene in wasm_simd128.h

Summary:
The shuffle intrinsic macros did not parenthesize usages of their
constant parameters, which could lead to incorrect results due to
operator precedence issues. This patch fixes the problem by adding the
missing paretheses.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, sunfish, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80968
The file was modifiedclang/lib/Headers/wasm_simd128.h
Commit e31ccee1b01acf703889312ee86023ff87bd39fe by luismarques
[RISCV-V] Provide muldi3 builtin assembly implementation

Provides an assembly implementation of muldi3 for RISC-V, to solve bug 43388.
Since the implementation is the same as for mulsi3, that code was moved to
`riscv/int_mul_impl.inc` and is now reused by both `mulsi3.S` and `muldi3.S`.

Differential Revision: https://reviews.llvm.org/D80465
The file was addedcompiler-rt/lib/builtins/riscv/int_mul_impl.inc
The file was addedcompiler-rt/lib/builtins/riscv/muldi3.S
The file was modifiedcompiler-rt/lib/builtins/riscv/mulsi3.S
Commit d61ad660503d2e0c7ba9981ba6526ae0c2f3b7cc by Jan Korous
[Analyzer][WebKit] Check record definition is available in NoUncountedMembers checker

isRefCountable asserts that the record passed as an argument has a definition available.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=46142

Differential Revision: https://reviews.llvm.org/D81017
The file was addedclang/test/Analysis/Checkers/WebKit/uncounted-members-regression-46142.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
Commit f99d5f8c32a822580a732d15a34e8197da55d22b by tlively
[WebAssembly] Eliminate range checks on br_tables

Summary:
Jump tables for most targets cannot handle out of range indices by
themselves, so LLVM emits range checks to guard the jump
tables. WebAssembly, on the other hand, implements jump tables using
the br_table instruction, which takes a default branch target as an
operand, making the range checks redundant. This patch introduces a
new MachineFunction pass in the WebAssembly backend to find and
eliminate the redundant range checks.

Reviewers: aheejin, dschuff

Subscribers: mgorny, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80863
The file was modifiedllvm/test/CodeGen/WebAssembly/indirectbr.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/switch.ll
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssembly.h
The file was modifiedllvm/test/CodeGen/WebAssembly/stack-insts.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify.ll
The file was addedllvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/CMakeLists.txt
The file was addedllvm/test/CodeGen/WebAssembly/switch-unreachable-default.ll
Commit 086be9fb20489540e6228a6d9eb4afad533202fa by douglas.yung
Fix test on PS4 linux bot.

Commit 301a6da8c24a09052e3bda10e90b450b7b39ffea changed the test and modified a CHECK
line that is inconsisent with similar lines elsewhere in the file and was causing failures
when run in slightly different configurations. This change makes the line more consistent
and should fix the bot failure.

Failure link: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/68593
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-nullptr.cl
Commit 6f6d91867da1bbdd13379a7aac8d6d2526672783 by jezng
[lld-macho] Add some relocation validation logic

I considered making a `Target::validate()` method, but I wasn't sure how
I felt about the overhead of doing yet another switch-dispatch on the
relocation type, so I put the validation in `relocateOne` instead...
might be a bit of a micro-optimization, but `relocateOne` does assume
certain things about the relocations it gets, and this error handling
makes that explicit, so it's not a totally unreasonable code
organization.

Reviewed By: smeenai

Differential Revision: https://reviews.llvm.org/D80049
The file was modifiedlld/MachO/Arch/X86_64.cpp
The file was addedlld/test/MachO/invalid/invalid-relocation.yaml
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/Target.h
Commit df2a5778c32bb0757448f667d570d4e5fd18c16e by jezng
[lld-macho] Error on encountering undefined symbols

... instead of silently emitting a reference to the zero address.

Reviewed By: smeenai

Differential Revision: https://reviews.llvm.org/D80169
The file was addedlld/test/MachO/invalid/undefined-symbol.s
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/InputSection.cpp
Commit a04c133564e6083f297d39136a6aa268c0ac9a06 by jezng
[lld-macho] Set __PAGEZERO size to 4GB

That's what ld64 uses for 64-bit targets. I figured it's best to make
this change sooner rather than later since a bunch of our tests are
relying on hardcoded addresses that depend on this value.

Reviewed By: smeenai

Differential Revision: https://reviews.llvm.org/D80177
The file was modifiedlld/test/MachO/entry-symbol.s
The file was modifiedlld/test/MachO/x86-64-reloc-signed.s
The file was modifiedlld/MachO/Symbols.h
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/test/MachO/segments.s
The file was modifiedlld/MachO/Symbols.cpp
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/Target.h
The file was modifiedlld/test/MachO/x86-64-reloc-unsigned.s
Commit f04d1c3b90c19f5c01b99f8fcd5794a6b338f124 by jezng
[lld-macho] Move all tests for erroneous inputs under invalid/

For consistency.

The no-id-dylib test was originally referencing the Inputs/ folder via a
relative path. Instead of updating that path, I decided to make the test
self-contained.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D80217
The file was removedlld/test/MachO/duplicate-symbol.s
The file was addedlld/test/MachO/invalid/invalid-fat-narch.s
The file was addedlld/test/MachO/invalid/no-id-dylink.yaml
The file was removedlld/test/MachO/alignment-too-large.yaml
The file was addedlld/test/MachO/invalid/duplicate-symbol.s
The file was addedlld/test/MachO/invalid/invalid-fat-offset.s
The file was addedlld/test/MachO/invalid/alignment-too-large.yaml
The file was addedlld/test/MachO/invalid/missing-dylib.s
The file was removedlld/test/MachO/invalid-fat-narch.s
The file was removedlld/test/MachO/no-id-dylink.s
The file was removedlld/test/MachO/invalid-executable.s
The file was removedlld/test/MachO/no-such-file.s
The file was removedlld/test/MachO/missing-dylib.s
The file was removedlld/test/MachO/Inputs/no-id-dylib.yaml
The file was addedlld/test/MachO/invalid/invalid-executable.s
The file was removedlld/test/MachO/invalid-fat-offset.s
The file was addedlld/test/MachO/invalid/no-such-file.s
Commit 1e1a3f67ee717ebb71c461e51c5c233a13f25edb by jezng
[lld-macho] Ensure reads from nlist_64 structs are aligned when necessary

My test refactoring in D80217 seems to have caused yaml2obj to emit
unaligned nlist_64 structs, causing ASAN'd lld to be unhappy. I don't
think this is an issue with yaml2obj though -- llvm-mc also seems to
emit unaligned nlist_64s. This diff makes lld able to safely do aligned
reads under ASAN builds while hopefully creating no overhead for regular
builds on architectures that support unaligned reads.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D80414
The file was modifiedlld/MachO/InputFiles.h
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/MachO/InputFiles.cpp
The file was addedlld/MachO/MachOStructs.h
Commit 26cb70683bd4ffa49d94a8dad5ecfda549a673b0 by n.james93
[NFC][ASTMatchers] StringRef-ify and Twine-ify ASTMatchers tests.
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTest.h
Commit 7694b571d9fd6a8a6c96af1e7995068f7066f6f1 by maskray
[Driver] Add multiclass OptInFlag and OptOutFlag to simplify boolean option definition

Reviewed By: dblaikie, echristo

Differential Revision: https://reviews.llvm.org/D80883
The file was modifiedclang/include/clang/Driver/Options.td
Commit a3ada630d8abd00930db1c2822427be2301a489e by amy.kwan1
[DAGCombiner] Combine shifts into multiply-high

This patch implements a target independent DAG combine to produce multiply-high
instructions from shifts. This DAG combine will combine shifts for any type as
long as the MULH on the narrow type is legal.

For now, it is enabled on PowerPC as PowerPC is the only target that has an
implementation of the isMulhCheaperThanMulShift TLI hook introduced in
D78271.

Moreover, this DAG combine focuses on catching the pattern:
(shift (mul (ext <narrow_type>:$a to <wide_type>), (ext <narrow_type>:$b to <wide_type>)), <narrow_width>)
to produce mulhs when we have a sign-extend, and mulhu when we have
a zero-extend.

The patch performs the following checks:
- Operation is a right shift arithmetic (sra) or logical (srl)
- Input to the shift is a multiply
- Both operands to the shift are sext/zext nodes
- The extends into the multiply are both the same
- The narrow type is half the width of the wide type
- The shift amount is the width of the narrow type
- The respective mulh operation is legal

Differential Revision: https://reviews.llvm.org/D78272
The file was addedllvm/test/CodeGen/PowerPC/mul-high.ll
The file was addedllvm/test/CodeGen/PowerPC/combine-to-mulh-shift-amount.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 971459c3efe6079b308585bae685f4274973a8f2 by echristo
Fix up clang-tidy warnings around null and pointers.
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 915e55c9107807cbad9c4085347f027a8ddbc5c1 by antiagainst
[mlir][spirv] Add support for matrix type

This commit adds basic matrix type support to the SPIR-V dialect
including type definition, IR assembly, parsing, printing, and
(de)serialization.

Differential Revision: https://reviews.llvm.org/D80594
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was addedmlir/test/Dialect/SPIRV/Serialization/matrix.mlir
The file was modifiedmlir/test/Dialect/SPIRV/types.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
Commit d5e0dfd50704021cdbcd770602cb58317d6fdb60 by paulatoth
[libc] Remove integration test target from check libc.

Summary:
This is failing on the asan build because we use `-nostdlib`.
I also took this opportunity to make the target name match the naming structure we've been using.

Reviewers: sivachandra

Reviewed By: sivachandra

Subscribers: mgorny, tschuett, ecnelises, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D81029
The file was modifiedlibc/test/src/CMakeLists.txt
Commit 128219faf98e85126a1620e372e520ec0d3fde04 by llvmgnsyncbot
[gn build] Port f99d5f8c32a
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
Commit af86a10bad28d1829370bfa9b8b7bb9302f637d2 by kadircet
[llvm] Fix unused variable warning
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit b5f2c4e45b8d54063051e6955cef0bbb7b6ab0f8 by richard
PR23029 / C++ DR2233: Allow expanded parameter packs to follow
parameters with default arguments.

Directly follow the wording by relaxing the AST invariant that all
parameters after one with a default arguemnt also have default
arguments, and removing the diagnostic on missing default arguments
on a pack-expanded parameter following a parameter with a default
argument.

Testing also revealed that we need to special-case explicit
specializations of templates with a pack following a parameter with a
default argument, as such explicit specializations are otherwise
impossible to write. The standard wording doesn't address this case; a
issue has been filed.

This exposed a bug where we would briefly consider a parameter to have
no default argument while we parse a delay-parsed default argument for
that parameter, which is also fixed.

Partially incorporates a patch by Raul Tambre.
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx0x-no-extra-copy.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaCXX/implicit-exception-spec.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx03-extra-copy.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/CXX/drs/dr22xx.cpp
The file was modifiedclang/test/SemaCXX/warn-bool-conversion.cpp
The file was modifiedclang/test/CXX/drs/dr1xx.cpp
The file was modifiedclang/www/cxx_dr_status.html
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/test/SemaCXX/decl-init-ref.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/test/CXX/drs/dr0xx.cpp
The file was addedclang/test/CXX/expr/expr.post/expr.call/p4.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaCXX/abstract.cpp
The file was modifiedclang/test/CXX/drs/dr7xx.cpp
Commit ca4bd052f68c11a95fe7ac4f115b82ea05dd1c08 by craig.topper
[X86] Cleanup inconsistencies in our zext/sext vector patterns.

-Fix one place where we had a X86vzload64 but should have had
X86vzload32.
-Make sure all patterns that have scalar_to_vector+loadi64 also
have scalar_to_vector+f64 to match 32-bit codegen.
-Add some bitcasts that were missing from patterns.
-Make sure that if we have a scalar_to_vector+load pattern
we also have a vzload pattern.

We probably need some better canonicalization to avoid having
so many patterns.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
Commit 3eb16fe4e945631988d6d302d0bc317d8c07279c by rnk
[LLD] Have only one SpecificAllocator per type

Previously, the SpecificAllocator was a static local in the `make<T>`
function template. Using static locals is nice because they are only
constructed and registered if they are accessed. However, if there are
multiple calls to make<> with different constructor parameters, we would
get multiple static local variable instances. This is undesirable and
leads to extra memory allocations. I noticed there were two sources of
DefinedRegular allocations while checking heap profiles.
The file was modifiedlld/include/lld/Common/Memory.h
Commit 961c1b5f7244e0fca93b504a6d234476e17adbbe by craig.topper
[X86] Remove DeleteNode calls from PreprocessISelDAG. Rely on the RemoveDeadNodes call at the end.

Add a MadeChange flag so we don't call RemoveDeadNodes unless
something changed.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 16437992cac249f6fe1efd392d20e3469b47e39e by richard
Undo removal of test for dr777.
The file was modifiedclang/test/CXX/drs/dr7xx.cpp
The file was modifiedclang/www/cxx_dr_status.html
Commit 7de45878059a4e38dd6ceba43a058cee5d283b97 by ntv
[mlir] NFC - Add AffineMinMaxOpBase getDim/SymbolOperands
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.td
Commit 153a24ab0fc5e1caa2bc304933870bfb5f7198e6 by echristo
Undo initialization of TRI in CGP as this is unconditionally initialized
later.
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit d767de44bf9527cb5058f5fe16aac2f23c21977c by jezng
[lld-macho] Fix PAGEZERO=4GB errors on Windows by ensuring enum is uint64_t

It appears that MSVC doesn't resize the enum properly to fit the
constants.
The file was modifiedlld/MachO/Target.h
Commit 8a418e5f8e89af7197e2d7dc10e39885b05fe0b8 by diego.caballero
[mlir][Affine] Enable fusion of loops with vector loads/stores

This patch enables affine loop fusion for loops with affine vector loads
and stores. For that, we only had to use affine memory op interfaces in
LoopFusionUtils.cpp and Utils.cpp so that vector loads and stores are
also taken into account.

Reviewed By: andydavis1, ftynse

Differential Revision: https://reviews.llvm.org/D80971
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.td
The file was modifiedmlir/test/Transforms/loop-fusion.mlir
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/lib/Transforms/Utils/Utils.cpp
Commit 8eda71616fecd098cbd7d2447859c8ac1315966f by ndesaulniers
[Clang][A32/T32][Linux] -O1 implies -fomit-frame-pointer

Summary:
An upgrade of LLVM for CrOS [0] containing [1] triggered a bunch of
errors related to writing to reserved registers for a Linux kernel's
arm64 compat vdso (which is a aarch32 image).

After a discussion on LKML [2], it was determined that
-f{no-}omit-frame-pointer was not being specified. Comparing GCC and
Clang [3], it becomes apparent that GCC defaults to omitting the frame
pointer implicitly when optimizations are enabled, and Clang does not.
ie. setting -O1 (or above) implies -fomit-frame-pointer. Clang was
defaulting to -fno-omit-frame-pointer implicitly unless -fomit-frame-pointer
was set explicitly.

Why this becomes a problem is that the Linux kernel's arm64 compat vdso
contains code that uses r7. r7 is used sometimes for the frame pointer
(for example, when targeting thumb (-mthumb)). See useR7AsFramePointer()
in llvm/llvm-project/llvm/lib/Target/ARM/ARMSubtarget.h. This is mostly
for legacy/compatibility reasons, and the 2019 Q4 revision of the ARM
AAPCS looks to standardize r11 as the frame pointer for aarch32, though
this is not yet implemented in LLVM.

Users that are reliant on the implicit value if unspecified when
optimizations are enabled should explicitly choose -fomit-frame-pointer
(new behavior) or -fno-omit-frame-pointer (old behavior).

[0] https://bugs.chromium.org/p/chromium/issues/detail?id=1084372
[1] https://reviews.llvm.org/D76848
[2] https://lore.kernel.org/lkml/20200526173117.155339-1-ndesaulniers@google.com/
[3] https://godbolt.org/z/0oY39t

Reviewers: kristof.beyls, psmith, danalbert, srhines, MaskRay, ostannard, efriedma

Reviewed By: psmith, danalbert, srhines, MaskRay, efriedma

Subscribers: efriedma, olista01, MaskRay, vhscampos, cfe-commits, llvm-commits, manojgupta, llozano, glider, hctim, eugenis, pcc, peter.smith, srhines

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D80828
The file was modifiedclang/test/Driver/frame-pointer-elim.c
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
Commit 39fa431c8ccad45de9ec67e8681da923d0cd28c7 by Jan Korous
[Analyzer][NFC] Fix markup in WebKit checkers documentation
The file was modifiedclang/docs/analyzer/checkers.rst
Commit fc07c1af69584d71a6a6ab3da7afd4837b08ea37 by Vitaly Buka
[StackSafety] Delete useless test
The file was removedllvm/test/Analysis/StackSafetyAnalysis/scev-udiv.ll
Commit 232d348c6eff8493fc016b1ea8a99db0e5620d81 by Vitaly Buka
[MTE] Convert StackSafety into analysis

This lets us to remove !stack-safe metadata and
better controll when to perform StackSafety
analysis.

Reviewers: eugenis

Subscribers: hiraditya, steven_wu, dexonsmith, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D80771
The file was modifiedclang/test/Driver/memtag_lto.c
The file was modifiedllvm/include/llvm/Analysis/StackSafetyAnalysis.h
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTagging.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedclang/test/Driver/memtag.c
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was removedllvm/test/Analysis/StackSafetyAnalysis/ipa-attr.ll
The file was modifiedllvm/test/CodeGen/AArch64/stack-tagging.ll
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
Commit 5138a91ef4f365a3e71eec4cea6b4599dfaabf26 by Jonas Devlieghere
[lldb/Test] Don't use the env to pass around configuration variables (NFC)

Don't use the environment to pass values to the builder that are present
in the dotest configuration module. A subsequent patch will pass the
remaining values through the configuration instead of the environment.
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
Commit 587af86f1d8adc77b229ed27b2f553e99f9710cd by carrot
[X86] Add a flag to guard the wide load

As shown in http://lists.llvm.org/pipermail/llvm-dev/2020-May/141854.html,
widen load can also cause stall. Add a flag to guard the widening code,
so users can disable it and evaluate its performance impact.

Differential Revision: https://reviews.llvm.org/D80943
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedllvm/test/CodeGen/X86/no-wide-load.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit bbe79e27bdfbf59838e4d409038aef78a8161989 by thomasraoux
[mlir][spirv] Fix encoding of cooperative matrix type to match SPIRV spec

Scope, rows and columns need to be encoded in a separate constant operation.

Differential Revision: https://reviews.llvm.org/D80852
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
Commit 81dd3a47189ec2e2c83d5948748dcfadb9463923 by thomasraoux
[mlir][spirv] Fix coop matrix getExtension

Stack variable was being used beyond its lifetime.

Differential Revision: https://reviews.llvm.org/D80948
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
Commit 393ac216489773e3676ec7d80c3d993f78a29b6a by Jonas Devlieghere
[lldb/Test] Pass Make arguments in invocation instead of environment

The Darwin builder is passing some of the make arguments trough the
environment instead of the command line. Update the dsym builder to do
the same as the other variants.
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py
Commit 4c53d4801cbbb1b573e4ef758f93ead12e1f59a2 by Jonas Devlieghere
[lldb/Test] Don't use the env to pass around configuration variables (NFC)

Don't use the environment to pass values to the builder. Use the
configuration instead.
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
Commit 2d2a603d663328e25774982947e3a8a65e098678 by Adrian Prantl
Remove redundant code (NFC)

This has no effect on the testsuite and was only needed in an early
prototype from before debugserver was able to report the correct
platform.
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
Commit 7a6c89427c9babc8e4a69e8a2b61bbf4a4b80c56 by wmi
[SampleFDO] Add use-sample-profile function attribute.

When sampleFDO is enabled, people may expect they can use
-fno-profile-sample-use to opt-out using sample profile for a certain file.
That could be either for debugging purpose or for performance tuning purpose.
However, when thinlto is enabled, if a function in file A compiled with
-fno-profile-sample-use is imported to another file B compiled with
-fprofile-sample-use, the inlined copy of the function in file B may still
get its profile annotated.

The inconsistency may even introduce profile unused warning because if the
target is not compiled with explicit debug information flag, the function
in file A won't have its debug information enabled (debug information will
be enabled implicitly only when -fprofile-sample-use is used). After it is
imported into file B which is compiled with -fprofile-sample-use, profile
annotation for the outline copy of the function will fail because the
function has no debug information, and that will trigger  profile unused
warning.

We add a new attribute use-sample-profile to control whether a function
will use its sample profile no matter for its outline or inline copies.
That will make the behavior of -fno-profile-sample-use consistent.

Differential Revision: https://reviews.llvm.org/D79959
The file was addedllvm/test/Transforms/SampleProfile/Inputs/use-sample-profile-attr.prof
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.td
The file was modifiedllvm/test/Transforms/SampleProfile/cov-zero-samples.ll
The file was modifiedllvm/test/Transforms/SampleProfile/profile-sample-accurate.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-stats.ll
The file was modifiedllvm/test/Transforms/SampleProfile/section-accurate-samplepgo.ll
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/early-inline.ll
The file was modifiedllvm/test/Transforms/SampleProfile/gcc-simple.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-mergeprof.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-callee-update.ll
The file was modifiedllvm/test/Transforms/SampleProfile/syntax.ll
The file was modifiedllvm/test/Transforms/SampleProfile/discriminator.ll
The file was modifiedllvm/test/Transforms/SampleProfile/indirect-call.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-cold-callsite-samplepgo.ll
The file was modifiedllvm/test/Transforms/SampleProfile/remarks.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-combine.ll
The file was modifiedllvm/test/LTO/Resolution/X86/load-sample-prof-icp.ll
The file was modifiedllvm/test/Transforms/SampleProfile/entry_counts_missing_dbginfo.ll
The file was modifiedllvm/test/Transforms/SampleProfile/calls.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-cold.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-coverage.ll
The file was modifiedllvm/test/Transforms/SampleProfile/nolocinfo.ll
The file was modifiedllvm/test/Transforms/SampleProfile/entry_counts.ll
The file was modifiedllvm/test/Transforms/SampleProfile/branch.ll
The file was modifiedllvm/test/Transforms/SampleProfile/Inputs/profile-symbol-list.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline-topdown.ll
The file was modifiedllvm/test/Transforms/SampleProfile/entry_counts_cold.ll
The file was modifiedllvm/test/LTO/Resolution/X86/load-sample-prof-lto.ll
The file was addedllvm/test/Transforms/Inline/partial-inline-incompat-attrs.ll
The file was modifiedllvm/test/Transforms/SampleProfile/fnptr.ll
The file was modifiedllvm/test/Transforms/SampleProfile/profile-format-compress.ll
The file was modifiedllvm/test/Transforms/SampleProfile/propagate.ll
The file was modifiedllvm/test/Transforms/SampleProfile/cold-indirect-call.ll
The file was modifiedllvm/test/Transforms/SampleProfile/coverage-warning.ll
The file was addedllvm/test/Transforms/SampleProfile/use-sample-profile-attr.ll
The file was modifiedllvm/test/Transforms/SampleProfile/offset.ll
The file was modifiedllvm/test/Transforms/SampleProfile/profile-format.ll
The file was modifiedllvm/test/Transforms/SampleProfile/warm-inline-instance.ll
The file was modifiedllvm/test/Transforms/SampleProfile/remap.ll
The file was modifiedllvm/test/Transforms/SampleProfile/indirect-call-gcc.ll
The file was modifiedllvm/test/LTO/Resolution/X86/load-sample-prof.ll
The file was modifiedllvm/test/Transforms/SampleProfile/function_metadata.ll
The file was addedclang/test/CodeGen/use-sample-profile-attr.c
The file was addedllvm/test/Transforms/Inline/inline-incompat-attrs.ll
The file was modifiedllvm/test/Transforms/SampleProfile/inline.ll
Commit f48bc44ace1a100bef676e630d5089779e7b87bf by Vitaly Buka
[MTE] Move tagging in pipeline

Summary:
This removes two analyses from pipeline.

Depends on D80771.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80780
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
Commit f62813e7eae148a6175de28bfa384524a9f2bf94 by Vitaly Buka
[NFC, StackSafety] Change type of internal container

Summary: Depends on D80771.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80847
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit 85fdec988fc55d56988d57fa88e2b870f6e0e8e9 by Vitaly Buka
[NFC,MTE] Drop unneeded attribute from test

Summary: Depends on D80847.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: hiraditya, steven_wu, dexonsmith, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80954
The file was modifiedclang/test/Driver/memtag_lto.c
Commit f355c7fc2f8fb0db829313b8e43f974ed730cf6d by kazu
[JumpThreading] Simplify FindMostPopularDest (NFC)

Summary:
This patch simplifies FindMostPopularDest without changing the
functionality.

Given a list of jump threading destinations, the function finds the
most popular destination.  To ensure determinism when there are
multiple destinations with the highest popularity, the function picks
the first one in the successor list with the highest popularity.

Without this patch:

- The function populates DestPopularity -- a histogram mapping
  destinations to their respective occurrence counts.

- Then we iterate over DestPopularity, looking for the highest
  popularity while building a vector of destinations with the highest
  popularity.

- Finally, we iterate the successor list, looking for the destination
  with the highest popularity.

With this patch:

- We implement DestPopularity with MapVector instead of DenseMap.  We
  populate the map with popularity 0 for all successors in the order
  they appear in the successor list.

- We build the histogram in the same way as before.

- We simply use std::max_element on DestPopularity to find the most
  popular destination.  The use of MapVector ensures determinism.

Reviewers: wmi, efriedma

Reviewed By: wmi

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81030
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
Commit 8b96703652ade915eb444b8dae91ae6a16d32d75 by Jessica Paquette
[AArch64][GlobalISel] Select zip1 and zip2

Port the code to recognize a zip1/zip2 shuffle mask from AArch64ISelLowering
and put it into the post-legalizer combiner.

Add G_ZIP1 and G_ZIP2 to AArch64InstrGISel.td and hook them up as equivalent
nodes to AArch64zip1 and AArch64zip2. This allows us to select them.

Minor code size improvements for SPECINT2000 at -O3 on 197.parser, 252.eon, and
186.crafty.

Differential Revision: https://reviews.llvm.org/D80969
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/lib/Target/AArch64/AArch64PostLegalizerCombiner.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-zip.mir
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-zip.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrGISel.td

Summary

  1. [libc builder] Add integration test step to non asan builds. (details)
  2. [libc builder] Fix type in integration test command. (details)
Commit fdece131fdcc2bd0ea9e919592b07e5a56a6b9fa by paulatoth
[libc builder] Add integration test step to non asan builds.

Reviewers: sivachandra

Reviewed By: sivachandra

Tags: #zorg

Differential Revision: https://reviews.llvm.org/D81039
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py
Commit d93182bd9603056049608bc9d26fa5f003ed216d by paulatoth
[libc builder] Fix type in integration test command.
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py