SuccessChanges

Summary

  1. [mips] Support 64-bit relative relocations (details)
  2. [AST] Fix a null initializer crash for InitListExpr (details)
  3. [VectorCombine][X86] Add loaded insert tests from D80885 (details)
  4. [LLDB] Mark TestCreateDuringInstructionStep as flaky on Linux (details)
  5. [EarlyCSE] Common gc.relocate calls. (details)
  6. [mlir] Introduce CallOp converter for buffer placement (details)
  7. [LV] Make sure the MaxVF is a power-of-2 by rounding down. (details)
  8. [Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC). (details)
  9. TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC. (details)
  10. TextAPIReader.h - reduce MemoryBuffer.h include to forward declaration. NFC. (details)
  11. [mlir] post-commit review fixes (details)
  12. Add missing MemoryBuffer.h include (details)
  13. [mlir] Toy tutorial: avoid erasing and then re-creating loop terminators (details)
  14. [DebugInfo] Extract a helper function to return the DWARF format name, NFC [1/10] (details)
  15. [DebugInfo] Report the format of .debug_names [2/10] (details)
  16. [DebugInfo] Report the format of compilation units [3/10] (details)
  17. [DebugInfo] Report the format of address tables [4/10] (details)
  18. [DebugInfo] Report the format of address range tables [5/10] (details)
  19. [DebugInfo] Report the format of call frame information entries [6/10] (details)
  20. [DebugInfo] Report the format of line tables [7/10] (details)
  21. [DebugInfo] Report the format of tables in .debug_pub* sections [8/10] (details)
  22. [DebugInfo] Report the format of location and range lists [9/10] (details)
  23. [DebugInfo] Report the format of type units [10/10] (details)
  24. [lldb/DWARF] Add support for pre-standard GNU call site attributes (details)
  25. [Support] Make DataExtractor error messages more clear (details)
  26. [mlir] SCFToGPUPass: fix macros referring to LOOPS to use SCF instead (details)
  27. [CSInfo][NFC] Interpret loaded parameter value separately (details)
  28. [clangd] Copy existing includes in ReplayPreamble (details)
  29. [mlir] support materialization for 1-1 type conversions (details)
  30. Fix a failing test. (details)
  31. [gn build] (manually) port 44f989e7809 (details)
  32. Revert "[clangd] Copy existing includes in ReplayPreamble" (details)
  33. [clangd] Copy existing includes in ReplayPreamble (details)
  34. AMDGPU: Fix clang side null pointer value for private (details)
  35. [lldb] Handle a new clang built-in type (details)
  36. Remove a comment-out llvm::errs debugging code, NFC. (details)
  37. AMDGPU: Fix not using scalar loads for global reads in shaders (details)
  38. [AST][RecoveryExpr] Build RecoveryExpr for "undef_var" cases. (details)
  39. Use Pseudo Instruction to carry stack probing information (details)
  40. [yaml2obj] - Allocate the file space for SHT_NOBITS sections in some cases. (details)
  41. Renamed Lang_C to Lang_C99, Lang_CXX to Lang_CXX03, and 2a to 20 (details)
  42. [OPENMP50]Initial codegen for 'affinity' clauses. (details)
  43. Reinstate the syntax tree test for 'static' in an array subscript (details)
  44. [Dexter] Add os.path.normcase(...) transform to test path early. (details)
  45. [Dexter] Add DexLimitSteps command and ConditionalController (details)
  46. [flang] Fix release build flags. (details)
  47. TypeSymbolEmitter.h - reduce includes to forward declarations. NFC. (details)
  48. [libc++abi] Make sure we link in CrashReporterClient.a when it's present (details)
  49. [lldb] Skip tests exercising DW_OP_GNU_entry_value with dsymutil (details)
  50. Support ExtVectorType conditional operator (details)
  51. [Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function (details)
  52. [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN (details)
  53. [InstCombine] regenerate complete test checks; NFC (details)
  54. [InstCombine] add tests for select-of-select-shuffle; NFC (details)
  55. [PGO] Enable memcmp/bcmp size value profiling. (details)
  56. [mlir] Provide defaults to make enabling dumping simpler (details)
  57. AMDGPU: Don't run mode switches with exec 0 (details)
  58. AMDGPU: Don't run indexing mode switches with exec = 0 (details)
  59. AMDGPU: Fix a test to be more stable (details)
  60. [llvm-dwarfdump] Print [=<offset>] after --debug-* options in help output. (details)
  61. [Sema] Use isAlwaysUninit for -Wuninitialized-const-reference after D79895 (details)
  62. Update 'git push' command in GettingStarted guide (details)
  63. Fix compiler crash when an expression parsed in the tentative parsing and must be claimed in the another evaluation context. (details)
  64. [TableGen] Avoid generating switch with just default (details)
  65. [libc] Add integration tests. (details)
  66. [WebAssembly] Improve macro hygiene in wasm_simd128.h (details)
  67. [RISCV-V] Provide muldi3 builtin assembly implementation (details)
  68. [Analyzer][WebKit] Check record definition is available in NoUncountedMembers checker (details)
  69. [WebAssembly] Eliminate range checks on br_tables (details)
  70. Fix test on PS4 linux bot. (details)
  71. [lld-macho] Add some relocation validation logic (details)
  72. [lld-macho] Error on encountering undefined symbols (details)
  73. [lld-macho] Set __PAGEZERO size to 4GB (details)
  74. [lld-macho] Move all tests for erroneous inputs under invalid/ (details)
  75. [lld-macho] Ensure reads from nlist_64 structs are aligned when necessary (details)
  76. [NFC][ASTMatchers] StringRef-ify and Twine-ify ASTMatchers tests. (details)
  77. [Driver] Add multiclass OptInFlag and OptOutFlag to simplify boolean option definition (details)
  78. [DAGCombiner] Combine shifts into multiply-high (details)
  79. Fix up clang-tidy warnings around null and pointers. (details)
  80. [mlir][spirv] Add support for matrix type (details)
  81. [libc] Remove integration test target from check libc. (details)
  82. [gn build] Port f99d5f8c32a (details)
  83. [llvm] Fix unused variable warning (details)
  84. PR23029 / C++ DR2233: Allow expanded parameter packs to follow (details)
  85. [X86] Cleanup inconsistencies in our zext/sext vector patterns. (details)
  86. [LLD] Have only one SpecificAllocator per type (details)
  87. [X86] Remove DeleteNode calls from PreprocessISelDAG. Rely on the RemoveDeadNodes call at the end. (details)
  88. Undo removal of test for dr777. (details)
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/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
The file was modifiedllvm/test/MC/Mips/relocation-n64.s
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/test/AST/ast-dump-recovery.cpp
The file was modifiedclang/lib/Sema/SemaInit.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 addedllvm/test/Transforms/EarlyCSE/gc_relocate.ll
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
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/Transforms/buffer-placement-preparation.mlir
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
The file was modifiedmlir/include/mlir/Transforms/BufferPlacement.h
The file was modifiedmlir/test/lib/Transforms/TestBufferPlacement.cpp
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 modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/X86/fp80-widest-type.ll
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/Transforms/DialectConversion.cpp
The file was modifiedmlir/lib/Dialect/GPU/Transforms/MemoryPromotion.cpp
The file was modifiedmlir/lib/Dialect/SCF/SCF.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/Ch5/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/examples/toy/Ch6/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/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/lib/BinaryFormat/Dwarf.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/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-header-64.s
The file was modifiedllvm/test/MC/WebAssembly/dwarfdump.ll
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/DebugInfo/X86/dwarfdump-header.s
The file was modifiedllvm/test/tools/dsymutil/X86/empty-CU.test
The file was modifiedllvm/test/tools/dsymutil/X86/generate-empty-CU.test
The file was modifiedllvm/test/tools/llvm-dwp/X86/info-v5.s
The file was modifiedllvm/test/DebugInfo/dwarfdump-zlib.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_info_min_dwarf64.s
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_rela.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_mismatch.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_64bit_address.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_dwarf64.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/DebugInfo/X86/dwarfdump-debug-aranges.s
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections.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/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
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/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.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/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/test/DebugInfo/X86/debug-frame-dwarf64.s
The file was modifiedllvm/test/MC/Mips/eh-frame.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
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/test/tools/llvm-dwarfdump/X86/debug_frame_offset.test
The file was modifiedlld/test/ELF/eh-frame-hdr-augmentation.s
The file was modifiedllvm/test/tools/dsymutil/X86/frame-2.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_frame_GNU_args_size.s
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_invalid.test
The file was modifiedllvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug-line.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_dwarf64_large_table.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-line-dwo.s
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/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
The file was modifiedllvm/test/tools/dsymutil/X86/basic-linking-x86.test
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/dwarfdump-debug-pubnames.s
The file was modifiedllvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
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/test/DebugInfo/X86/dwarfdump-rnglists-dwarf64.s
The file was modifiedllvm/test/DebugInfo/X86/fission-ranges.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s
The file was modifiedllvm/test/DebugInfo/X86/split-dwarf-v5-ranges.ll
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists-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_dwarf64.s
The file was modifiedllvm/test/DebugInfo/X86/rnglists_curanges.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFListTable.cpp
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections.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/tools/llvm-dwarfdump/X86/typeunit-v4-dwarf64.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/typeunit-v5-dwarf64.s
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
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 removedlldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py
The file was removedlldb/test/API/functionalities/tail_call_frames/thread_step_out_message/Makefile
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/thread_step_out_message/TestArtificialFrameStepOutMessage.py
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/main.cpp
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/cross_dso/One.mk
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py
The file was removedlldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was removedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/Makefile
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/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py
The file was modifiedlldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp
The file was removedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/cross_object/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/inlining_and_tail_calls/main.cpp
The file was removedlldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/Makefile
The file was removedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/sbapi_support/Makefile
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_message/main.cpp
The file was modifiedlldb/test/API/functionalities/tail_call_frames/cross_dso/Makefile
The file was removedlldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/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/unambiguous_sequence/TestUnambiguousTailCalls.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/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/include/llvm/Support/DataExtractor.h
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases2.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDataExtractorTest.cpp
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/DWARFAcceleratorTableTest.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_length_field.s
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
The file was modifiedllvm/unittests/Support/DataExtractorTest.cpp
The file was modifiedllvm/lib/Support/DataExtractor.cpp
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/include/mlir/Conversion/SCFToGPU/SCFToGPUPass.h
The file was modifiedmlir/lib/Conversion/SCFToGPU/SCFToGPUPass.cpp
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/unittests/ParsedASTTests.cpp
The file was modifiedclang-tools-extra/clangd/ParsedAST.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/lib/Transforms/DialectConversion.cpp
The file was modifiedmlir/test/Transforms/test-legalizer.mlir
The file was modifiedmlir/docs/DialectConversion.md
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
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/ParsedAST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.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/test/CodeGenOpenCL/amdgpu-nullptr.cl
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
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/global-saddr.ll
The file was addedllvm/test/CodeGen/AMDGPU/infer-uniform-load-shader.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.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/test/AST/ast-dump-recovery.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.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/llvm-objcopy/ELF/preserve-segment-contents.test
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/program-header-nobits.yaml
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/MatchVerifier.h
The file was modifiedclang/lib/Testing/CommandLineArgs.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/unittests/AST/ASTImporterODRStrategiesTest.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/unittests/AST/SourceLocationTest.cpp
The file was modifiedclang/unittests/AST/ASTImporterGenericRedeclTest.cpp
The file was modifiedclang/unittests/AST/StructuralEquivalenceTest.cpp
The file was modifiedclang/include/clang/Testing/CommandLineArgs.h
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 modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was addedclang/test/OpenMP/task_affinity_codegen.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/DebuggerBase.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 addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_loop.cpp
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_check_json_step_count.cpp
The file was modifieddebuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
The file was addedd.diff
The file was addeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py
The file was addeddebuginfo-tests/dexter/dex/command/commands/DexLimitSteps.py
The file was addeddebuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_overlapping_ranges.cpp
The file was modifieddebuginfo-tests/dexter/Commands.md
The file was addeddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
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_expect_value.cpp
The file was modifieddebuginfo-tests/dexter/dex/tools/test/Tool.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/DebuggerControllers/DebuggerControllerBase.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/inlining_and_tail_calls/TestInliningAndTailCalls.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/thread_step_out_message/TestArtificialFrameStepOutMessage.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/param_entry_vals/basic_entry_values/TestBasicEntryValues.py
The file was modifiedlldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.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/Sema/SemaExpr.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/Sema/ext_vector_comparisons.c
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/Analysis/UninitializedValues.cpp
The file was modifiedclang/test/SemaCXX/uninit-variables.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/uninitialized.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Misc/warning-wall.c
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was modifiedclang/include/clang/Analysis/Analyses/UninitializedValues.h
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/Core/ValueObjectRegister.h
The file was modifiedlldb/include/lldb/Target/DynamicLoader.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOut.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
The file was modifiedlldb/include/lldb/Target/SystemRuntime.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.h
The file was modifiedlldb/include/lldb/Interpreter/CommandHistory.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallFunction.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMemory.h
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.h
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverAddress.h
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h
The file was modifiedlldb/include/lldb/Core/FileLineResolver.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/Target/ThreadPlanStepOverBreakpoint.h
The file was modifiedlldb/include/lldb/Symbol/TypeList.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResult.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/include/lldb/Target/OperatingSystem.h
The file was modifiedlldb/include/lldb/Core/Communication.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultImpl.h
The file was modifiedlldb/include/lldb/Breakpoint/Breakpoint.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanShouldStopHere.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDummy.h
The file was modifiedlldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp
The file was modifiedlldb/source/Commands/CommandObjectLog.h
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h
The file was modifiedlldb/include/lldb/Breakpoint/StoppointLocation.h
The file was modifiedlldb/include/lldb/Target/StackFrameList.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointSite.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextHistory.h
The file was modifiedlldb/include/lldb/Interpreter/OptionGroupVariable.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
The file was modifiedlldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
The file was modifiedlldb/include/lldb/Target/ThreadPlan.h
The file was modifiedlldb/include/lldb/Utility/Event.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepThrough.h
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulationStateARM.h
The file was modifiedlldb/source/Plugins/Process/Utility/ThreadMemory.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
The file was modifiedlldb/include/lldb/Core/ValueObjectMemory.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepRange.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointList.h
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
The file was modifiedlldb/include/lldb/Core/ValueObjectCast.h
The file was modifiedlldb/source/Commands/CommandObjectRegister.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSummary.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepOverRange.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepInRange.h
The file was modifiedlldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h
The file was modifiedlldb/include/lldb/Utility/Broadcaster.h
The file was modifiedlldb/include/lldb/Host/PseudoTerminal.h
The file was modifiedlldb/include/lldb/Target/Platform.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.h
The file was modifiedlldb/include/lldb/Target/LanguageRuntime.h
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.h
The file was modifiedlldb/include/lldb/Target/SectionLoadHistory.h
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
The file was modifiedlldb/include/lldb/Target/RegisterContext.h
The file was modifiedlldb/include/lldb/Breakpoint/Watchpoint.h
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h
The file was modifiedlldb/include/lldb/Host/MainLoopBase.h
The file was modifiedlldb/source/Host/macosx/objcxx/HostThreadMacOSX.mm
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointIDList.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanRunToAddress.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeFormat.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
The file was modifiedlldb/include/lldb/Core/AddressResolverFileLine.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
The file was modifiedlldb/include/lldb/Symbol/VariableList.h
The file was modifiedlldb/include/lldb/Utility/IOObject.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/include/lldb/Breakpoint/Stoppoint.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanCallUserExpression.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.h
The file was modifiedlldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanPython.h
The file was modifiedlldb/include/lldb/Target/StackFrame.h
The file was modifiedlldb/include/lldb/Core/ValueObjectSyntheticFilter.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepInstruction.h
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/include/lldb/Target/RegisterCheckpoint.h
The file was modifiedlldb/include/lldb/Host/HostNativeThreadBase.h
The file was modifiedlldb/include/lldb/Symbol/DeclVendor.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h
The file was modifiedlldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
The file was modifiedlldb/include/lldb/Host/HostNativeProcessBase.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
The file was modifiedlldb/include/lldb/Core/Highlighter.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultCast.h
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h
The file was modifiedlldb/include/lldb/Target/Unwind.h
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultChild.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
The file was modifiedlldb/include/lldb/Utility/DataEncoder.h
The file was modifiedlldb/include/lldb/Target/TargetList.h
The file was modifiedlldb/include/lldb/Core/StreamFile.h
The file was modifiedlldb/include/lldb/Core/SourceManager.h
The file was modifiedlldb/include/lldb/Host/ProcessRunLock.h
The file was modifiedlldb/include/lldb/Symbol/SymbolVendor.h
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/include/lldb/Core/AddressResolverName.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.h
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/include/lldb/Expression/IRMemoryMap.h
The file was modifiedlldb/include/lldb/Target/QueueItem.h
The file was modifiedlldb/include/lldb/Symbol/DebugMacros.h
The file was modifiedlldb/include/lldb/Core/ValueObjectVariable.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
The file was modifiedlldb/include/lldb/Utility/Connection.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
The file was modifiedlldb/include/lldb/Core/AddressResolver.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSynthetic.h
The file was modifiedlldb/include/lldb/Symbol/Block.h
The file was modifiedlldb/include/lldb/Host/MainLoop.h
The file was modifiedlldb/include/lldb/Interpreter/CommandObjectRegexCommand.h
The file was modifiedlldb/include/lldb/Core/ValueObjectDynamicValue.h
The file was modifiedlldb/include/lldb/Host/posix/HostThreadPosix.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/include/lldb/Target/ABI.h
The file was modifiedlldb/include/lldb/Utility/Listener.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileRegex.h
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/include/lldb/Target/Language.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointLocation.h
The file was modifiedlldb/include/lldb/Utility/Predicate.h
The file was modifiedlldb/include/lldb/DataFormatters/ValueObjectPrinter.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanStepUntil.h
The file was modifiedlldb/include/lldb/Symbol/ObjectContainer.h
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/include/lldb/Symbol/UnwindTable.h
The file was modifiedlldb/include/lldb/DataFormatters/FormatClasses.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/include/lldb/Target/StructuredDataPlugin.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverScripted.h
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was modifiedlldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
The file was modifiedlldb/include/lldb/Target/UnwindLLDB.h
The file was modifiedlldb/include/lldb/Utility/Timer.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
The file was modifiedlldb/include/lldb/Symbol/FuncUnwinders.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/include/lldb/Target/UnwindAssembly.h
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
The file was modifiedlldb/include/lldb/Core/EmulateInstruction.h
The file was modifiedlldb/include/lldb/API/SBStream.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h
The file was modifiedlldb/include/lldb/API/SBCommunication.h
The file was modifiedlldb/include/lldb/Core/Disassembler.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
The file was modifiedlldb/include/lldb/Target/ThreadPlanBase.h
The file was modifiedlldb/include/lldb/Host/windows/HostThreadWindows.h
The file was modifiedlldb/include/lldb/Host/common/NativeRegisterContext.h
The file was modifiedlldb/include/lldb/Target/Queue.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.h
The file was modifiedlldb/include/lldb/Core/ValueObject.h
The file was modifiedlldb/include/lldb/Target/RegisterContextUnwind.h
The file was modifiedlldb/include/lldb/lldb-defines.h
The file was modifiedlldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h
The file was modifiedlldb/include/lldb/Symbol/TypeMap.h
The file was modifiedlldb/include/lldb/Interpreter/OptionGroupWatchpoint.h
The file was modifiedlldb/include/lldb/Interpreter/ScriptInterpreter.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolver.h
The file was modifiedlldb/include/lldb/Target/Memory.h
The file was modifiedlldb/include/lldb/Core/ValueObjectChild.h
The file was modifiedlldb/include/lldb/Core/ThreadSafeValue.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.h
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
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-extract-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.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 modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert-vector-elt.mir
The file was addedllvm/test/CodeGen/AMDGPU/remove-short-exec-branches-gpr-idx-mode.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/DebugInfo/DIContext.h
The file was modifiedllvm/test/tools/llvm-dwarfdump/cmdline.test
The file was modifiedllvm/docs/CommandGuide/llvm-dwarfdump.rst
The file was modifiedllvm/lib/Support/CommandLine.cpp
The file was modifiedllvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.def
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/Parser.cpp
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/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/PrototypeTestGen.cpp
The file was addedlibc/utils/HdrGen/PrototypeTestGen/CMakeLists.txt
The file was addedlibc/config/linux/x86_64/headers.txt
The file was modifiedlibc/test/src/CMakeLists.txt
The file was modifiedlibc/lib/CMakeLists.txt
The file was modifiedlibc/utils/HdrGen/CMakeLists.txt
The file was addedlibc/utils/HdrGen/PrototypeTestGen/.clang-tidy
The file was addedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/cmake/modules/LLVMLibCObjectRules.cmake
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/muldi3.S
The file was addedcompiler-rt/lib/builtins/riscv/int_mul_impl.inc
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/cfg-stackify.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/stack-insts.ll
The file was modifiedllvm/lib/Target/WebAssembly/CMakeLists.txt
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was modifiedllvm/test/CodeGen/WebAssembly/switch.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/indirectbr.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssembly.h
The file was addedllvm/test/CodeGen/WebAssembly/switch-unreachable-default.ll
The file was addedllvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.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/InputFiles.cpp
The file was modifiedlld/MachO/Arch/X86_64.cpp
The file was modifiedlld/MachO/Target.h
The file was addedlld/test/MachO/invalid/invalid-relocation.yaml
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/InputSection.cpp
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/test/MachO/x86-64-reloc-unsigned.s
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/Symbols.cpp
The file was modifiedlld/MachO/Symbols.h
The file was modifiedlld/MachO/Target.h
The file was modifiedlld/test/MachO/x86-64-reloc-signed.s
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/test/MachO/segments.s
The file was modifiedlld/test/MachO/entry-symbol.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/no-id-dylink.yaml
The file was addedlld/test/MachO/invalid/invalid-fat-offset.s
The file was addedlld/test/MachO/invalid/missing-dylib.s
The file was addedlld/test/MachO/invalid/invalid-fat-narch.s
The file was removedlld/test/MachO/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/invalid-executable.s
The file was removedlld/test/MachO/no-id-dylink.s
The file was removedlld/test/MachO/duplicate-symbol.s
The file was addedlld/test/MachO/invalid/no-such-file.s
The file was addedlld/test/MachO/invalid/alignment-too-large.yaml
The file was addedlld/test/MachO/invalid/duplicate-symbol.s
The file was removedlld/test/MachO/missing-dylib.s
The file was removedlld/test/MachO/invalid-executable.s
The file was removedlld/test/MachO/invalid-fat-narch.s
The file was removedlld/test/MachO/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/SyntheticSections.cpp
The file was addedlld/MachO/MachOStructs.h
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/InputFiles.h
The file was modifiedlld/MachO/Writer.cpp
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/ASTMatchersTest.h
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
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 addedmlir/test/Dialect/SPIRV/Serialization/matrix.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/test/Dialect/SPIRV/types.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.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/Sema/SemaOverload.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx03-extra-copy.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/test/CXX/drs/dr22xx.cpp
The file was addedclang/test/CXX/expr/expr.post/expr.call/p4.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/CXX/drs/dr0xx.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/SemaCXX/decl-init-ref.cpp
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/CXX/drs/dr1xx.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/SemaCXX/warn-bool-conversion.cpp
The file was modifiedclang/www/cxx_dr_status.html
The file was modifiedclang/test/CXX/drs/dr7xx.cpp
The file was modifiedclang/test/SemaCXX/implicit-exception-spec.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/test/SemaCXX/abstract.cpp
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
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