FailedChanges

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

Summary

  1. [NFC] Move vector unmerge(trunc) combine to function (details)
  2. [GlobalISel] Combine scalar unmerge(trunc) (details)
  3. [StatepointLowering] Handle UNDEF gc values. (details)
  4. Options for Basic Block Sections, enabled in D68063 and D73674. (details)
  5. [OpenMP][OMPT] Fix and add event callbacks for detached tasks (details)
  6. [NFC][ARM][AArch64] Test runs (details)
  7. [llvm-exegesis] Fix D80610. (details)
  8. [VE] Support I32/F32 registers in assembler parser (details)
  9. Run syntax tree tests in many language modes (details)
  10. [mips] Support 64-bit relative relocations (details)
  11. [AST] Fix a null initializer crash for InitListExpr (details)
  12. [VectorCombine][X86] Add loaded insert tests from D80885 (details)
  13. [LLDB] Mark TestCreateDuringInstructionStep as flaky on Linux (details)
  14. [EarlyCSE] Common gc.relocate calls. (details)
  15. [mlir] Introduce CallOp converter for buffer placement (details)
  16. [LV] Make sure the MaxVF is a power-of-2 by rounding down. (details)
  17. [Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC). (details)
  18. TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC. (details)
  19. TextAPIReader.h - reduce MemoryBuffer.h include to forward declaration. NFC. (details)
  20. [mlir] post-commit review fixes (details)
  21. Add missing MemoryBuffer.h include (details)
  22. [mlir] Toy tutorial: avoid erasing and then re-creating loop terminators (details)
  23. [DebugInfo] Extract a helper function to return the DWARF format name, NFC [1/10] (details)
  24. [DebugInfo] Report the format of .debug_names [2/10] (details)
  25. [DebugInfo] Report the format of compilation units [3/10] (details)
  26. [DebugInfo] Report the format of address tables [4/10] (details)
  27. [DebugInfo] Report the format of address range tables [5/10] (details)
  28. [DebugInfo] Report the format of call frame information entries [6/10] (details)
  29. [DebugInfo] Report the format of line tables [7/10] (details)
  30. [DebugInfo] Report the format of tables in .debug_pub* sections [8/10] (details)
  31. [DebugInfo] Report the format of location and range lists [9/10] (details)
  32. [DebugInfo] Report the format of type units [10/10] (details)
  33. [lldb/DWARF] Add support for pre-standard GNU call site attributes (details)
  34. [Support] Make DataExtractor error messages more clear (details)
  35. [mlir] SCFToGPUPass: fix macros referring to LOOPS to use SCF instead (details)
  36. [CSInfo][NFC] Interpret loaded parameter value separately (details)
  37. [clangd] Copy existing includes in ReplayPreamble (details)
  38. [mlir] support materialization for 1-1 type conversions (details)
  39. Fix a failing test. (details)
  40. [gn build] (manually) port 44f989e7809 (details)
  41. Revert "[clangd] Copy existing includes in ReplayPreamble" (details)
  42. [clangd] Copy existing includes in ReplayPreamble (details)
  43. AMDGPU: Fix clang side null pointer value for private (details)
  44. [lldb] Handle a new clang built-in type (details)
  45. Remove a comment-out llvm::errs debugging code, NFC. (details)
  46. AMDGPU: Fix not using scalar loads for global reads in shaders (details)
  47. [AST][RecoveryExpr] Build RecoveryExpr for "undef_var" cases. (details)
  48. Use Pseudo Instruction to carry stack probing information (details)
  49. [yaml2obj] - Allocate the file space for SHT_NOBITS sections in some cases. (details)
  50. Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03, and 2a to 20 (details)
  51. [OPENMP50]Initial codegen for 'affinity' clauses. (details)
  52. Reinstate the syntax tree test for 'static' in an array subscript (details)
  53. [Dexter] Add os.path.normcase(...) transform to test path early. (details)
  54. [Dexter] Add DexLimitSteps command and ConditionalController (details)
  55. [flang] Fix release build flags. (details)
  56. TypeSymbolEmitter.h - reduce includes to forward declarations. NFC. (details)
  57. [libc++abi] Make sure we link in CrashReporterClient.a when it's present (details)
  58. [lldb] Skip tests exercising DW_OP_GNU_entry_value with dsymutil (details)
  59. Support ExtVectorType conditional operator (details)
  60. [Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function (details)
  61. [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN (details)
  62. [InstCombine] regenerate complete test checks; NFC (details)
  63. [InstCombine] add tests for select-of-select-shuffle; NFC (details)
  64. [PGO] Enable memcmp/bcmp size value profiling. (details)
  65. [mlir] Provide defaults to make enabling dumping simpler (details)
  66. AMDGPU: Don't run mode switches with exec 0 (details)
  67. AMDGPU: Don't run indexing mode switches with exec = 0 (details)
  68. AMDGPU: Fix a test to be more stable (details)
  69. [llvm-dwarfdump] Print [=<offset>] after --debug-* options in help output. (details)
  70. [Sema] Use isAlwaysUninit for -Wuninitialized-const-reference after D79895 (details)
  71. Update 'git push' command in GettingStarted guide (details)
  72. Fix compiler crash when an expression parsed in the tentative parsing and must be claimed in the another evaluation context. (details)
  73. [TableGen] Avoid generating switch with just default (details)
  74. [libc] Add integration tests. (details)
  75. [WebAssembly] Improve macro hygiene in wasm_simd128.h (details)
  76. [RISCV-V] Provide muldi3 builtin assembly implementation (details)
  77. [Analyzer][WebKit] Check record definition is available in NoUncountedMembers checker (details)
  78. [WebAssembly] Eliminate range checks on br_tables (details)
  79. Fix test on PS4 linux bot. (details)
  80. [lld-macho] Add some relocation validation logic (details)
  81. [lld-macho] Error on encountering undefined symbols (details)
  82. [lld-macho] Set __PAGEZERO size to 4GB (details)
  83. [lld-macho] Move all tests for erroneous inputs under invalid/ (details)
  84. [lld-macho] Ensure reads from nlist_64 structs are aligned when necessary (details)
  85. [NFC][ASTMatchers] StringRef-ify and Twine-ify ASTMatchers tests. (details)
  86. [Driver] Add multiclass OptInFlag and OptOutFlag to simplify boolean option definition (details)
  87. [DAGCombiner] Combine shifts into multiply-high (details)
  88. Fix up clang-tidy warnings around null and pointers. (details)
  89. [mlir][spirv] Add support for matrix type (details)
  90. [libc] Remove integration test target from check libc. (details)
  91. [gn build] Port f99d5f8c32a (details)
Commit b3c6a36dba569ee7f4353173cfa3e6264ba8d7af by dominik.montada
[NFC] Move vector unmerge(trunc) combine to function

In preparation of D79567, move arsenm's vector unmerge(trunc)
combine to a new function `tryFoldUnmergeCast`
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
Commit 052c962ced71c5130d709186b78c37a4adc59d66 by dominik.montada
[GlobalISel] Combine scalar unmerge(trunc)

Summary:
Combine unmerge(trunc) to enable other merge combines.
Without this combine, the scalar unmerge(trunc(merge))
pattern cannot be combined and easily lead to
hard-to-legalize merge/unmerge artifacts.

Reviewed By: arsenm

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79567
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/zextload.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-freeze.mir
Commit fa818ded24413c8b9722dd564b04d9ffc50743b5 by dantrushin
[StatepointLowering] Handle UNDEF gc values.

Do not spill UNDEF GC values. Instead, replace corresponding
gc.relocate intrinsic with an (arbitrary, but recognizable) constant.

Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D80714
The file was modifiedllvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/statepoint-uniqueing.ll
Commit e0bca46b0854143b2f93b60aac99e669c9776979 by tmsriram
Options for Basic Block Sections, enabled in D68063 and D73674.

This patch adds clang options:
-fbasic-block-sections={all,<filename>,labels,none} and
-funique-basic-block-section-names.
LLVM Support for basic block sections is already enabled.

+ -fbasic-block-sections={all, <file>, labels, none} : Enables/Disables basic
block sections for all or a subset of basic blocks. "labels" only enables
basic block symbols.
+ -funique-basic-block-section-names: Enables unique section names for
basic block sections, disabled by default.

Differential Revision: https://reviews.llvm.org/D68049
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was addedclang/test/CodeGen/basic-block-sections.c
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/include/clang/Basic/DiagnosticFrontendKinds.td
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was addedclang/test/Driver/fbasic-block-sections.c
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedllvm/lib/CodeGen/BBSectionsPrepare.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/CodeGen/Inputs/basic-block-sections.funcnames
The file was addedclang/test/Driver/funique-basic-block-section-names.c
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/Config.h
Commit 10995c77b4766ad2d416919854228fd7a03db5ef by protze
[OpenMP][OMPT] Fix and add event callbacks for detached tasks

The OpenMP spec has the task-fulfill event for a call to omp_fulfill_event.
If the task did not yet finish execution, ompt_task_early_fulfill is used,
otherwise ompt_task_late_fulfill.
If a task does not complete, when the execution finishes (i.e., the task goes
in detached mode), ompt_task_detach instead of ompt_task_complete must be
used, when the next task is scheduled.

A test for both cases is included, which only work with clang-11+

Reviewed By: hbae

Differential revision: https://reviews.llvm.org/D80843
The file was modifiedopenmp/runtime/test/ompt/callback.h
The file was addedopenmp/runtime/test/ompt/tasks/task_early_fulfill.c
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was addedopenmp/runtime/test/ompt/tasks/task_late_fulfill.c
Commit e70cf280f80c0933dd500ff18c7a17af8057b28c by sam.parker
[NFC][ARM][AArch64] Test runs

Add code size tests runs for memory ops for both architectures.
The file was modifiedllvm/test/Analysis/CostModel/AArch64/store.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/load_store.ll
Commit 5b8c1ed2c802d3ae016363bab6d1e117b09ecdc9 by courbet
[llvm-exegesis] Fix D80610.

Summary:
Using a .data() member on a StringRef was discarding the StringRef
size, breaking llvm-exegesis on machines with counter sums (e.g.
Zen2).

Reviewers: oontvoo

Subscribers: mstojanovic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80982
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
Commit ec2e9ce73e6c2d70523f7e51a23bf07f998ebecd by simon.moll
[VE] Support I32/F32 registers in assembler parser

Summary:
Support I32/F32 registers in assembler parser and add regression tests of LD/ST
instructions.

Differential Revision: https://reviews.llvm.org/D80777
The file was addedllvm/test/MC/VE/ST.s
The file was modifiedllvm/lib/Target/VE/AsmParser/VEAsmParser.cpp
The file was addedllvm/test/MC/VE/LD.s
Commit 44f989e7809633f13bd0420cc1d79660ad982173 by gribozavr
Run syntax tree tests in many language modes

Reviewers: hlopko, eduucaldas

Reviewed By: hlopko, eduucaldas

Subscribers: gribozavr2, mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80822
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/unittests/Tooling/Syntax/CMakeLists.txt
Commit b00f0d4238cb34a54073cc5ab7e2060d58f69e3f by simon
[mips] Support 64-bit relative relocations

MIPS 64-bit ABI does not provide special PC-relative relocation like
R_MIPS_PC32 in 32-bit case. But we can use a "chain of relocation"
defined by N64 ABIs. In that case one relocation record might contain up
to three relocations which applied sequentially. Width of a final relocation
mask applied to the result of relocation depends on the last relocation
in the chain. In case of 64-bit PC-relative relocation we need the following
chain: `R_MIPS_PC32 | R_MIPS_64`. The first relocation calculates an
offset, but does not truncate the result. The second relocation just
apply calculated result as a 64-bit value.

The 64-bit PC-relative relocation might be useful in generation of
`.eh_frame` sections to escape passing `-Wl,-z,notext` flags to linker.

Differential Revision: https://reviews.llvm.org/D80390
The file was modifiedllvm/test/MC/Mips/relocation-n64.s
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
The file was modifiedllvm/test/MC/Mips/unsupported-relocation.s
The file was addedlld/test/ELF/mips-pc64.s
Commit 97b8dabba5c5c1d799bd8b6856d4a81360361769 by hokein.wu
[AST] Fix a null initializer crash for InitListExpr

Summary:
The Initializer of a InitListExpr can be reset to null, which leads to
nullptr-acces crashes.

Reviewers: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80980
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/AST/ast-dump-recovery.cpp
Commit 6ce6960b92fcae70bc54633d16f01d302a5dad8d by llvm-dev
[VectorCombine][X86] Add loaded insert tests from D80885
The file was modifiedllvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant.ll
Commit cbfae97ca82b11ab2b54562055c49817baa1e26b by omair.javaid
[LLDB] Mark TestCreateDuringInstructionStep as flaky on Linux

This patch marks TestCreateDuringInstructionStep.py as flakey for Linux.
This is failing randomly on arm/aarch64. I will monitor buildbot and
skip it if it fails again.
The file was modifiedlldb/test/API/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py
Commit 3c626c714c9d1521b57ff07b1211f9d21cbeceef by dantrushin
[EarlyCSE] Common gc.relocate calls.

gc.relocate intrinsic is special in that its second and third operands
are not real values, but indices into relocate's parent statepoint list
of GC pointers.
To be CSE'd, they need special handling in `isEqual()` and `getHashCode()`.

Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D80445
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was addedllvm/test/Transforms/EarlyCSE/gc_relocate.ll
Commit 3f6a35e3ffd49e063bb12464513b3847c535c242 by ehsan.nadjaran_toosi
[mlir] Introduce CallOp converter for buffer placement

Add BufferAssignmentCallOpConverter as a pattern rewriter for Buffer
Placement. It matches the signature of the caller operation with the callee
after rewriting the callee with FunctionAndBlockSignatureConverter.

Differential Revision: https://reviews.llvm.org/D80785
The file was modifiedmlir/test/lib/Transforms/TestBufferPlacement.cpp
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
The file was modifiedmlir/test/Transforms/buffer-placement-preparation.mlir
The file was modifiedmlir/include/mlir/Transforms/BufferPlacement.h
Commit b446ec56a2987ba02dc2c80d42100be4a4689215 by flo
[LV] Make sure the MaxVF is a power-of-2 by rounding down.

LV currently only supports power of 2 vectorization factors, which has
been made explicit with the assertion added in
840450549c9199150cbdee29acef756c19660ca1.

However, if the widest type is not a power-of-2 the computed MaxVF won't
be a power-of-2 either. This patch updates computeFeasibleMaxVF to
ensure the returned value is a power-of-2 by rounding down to the
nearest power-of-2.

Fixes PR46139.

Reviewers: Ayal, gilr, rengolin

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D80870
The file was addedllvm/test/Transforms/LoopVectorize/X86/fp80-widest-type.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit a6a42df506ca93df69725f732c396050060f026f by flo
[Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC).
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit f322f1a9ed65bb55528e8b8066572831ca26fe57 by llvm-dev
TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC.
The file was modifiedllvm/include/llvm/TextAPI/MachO/TextAPIWriter.h
Commit c1e855479e4a2ca1f968360622d3b5c8100b97f5 by llvm-dev
TextAPIReader.h - reduce MemoryBuffer.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/TextAPI/MachO/TextAPIReader.h
Commit 195d8571b9e296e7894d51cf59b7aeed42eaa2d2 by zinenko
[mlir] post-commit review fixes

This fixes several post-commit nits from D79688 and D80135, namely
typos, debug output and control flow inversion.
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/lib/Dialect/GPU/Transforms/MemoryPromotion.cpp
The file was modifiedmlir/lib/Transforms/DialectConversion.cpp
Commit c5b9fa1ccced3b4b20901f78c693a1a84aff372b by llvm-dev
Add missing MemoryBuffer.h include
The file was modifiedllvm/unittests/TextAPI/TextStubHelpers.h
Commit b596ecdd574e3ec717f71950370d2f58ae44296f by zinenko
[mlir] Toy tutorial: avoid erasing and then re-creating loop terminators

The lower-to-affine-loops pass in chapters 5-7 of the Toy tutorial has
been creating affine loops, erasing their terminator and creating it
anew using a PatternRewriter instance to work around the fact that
implicit terminators were created without notifying the rewriter. Now
that has been fixed in 3ccf4a5bd109, remove the code erasing and
re-creating the terminators and rely on the default ones.
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
Commit 5e296e3db710ea34c535f9f6a4dd3973ba8d3f74 by ikudrin
[DebugInfo] Extract a helper function to return the DWARF format name, NFC [1/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/lib/BinaryFormat/Dwarf.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
Commit 6aed60c01c5a0b1258c58ced8737ac9aebe2fc43 by ikudrin
[DebugInfo] Report the format of .debug_names [2/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-names.s
Commit ef7ada04b187b9fb2d693cd295fd8437da17de02 by ikudrin
[DebugInfo] Report the format of compilation units [3/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-header-64.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_info_min_dwarf64.s
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-header.s
The file was modifiedllvm/test/DebugInfo/dwarfdump-zlib.test
The file was modifiedllvm/test/tools/llvm-dwp/X86/info-v5.s
The file was modifiedllvm/test/tools/dsymutil/X86/generate-empty-CU.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_nouse.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/lookup.s
The file was modifiedllvm/test/MC/WebAssembly/dwarfdump.ll
The file was modifiedllvm/test/tools/dsymutil/X86/empty-CU.test
Commit 48232a4858b4219b4ab09a698da57de407664877 by ikudrin
[DebugInfo] Report the format of address tables [4/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr.s
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_dwarf64.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_rela.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_mismatch.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_64bit_address.s
Commit 2ea94c8a42bebd47eb25a2321264c19c36424009 by ikudrin
[DebugInfo] Report the format of address range tables [5/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
The file was modifiedllvm/test/MC/ARM/dwarf-asm-nonstandard-section.s
The file was modifiedllvm/test/MC/MachO/gen-dwarf.s
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
The file was modifiedllvm/test/MC/ARM/dwarf-asm-single-section.s
The file was modifiedllvm/test/tools/dsymutil/X86/basic-linking-x86.test
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-aranges.s
Commit 4933ab2ccb3a10a89ffe88e4d25e38544791caf8 by ikudrin
[DebugInfo] Report the format of call frame information entries [6/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/test/MC/Mips/eh-frame.s
The file was modifiedllvm/test/DebugInfo/X86/debug-frame-dwarf64.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_frame_offset.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_frame_GNU_args_size.s
The file was modifiedlld/test/ELF/eh-frame-hdr-augmentation.s
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/test/tools/dsymutil/X86/frame-2.test
The file was modifiedllvm/lib/BinaryFormat/Dwarf.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/eh-frame-return-address-reg.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
Commit da913259c7ff03d07ba52c49859c6b6669a0b386 by ikudrin
[DebugInfo] Report the format of line tables [7/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_dwarf64_large_table.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug-line.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-line-dwo.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
The file was modifiedllvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll
Commit ec9d7ea4f5bb4e0d07ca9e3aa77b0279b19e58b1 by ikudrin
[DebugInfo] Report the format of tables in .debug_pub* sections [8/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/test/DebugInfo/dwarfdump-pubnames.test
The file was modifiedllvm/test/tools/dsymutil/ARM/obfuscated.test
The file was modifiedllvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
The file was modifiedllvm/test/tools/dsymutil/X86/basic-linking-x86.test
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-pubnames.s
Commit def677194c43c04fcd9a45434a83f65cae1dc76a by ikudrin
[DebugInfo] Report the format of location and range lists [9/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFListTable.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_dwarf64.s
The file was modifiedllvm/test/DebugInfo/X86/split-dwarf-v5-ranges.ll
The file was modifiedllvm/test/DebugInfo/X86/rnglists_curanges.ll
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists-dwarf64.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test
The file was modifiedllvm/test/DebugInfo/X86/fission-ranges.ll
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections.s
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-rnglists-dwarf64.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_rnglists.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s
Commit c3902b62e63752edd196648f797af5f97006ae1d by ikudrin
[DebugInfo] Report the format of type units [10/10]

Differential Revision: https://reviews.llvm.org/D80523
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-header.s
The file was modifiedllvm/test/tools/llvm-dwp/X86/type_dedup.test
The file was modifiedllvm/test/tools/llvm-dwp/X86/simple.test
The file was modifiedllvm/test/DebugInfo/typeunit-header.test
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/typeunit-v4-dwarf64.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/typeunit-v5-dwarf64.s
Commit bddd2888264492a6deb0d447ee6ac042d3fb44e4 by pavel
[lldb/DWARF] Add support for pre-standard GNU call site attributes

Summary:
The code changes are very straight-forward -- just handle both DW_AT_GNU
and DW_AT_call versions of all tags and attributes. There is just one
small gotcha: in the GNU version, DW_AT_low_pc was used both for the
"return pc" and the "call pc" values, depending on whether the tag was
describing a tail call, while the official scheme uses different
attributes for the two things.

Reviewers: vsk, dblaikie

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D80519
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/cross_object/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/cross_dso/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py
The file was removedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/sbapi_support/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py
The file was removedlldb/test/API/functionalities/tail_call_frames/thread_step_out_message/Makefile
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was removedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/cross_dso/One.mk
The file was removedlldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_message/main.cpp
The file was removedlldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp
The file was removedlldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/Makefile
The file was removedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/Makefile
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py
The file was removedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/Makefile
The file was modifiedlldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/cross_dso/Two.mk
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/disambiguate_call_site/TestDisambiguateCallSite.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp
Commit 04aea769bfad4ec78242adc2241aa751d10862f8 by pavel
[Support] Make DataExtractor error messages more clear

Summary:
This is a result of the discussion at D78113. Previously we would be
only giving the current offset at which the error was detected. However,
this was phrased somewhat ambiguously (as it could also mean that end of
data was at that offset). The new error message includes the current
offset as well as the extent of the data being read.

I've changed a couple of file-level static functions into private member
functions in order to avoid passing a bunch of new arguments everywhere.

Reviewers: dblaikie, jhenderson

Subscribers: hiraditya, MaskRay, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78558
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
The file was modifiedllvm/unittests/Support/DataExtractorTest.cpp
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFAcceleratorTableTest.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_length_field.s
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases2.s
The file was modifiedllvm/lib/Support/DataExtractor.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_extended_length_field.s
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDataExtractorTest.cpp
The file was modifiedllvm/include/llvm/Support/DataExtractor.h
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp
Commit eb8edd852601270eff090dc7d42acde7cd7a2573 by zinenko
[mlir] SCFToGPUPass: fix macros referring to LOOPS to use SCF instead

One header guard was overlooked when renaming LoopOps to SCF, rename it.
Also drop two unused macros, one of which referred to LoopOp (not "Ops",
hence the overlook).
The file was modifiedmlir/lib/Conversion/SCFToGPU/SCFToGPUPass.cpp
The file was modifiedmlir/include/mlir/Conversion/SCFToGPU/SCFToGPUPass.h
Commit 4e8e5d60b46ea80fa66316164820c6bf781b6ee3 by djordje.todorovic
[CSInfo][NFC] Interpret loaded parameter value separately

The collectCallSiteParameters() method searches for instructions
which load values into registers used for parameters passing.
Previously, interpretation of those values, loaded by one such
instruction, was implemented inside collectCallSiteParameters() method.

This patch moves the interpretation code from collectCallSiteParameters()
method into a separate static method named interpretValue. New method is
called from collectCallSiteParameters() to process each instruction from
targeted instruction scope.

The collectCallSiteParameters() searches for loaded parameter value
among instructions which precede the call instruction, inside the same
basic block. When needed, new method (interpretValue) could be used for
searching any instruction scope.

This is preparation for search of parameter value, loaded inside call
delay slot.

Patch by Nikola Tesic

Differential revision: https://reviews.llvm.org/D78106
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit bff0c56ff92106afad22b54a90e1c612da4d6f99 by kadircet
[clangd] Copy existing includes in ReplayPreamble

ReplayPreamble was just grabbing the reference of IncludeStructure
passed to it and then replayed any includes seen so while exiting
built-in file.

This implies any include seen in built-in files being replayed as part
of preamble, even though they are not. This wasn't an issue until we've
started patching preambles, as includes from built-in files were not
mapped back to main-file.

This patch copies over existing includes at the time of
ReplayPreamble::attach and only replies those to prevent any includes
from the preamble patch getting mixed-in.
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
Commit 5c5dafc534ac80aad978f4092ff842457aab6d07 by zinenko
[mlir] support materialization for 1-1 type conversions

Dialect conversion infrastructure supports 1->N type conversions by requiring
individual conversions to provide facilities to generate operations
retrofitting N values into 1 of the original type when N > 1. This
functionality can also be used to materialize explicit "cast"-like operations,
but it did not support 1->1 type conversions until now. Modify TypeConverter to
support materialization of cast operations for 1-1 conversions.

This also makes materialization specification more extensible following the
same pattern as type conversions. Instead of overloading a virtual function,
users or subclasses of TypeConversion can now register type-specific
materialization callbacks that will be called in order for the given type.

Differential Revision: https://reviews.llvm.org/D79729
The file was modifiedmlir/include/mlir/Transforms/DialectConversion.h
The file was modifiedmlir/test/Transforms/test-legalizer.mlir
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedmlir/lib/Transforms/DialectConversion.cpp
The file was modifiedmlir/docs/DialectConversion.md
Commit 17c920e227b998732919832262767d1c67686552 by ikudrin
Fix a failing test.
The file was modifiedllvm/test/tools/llvm-objdump/eh_frame-mipsel.test
Commit dd3ebe223e81b6ba6db8c7ce04e5cb05508826de by thakis
[gn build] (manually) port 44f989e7809
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn
Commit a0f13b33742372bf00640eb18a2f3229176fc77d by kadircet
Revert "[clangd] Copy existing includes in ReplayPreamble"

This reverts commit bff0c56ff92106afad22b54a90e1c612da4d6f99. I've
pushed the earlier version of the patch by mistake.
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
Commit 8506877c87aa602736aee1fffbd80b886fa40b79 by kadircet
[clangd] Copy existing includes in ReplayPreamble

Summary:
ReplayPreamble was just grabbing the reference of IncludeStructure
passed to it and then replayed any includes seen so while exiting
built-in file.

This implies any include seen in built-in files being replayed as part
of preamble, even though they are not. This wasn't an issue until we've
started patching preambles, as includes from built-in files were not
mapped back to main-file.

This patch copies over existing includes at the time of
ReplayPreamble::attach and only replies those to prevent any includes
from the preamble patch getting mixed-in.

Reviewers: sammccall, jkorous

Subscribers: ilya-biryukov, MaskRay, dexonsmith, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80988
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
Commit 301a6da8c24a09052e3bda10e90b450b7b39ffea by Matthew.Arsenault
AMDGPU: Fix clang side null pointer value for private

The change to fold_priv_arith looks strange to me, but this was
already the untested behavior for local.
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-nullptr.cl
Commit df06f4ff227bdcbbad01b418199876761f2a1ff0 by kadircet
[lldb] Handle a new clang built-in type
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Commit e16a4efdc6f429eabfb47ef90d40fcb6b6e362ad by hokein.wu
Remove a comment-out llvm::errs debugging code, NFC.
The file was modifiedclang/lib/AST/Stmt.cpp
Commit 85117e286db0bfa6c7cecadd2c0c348e3358f450 by Matthew.Arsenault
AMDGPU: Fix not using scalar loads for global reads in shaders

The pass which infers when it's legal to load a global address space
as SMRD was only considering amdgpu_kernel, and ignoring the shader
entry type calling conventions.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global-saddr.ll
The file was addedllvm/test/CodeGen/AMDGPU/infer-uniform-load-shader.ll
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/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
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/test/tools/yaml2obj/ELF/program-header-nobits.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
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/ASTImporterTest.cpp
The file was modifiedclang/unittests/AST/StructuralEquivalenceTest.cpp
The file was modifiedclang/unittests/AST/SourceLocationTest.cpp
The file was modifiedclang/lib/Testing/CommandLineArgs.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/include/clang/Testing/CommandLineArgs.h
The file was modifiedclang/unittests/AST/ASTImporterGenericRedeclTest.cpp
The file was modifiedclang/unittests/AST/MatchVerifier.h
The file was modifiedclang/unittests/AST/ASTImporterODRStrategiesTest.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 modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was addedclang/test/OpenMP/task_affinity_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
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/debugger/DebuggerControllers/DebuggerControllerBase.py
The file was addeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_value.cpp
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
The file was modifieddebuginfo-tests/dexter/Commands.md
The file was addedd.diff
The file was addeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
The file was modifieddebuginfo-tests/dexter/dex/tools/test/Tool.py
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 addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_check_json_step_count.cpp
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_loop.cpp
The file was modifieddebuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_same_line_conditional.cpp
The file was modifieddebuginfo-tests/dexter/dex/command/ParseCommand.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerBase.py
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/thread_step_out_message/TestArtificialFrameStepOutMessage.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
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/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.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/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.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/test/Sema/ext_vector_comparisons.c
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
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/include/clang/Analysis/Analyses/UninitializedValues.h
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/lib/Analysis/UninitializedValues.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/Misc/warning-wall.c
The file was modifiedclang/test/SemaCXX/uninitialized.cpp
The file was modifiedclang/test/SemaCXX/uninit-variables.cpp
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was addedclang/test/SemaCXX/warn-uninitialized-const-reference.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/include/lldb/Utility/Connection.h
The file was modifiedlldb/include/lldb/Host/PseudoTerminal.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSummary.h
The file was modifiedlldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
The file was modifiedlldb/include/lldb/Core/ValueObjectSyntheticFilter.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
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/Host/MainLoopBase.h
The file was modifiedlldb/include/lldb/Target/OperatingSystem.h
The file was modifiedlldb/include/lldb/Core/ThreadSafeValue.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileRegex.h
The file was modifiedlldb/include/lldb/Symbol/UnwindTable.h
The file was modifiedlldb/include/lldb/Core/ValueObjectVariable.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
The file was modifiedlldb/include/lldb/Breakpoint/Breakpoint.h
The file was modifiedlldb/include/lldb/Symbol/FuncUnwinders.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultCast.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h
The file was modifiedlldb/include/lldb/Target/StackFrame.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
The file was modifiedlldb/include/lldb/Symbol/SymbolVendor.h
The file was modifiedlldb/include/lldb/Core/ValueObjectDynamicValue.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResult.h
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.h
The file was modifiedlldb/include/lldb/Symbol/TypeList.h
The file was modifiedlldb/include/lldb/Host/HostNativeProcessBase.h
The file was modifiedlldb/include/lldb/Core/ValueObject.h
The file was modifiedlldb/include/lldb/Target/UnwindAssembly.h
The file was modifiedlldb/include/lldb/Utility/Event.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultChild.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverScripted.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.h
The file was modifiedlldb/include/lldb/Target/RegisterCheckpoint.h
The file was modifiedlldb/include/lldb/Target/Memory.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
The file was modifiedlldb/include/lldb/Interpreter/CommandObjectRegexCommand.h
The file was modifiedlldb/include/lldb/Core/AddressResolverName.h
The file was modifiedlldb/include/lldb/Target/Unwind.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
The file was modifiedlldb/include/lldb/Host/HostNativeThreadBase.h
The file was modifiedlldb/include/lldb/Core/AddressResolverFileLine.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.h
The file was modifiedlldb/source/Commands/CommandObjectLog.h
The file was modifiedlldb/include/lldb/Host/MainLoop.h
The file was modifiedlldb/include/lldb/Target/Platform.h
The file was modifiedlldb/include/lldb/Utility/DataEncoder.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
The file was modifiedlldb/source/Commands/CommandObjectRegister.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
The file was modifiedlldb/include/lldb/Utility/Broadcaster.h
The file was modifiedlldb/include/lldb/API/SBCommunication.h
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanShouldStopHere.h
The file was modifiedlldb/include/lldb/Core/AddressResolver.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
The file was modifiedlldb/include/lldb/Core/Communication.h
The file was modifiedlldb/include/lldb/Symbol/VariableList.h
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanPython.h
The file was modifiedlldb/include/lldb/Host/ProcessRunLock.h
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOverRange.h
The file was modifiedlldb/include/lldb/Target/ThreadPlan.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanRunToAddress.h
The file was modifiedlldb/source/Host/macosx/objcxx/HostThreadMacOSX.mm
The file was modifiedlldb/include/lldb/Target/QueueItem.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h
The file was modifiedlldb/include/lldb/Expression/IRMemoryMap.h
The file was modifiedlldb/include/lldb/Core/ValueObjectCast.h
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/include/lldb/Target/RegisterContextUnwind.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
The file was modifiedlldb/include/lldb/Target/StructuredDataPlugin.h
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulationStateARM.h
The file was modifiedlldb/include/lldb/Target/SectionLoadHistory.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolver.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepInRange.h
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/include/lldb/Utility/IOObject.h
The file was modifiedlldb/include/lldb/Core/Highlighter.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextHistory.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSynthetic.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOut.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeFormat.h
The file was modifiedlldb/include/lldb/Target/SystemRuntime.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h
The file was modifiedlldb/include/lldb/Target/RegisterContext.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDummy.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
The file was modifiedlldb/source/Plugins/Process/Utility/ThreadMemory.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultImpl.h
The file was modifiedlldb/include/lldb/Utility/Listener.h
The file was modifiedlldb/include/lldb/Target/ABI.h
The file was modifiedlldb/include/lldb/Interpreter/ScriptInterpreter.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepRange.h
The file was modifiedlldb/include/lldb/Core/EmulateInstruction.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointIDList.h
The file was modifiedlldb/include/lldb/Symbol/DebugMacros.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointList.h
The file was modifiedlldb/include/lldb/Utility/Timer.h
The file was modifiedlldb/include/lldb/Target/DynamicLoader.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
The file was modifiedlldb/include/lldb/Core/Disassembler.h
The file was modifiedlldb/include/lldb/Core/FileLineResolver.h
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallFunction.h
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointSite.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOverBreakpoint.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMemory.h
The file was modifiedlldb/include/lldb/Core/ValueObjectMemory.h
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/include/lldb/Symbol/Block.h
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/include/lldb/Target/Queue.h
The file was modifiedlldb/include/lldb/Host/posix/HostThreadPosix.h
The file was modifiedlldb/include/lldb/Symbol/ObjectContainer.h
The file was modifiedlldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/include/lldb/Host/windows/HostThreadWindows.h
The file was modifiedlldb/include/lldb/Core/StreamFile.h
The file was modifiedlldb/include/lldb/Symbol/DeclVendor.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/include/lldb/Target/TargetList.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h
The file was modifiedlldb/include/lldb/Interpreter/OptionGroupVariable.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverAddress.h
The file was modifiedlldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepInstruction.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.h
The file was modifiedlldb/include/lldb/Target/Language.h
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
The file was modifiedlldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h
The file was modifiedlldb/include/lldb/Target/LanguageRuntime.h
The file was modifiedlldb/include/lldb/DataFormatters/ValueObjectPrinter.h
The file was modifiedlldb/include/lldb/Breakpoint/Watchpoint.h
The file was modifiedlldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h
The file was modifiedlldb/include/lldb/Interpreter/OptionGroupWatchpoint.h
The file was modifiedlldb/include/lldb/Target/StopInfo.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
The file was modifiedlldb/include/lldb/Core/ValueObjectRegister.h
The file was modifiedlldb/include/lldb/Interpreter/CommandHistory.h
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/include/lldb/Breakpoint/Stoppoint.h
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/include/lldb/Core/SourceManager.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointLocation.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
The file was modifiedlldb/include/lldb/Core/ValueObjectChild.h
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/include/lldb/Symbol/TypeMap.h
The file was modifiedlldb/include/lldb/Breakpoint/StoppointLocation.h
The file was modifiedlldb/include/lldb/DataFormatters/FormatClasses.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanBase.h
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/include/lldb/lldb-defines.h
The file was modifiedlldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
The file was modifiedlldb/include/lldb/API/SBStream.h
The file was modifiedlldb/include/lldb/Target/UnwindLLDB.h
The file was modifiedlldb/include/lldb/Target/StackFrameList.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepThrough.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallUserExpression.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepUntil.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 modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
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.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/no-remat-indirect-mov.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.mir
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 addedllvm/test/CodeGen/AMDGPU/remove-short-exec-branches-gpr-idx-mode.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/test/tools/llvm-dwarfdump/cmdline.test
The file was modifiedllvm/lib/Support/CommandLine.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.def
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
Commit 7096e04a6831d4668c39b388ccd166f84de69191 by maskray
[Sema] Use isAlwaysUninit for -Wuninitialized-const-reference after D79895
The file was modifiedclang/lib/Analysis/UninitializedValues.cpp
The file was modifiedclang/test/SemaCXX/warn-uninitialized-const-reference.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 addedclang/test/AST/alignas_maybe_odr_cleanup.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/include/clang/Basic/TokenKinds.def
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/utils/HdrGen/PrototypeTestGen/CMakeLists.txt
The file was addedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/lib/CMakeLists.txt
The file was modifiedlibc/test/src/CMakeLists.txt
The file was modifiedlibc/utils/HdrGen/CMakeLists.txt
The file was modifiedlibc/cmake/modules/LLVMLibCObjectRules.cmake
The file was addedlibc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
The file was addedlibc/utils/HdrGen/PrototypeTestGen/.clang-tidy
The file was addedlibc/config/linux/x86_64/headers.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 modifiedcompiler-rt/lib/builtins/riscv/mulsi3.S
The file was addedcompiler-rt/lib/builtins/riscv/int_mul_impl.inc
The file was addedcompiler-rt/lib/builtins/riscv/muldi3.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 modifiedclang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
The file was addedclang/test/Analysis/Checkers/WebKit/uncounted-members-regression-46142.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/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was addedllvm/test/CodeGen/WebAssembly/switch-unreachable-default.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/stack-insts.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssembly.h
The file was modifiedllvm/lib/Target/WebAssembly/CMakeLists.txt
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was addedllvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify.ll
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/WebAssemblyTargetMachine.cpp
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/Target.h
The file was addedlld/test/MachO/invalid/invalid-relocation.yaml
The file was modifiedlld/MachO/Arch/X86_64.cpp
The file was modifiedlld/MachO/InputFiles.cpp
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 modifiedlld/MachO/InputSection.cpp
The file was addedlld/test/MachO/invalid/undefined-symbol.s
The file was modifiedlld/MachO/Writer.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/MachO/Symbols.h
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/Target.h
The file was modifiedlld/test/MachO/x86-64-reloc-signed.s
The file was modifiedlld/MachO/Symbols.cpp
The file was modifiedlld/test/MachO/entry-symbol.s
The file was modifiedlld/test/MachO/x86-64-reloc-unsigned.s
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/test/MachO/segments.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 addedlld/test/MachO/invalid/invalid-executable.s
The file was removedlld/test/MachO/invalid-fat-narch.s
The file was removedlld/test/MachO/no-id-dylink.s
The file was addedlld/test/MachO/invalid/missing-dylib.s
The file was removedlld/test/MachO/missing-dylib.s
The file was removedlld/test/MachO/duplicate-symbol.s
The file was removedlld/test/MachO/no-such-file.s
The file was addedlld/test/MachO/invalid/invalid-fat-narch.s
The file was addedlld/test/MachO/invalid/alignment-too-large.yaml
The file was addedlld/test/MachO/invalid/invalid-fat-offset.s
The file was removedlld/test/MachO/Inputs/no-id-dylib.yaml
The file was removedlld/test/MachO/alignment-too-large.yaml
The file was addedlld/test/MachO/invalid/no-such-file.s
The file was addedlld/test/MachO/invalid/duplicate-symbol.s
The file was removedlld/test/MachO/invalid-executable.s
The file was removedlld/test/MachO/invalid-fat-offset.s
The file was addedlld/test/MachO/invalid/no-id-dylink.yaml
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/Writer.cpp
The file was modifiedlld/MachO/InputFiles.cpp
The file was addedlld/MachO/MachOStructs.h
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/MachO/InputFiles.h
Commit 26cb70683bd4ffa49d94a8dad5ecfda549a673b0 by n.james93
[NFC][ASTMatchers] StringRef-ify and Twine-ify ASTMatchers tests.
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.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/combine-to-mulh-shift-amount.ll
The file was addedllvm/test/CodeGen/PowerPC/mul-high.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/lib/Dialect/SPIRV/SPIRVTypes.cpp
The file was modifiedmlir/test/Dialect/SPIRV/types.mlir
The file was addedmlir/test/Dialect/SPIRV/Serialization/matrix.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
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