FailedChanges

Summary

  1. [libc builder] Use argparse directly instead of via AnnotatedBuilder. (details)
  2. [libc builder] Parse only known args. (details)
Commit ecaa5909ede6d2b46f7d1769a7d6a9280c2bec77 by sivachandra
[libc builder] Use argparse directly instead of via AnnotatedBuilder.

Reviewers: PaulkaToast

Differential Revision: https://reviews.llvm.org/D77667
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py (diff)
Commit 4a4b67582626fd00db6f392a848fc3346c36876b by sivachandra
[libc builder] Parse only known args.
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py (diff)

Summary

  1. Slightly modify some tests as follow up to bcf66084, which breaks tests. (details)
  2. DAG: Use the correct getPointerTy in a few places (details)
  3. [mlir][vulkan-runner] Fix createLowerToLLVMPass interface (details)
  4. [mlir][spirv] Fix wrong Phi parent block for back-to-back loops (details)
  5. [X86][SSE] Add PTEST(AND(X,Y),AND(X,Y)) tests derived from PR42035 examples (details)
  6. Check LLVM_BUILD_LLVM_C_DYLIB before building the C DLL with MSVC. (details)
  7. [ELF] -M/-Map: fix VMA/LMA/Size columns of symbol assignments when address/size>=2**32 (details)
  8. [ELF] --warn-backrefs: don't warn for linking sandwich problems (details)
  9. [AMDGPU] Limit endcf-collapase to simple if (details)
  10. [WebAssembly][MC] Fix leak of std::string members in MCSymbolWasm (details)
  11. [lit] Cleanup printing of discovered suites and tests (details)
  12. AMDGPU: Use early return (details)
  13. [AArch64] Don't expand memcmp in strict align mode. (details)
  14. Revert "Revert "[analyzer] Teach scan-build how to rebuild index.html without analyzing."" (details)
  15. AMDGPU: Cleanup test MIR (details)
  16. [DWARFLinker][dsymutil][NFC] Move DwarfStreamer into DWARFLinker. (details)
  17. [gn build] Port 88c2137b6d4 (details)
  18. [SelectionDAG] Make getZeroExtendInReg take a vector VT if the operand VT is a vector. (details)
  19. [AMDGPU] Extend constant folding for logical operations (details)
  20. [libc++] Translate MODULES_DEFINES annotations to ADDITIONAL_COMPILE_FLAGS (details)
  21. Allow parameter names to be elided in a function definition in C. (details)
  22. [Hexagon] Update paths for linux/musl (details)
  23. [clang-tidy] Added support for validating configuration options (details)
  24. [OpenMP] Optimized stream selection by scheduling data mapping for the same target region into a same stream (details)
  25. [clang-tidy] Change checks that take enum configurations to use a new access method. (details)
  26. [NFC][PowerPC] Fix register class for patterns using XXPERMDIs (details)
  27. [SampleFDO] Add flag for partial profile. (details)
  28. [OPENMP50]Codegen for iterator construct. (details)
  29. [OpenMP] "UnFix" layering problem with FrontendOpenMP (details)
  30. [ScriptInterpreterPython] Remove buggy code to save/restore stdin. (details)
  31. [OPENMP][DOCS]Update status of oimplemented constructs, NFC. (details)
  32. [mlir][Diagnostic] Don't store Operation arguments as a DiagnosticArgument (details)
  33. Revert "[SampleFDO] Add flag for partial profile." show-prof-info.test breaks on some platforms. (details)
  34. CodeGen: Use Register in more places (details)
  35. [TLI] fix a function's (commented) signature; NFC (details)
  36. [libc++] Run tests in a directory related to %t instead of /tmp (details)
  37. [ms] Add new /PDBSTREAM option to lld-link allowing injection of streams into PDB files. (details)
  38. Remove some top-level const from return values seen in review (details)
  39. Remove FxpMathOps dialect and Quantizer tool. (details)
  40. [clang-tidy] Fix buildbot failing with explicit specialization in class scope (details)
  41. Fix illegal early call to PyBuffer_Release in swig typemaps (details)
  42. [mlir][DRR] Add location directive (details)
  43. [BPI] Clear handles when releasing memory (NFC) (details)
  44. CodeGen: Use Register in TargetFrameLowering (details)
  45. [mlir][Pass][NFC] Replace usages of ModulePass with OperationPass<ModuleOp> (details)
  46. [mlir][Pass] Remove the use of CRTP from the Pass classes (details)
  47. [mlir][Pass] Update the PassGen to generate base classes instead of utilities (details)
  48. Don't access reference to a vector after pop_back (details)
  49. [Driver] Only pass LTO remark arguments if the driver asks for it (details)
  50. [libc++] Remove the %{not} substitution (details)
  51. [mlir][Pass] Update the documentation for the declarative pass specification (details)
  52. [AMDGPU] Implement copyPhysReg for 16 bit subregs (details)
  53. Recommit [SampleFDO] Add flag for partial profile. (details)
  54. [OPENMP]Do not capture global marked as shared in OpenMP region. (details)
  55. [libunwind] Fix UB in EHHeaderParser::findFDE (details)
  56. Don't expose unavailable cstdio functions. (details)
  57. [MLIR] Cleanup mlir-tblgen error messages for custom assembly formats. (details)
  58. [MLIR] Add note for file-line numbers in tablegen errors for assembly formats (details)
  59. Revert "Don't expose unavailable cstdio functions." (details)
  60. [VE] Adapt aa26dd985848364df01d3f8f0f3eaccfd5ee80dc and 2481f26ac3f228cc085d4d68ee72dadc07afa48f (details)
  61. [ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker() (details)
  62. CodeGen: More conversions to use Register (details)
  63. [mlir][AsmFormat] Avoid invalidating the iterator when verifying attributes (details)
  64. [VE] Migrate to the getMachineMemOperand overload using llvm::Align (details)
  65. Add MIR-level debugify with only locations support for now (details)
  66. [ManualDWARFIndex] Remove dead code, in preparation for moving this function. (details)
  67. [NFC] Clean up uses of LoadInst constructor. (details)
  68. [gn build] Port 1adeeabb79a (details)
  69. Reset more globalMemCounters. (details)
  70. Revert "[ObjC generics] Fix not inheriting type bounds in categories/extensions." (details)
Commit dace7ada3814d87171e3a8be154f315e1f9d6029 by akhuang
Slightly modify some tests as follow up to bcf66084, which breaks tests.

The change in bcf6604 added a debug info flag, which caused some tests
to fail; I removed some commas so that the test matching still works.
The file was modifiedclang/test/Modules/ExtDebugInfo.cpp
The file was modifiedclang/test/Modules/ModuleDebugInfo.cpp
Commit b281138a1b67ca4405b77d774adc3de72742e7a2 by arsenm2
DAG: Use the correct getPointerTy in a few places

These should not be assuming address space 0. Calling getPointerTy is
generally the wrong thing to do, since you should already know the
type from the incoming IR.
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 2d3eb493d418c415b9d204afd5fb9e5ff8eeec99 by antiagainst
[mlir][vulkan-runner] Fix createLowerToLLVMPass interface

createLowerToLLVMPass() now requires a struct for passing in arguments
after 7023f4b4cb0157d95d98f32ace247acd9fc7b80a.
The file was modifiedmlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
Commit 47b234944dc063daf61d3e72e6b603ba9615baf0 by antiagainst
[mlir][spirv] Fix wrong Phi parent block for back-to-back loops

If we have two back-to-back loops with block arguments, the OpPhi
instructions generated for the second loop's block arguments should
have use the merge block of the first SPIR-V loop structure as
their incoming parent block.

Differential Revision: https://reviews.llvm.org/D77543
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/phi.mlir
Commit 6f46e9af8a0e91456b4be5ca75382aa89e1056fd by llvm-dev
[X86][SSE] Add PTEST(AND(X,Y),AND(X,Y)) tests derived from PR42035 examples
The file was modifiedllvm/test/CodeGen/X86/combine-ptest.ll
Commit 95eb50c4470894e4cebb08ba3ea97efe2f7c179a by aaron
Check LLVM_BUILD_LLVM_C_DYLIB before building the C DLL with MSVC.
The file was modifiedllvm/tools/llvm-shlib/CMakeLists.txt
Commit 4e907e93fb42eff4ffc9a93026d1665de503acc9 by maskray
[ELF] -M/-Map: fix VMA/LMA/Size columns of symbol assignments when address/size>=2**32

SymbolAssignment::addr stores the location counter. The type should be
uint64_t instead of unsigned. The upper half of the address space is
commonly used by operating system kernels.

Similarly, SymbolAssignment::size should be an uint64_t. A kernel linker
script can move the location counter from 0 to the upper half of the
address space.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D77445
The file was modifiedlld/ELF/LinkerScript.h
The file was addedlld/test/ELF/map-file-64bit.s
Commit 03c825c224420c498f3f7aef8ad4fb005d62b8ec by maskray
[ELF] --warn-backrefs: don't warn for linking sandwich problems

This is an alternative design to D77512.

D45195 added --warn-backrefs to detect

* A. certain input orders which GNU ld either errors ("undefined reference")
  or has different resolution semantics
* B. (byproduct) some latent multiple definition problems (-ldef1 -lref -ldef2) which I
  call "linking sandwich problems". def2 may or may not be the same as def1.

When an archive appears more than once (-ldef -lref -ldef), lld and GNU
ld may have the same resolution but --warn-backrefs may warn. This is
not uncommon. For example, currently lld itself has such a problem:

```
liblldCommon.a liblldCOFF.a ... liblldCommon.a
  _ZN3lld10DWARFCache13getDILineInfoEmm in liblldCOFF.a refers to liblldCommon.a(DWARF.cpp.o)
libLLVMSupport.a also appears twice and has a similar warning
```

glibc has such problems. It is somewhat destined because of its separate
libc/libpthread/... and arbitrary grouping. The situation is getting
improved over time but I have seen:
```
-lc __isnanl references -lm
-lc _IO_funlockfile references -lpthread
```

There are also various issues in interaction with other runtime
libraries such as libgcc_eh and libunwind:
```
-lc __gcc_personality_v0 references -lgcc_eh
-lpthread __gcc_personality_v0 references -lgcc_eh
-lpthread _Unwind_GetCFA references -lunwind
```

These problems are actually benign. We want --warn-backrefs to focus on
its main task A and defer task B (which is also useful) to a more
specific future feature (see gold --detect-odr-violations and
https://bugs.llvm.org/show_bug.cgi?id=43110).

Instead of warning immediately, we store the message and only report it
if no subsequent lazy definition exists.

The use of the static variable `backrefDiags` is similar to `undefs` in
Relocations.cpp

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D77522
The file was modifiedlld/ELF/Symbols.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/Symbols.h
The file was modifiedlld/test/ELF/warn-backrefs.s
Commit 12a324393d61a0ef602feeb9705ccb5b61563c27 by Stanislav.Mekhanoshin
[AMDGPU] Limit endcf-collapase to simple if

We can only collapse adjacent SI_END_CF if outer statement
belongs to a simple SI_IF, otherwise correct mask is not in the
register we expect, but is an argument of an S_XOR instruction.

Even if SI_IF is simple it might be lowered using S_XOR because
lowering is dependent on a basic block layout. It is not
considered simple if instruction consuming its output is
not an SI_END_CF. Since that SI_END_CF might have already been
lowered to an S_OR isSimpleIf() check may return false.

This situation is an opportunity for a further optimization
of SI_IF lowering, but that is a separate optimization. In the
meanwhile move SI_END_CF post the lowering when we already know
how the rest of the CFG was lowered since a non-simple SI_IF
case still needs to be handled.

Differential Revision: https://reviews.llvm.org/D77610
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.mir
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
Commit 5be42f36f5685f76d705c2faa1b1368c48aa2316 by sbc
[WebAssembly][MC] Fix leak of std::string members in MCSymbolWasm

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

Subscribers: dschuff, jgravelle-google, hiraditya, aheejin, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77627
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
The file was modifiedllvm/include/llvm/MC/MCSymbolWasm.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
Commit eb5ca295d7eb9200dd4b4ebe1d1112d750d66714 by julian.lettner
[lit] Cleanup printing of discovered suites and tests
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
Commit f596ab40666358e3eab09fc221c9f11e00c93f95 by arsenm2
AMDGPU: Use early return
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
Commit e9ac757f79cdaf25b3820fd13314dbc01b357ae9 by efriedma
[AArch64] Don't expand memcmp in strict align mode.

7aecf232 fixed the bug where we would miscompile, but we still generate
a crazy amount of code. Turn off the expansion until someone implements
an appropriate heuristic.

Differential Revision: https://reviews.llvm.org/D77599
The file was modifiedllvm/test/CodeGen/AArch64/bcmp-inline-small.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit 0c27fd82e1e62bd57c73b09c7d9dd00c42eb89d1 by Artem Dergachev
Revert "Revert "[analyzer] Teach scan-build how to rebuild index.html without analyzing.""

This reverts commit 21efb06f0ae2eb999f566d989997256d6cb12206.

Changes since last attempt to land this patch:
- Sort files before deduplicating. This hopefully avoids some buildbot failures.
- Fix use of uninitialized variable when running without --use-analyzer.
- Remove the "REQUIRES: windows" item.
The file was addedclang/test/Analysis/scan-build/rebuild_index/subdirectory/report-4.html
The file was modifiedclang/tools/scan-build/bin/scan-build
The file was addedclang/test/Analysis/scan-build/rebuild_index/report-1.html
The file was addedclang/test/Analysis/scan-build/rebuild_index/rebuild_index.test
The file was addedclang/test/Analysis/scan-build/rebuild_index/report-2.html
The file was addedclang/test/Analysis/scan-build/rebuild_index/report-3.html
Commit f524194ffdd55a690a6f8bff9619f8c74deb3e1b by arsenm2
AMDGPU: Cleanup test MIR
The file was modifiedllvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
Commit 88c2137b6d49f88186d0957a4e2d8030a3967334 by a.v.lapshin
[DWARFLinker][dsymutil][NFC] Move DwarfStreamer into DWARFLinker.

For implementing "remove obsolete debug info in lld", it is neccesary
to have DWARF generation code implementation. dsymutil uses DwarfStreamer
for that purpose. DwarfStreamer uses AsmPrinter. It is considered OK
to use AsmPrinter based code in lld(D74169). This patch moves
DwarfStreamer implementation into DWARFLinker, so that it could be reused
from lld.

Generally, a better place for such a common DWARF generation code would be
not DWARFLinker but an additional separate library. Such a library could
contain a single version of DWARF generation routines and could also
be independent of AsmPrinter. At the current moment, DwarfStreamer
does not pretend to be such a general implementation of DWARF generation.
So I decided to put it into DWARFLinker since it is the only user
of DwarfStreamer.

Testing: it passes "check-all" lit testing. MD5 checksum for clang .dSYM
bundle matches for the dsymutil with/without that patch.

Reviewed By: JDevlieghere

Differential revision: https://reviews.llvm.org/D77169
The file was modifiedllvm/tools/dsymutil/LinkUtils.h
The file was addedllvm/lib/DWARFLinker/DWARFStreamer.cpp
The file was modifiedllvm/lib/DWARFLinker/CMakeLists.txt
The file was removedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.h
The file was modifiedllvm/tools/dsymutil/CMakeLists.txt
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.cpp
The file was removedllvm/tools/dsymutil/DwarfStreamer.h
The file was addedllvm/include/llvm/DWARFLinker/DWARFStreamer.h
Commit 1a28d33f37f95c76ecba4cf1fc577940bf5e7280 by llvmgnsyncbot
[gn build] Port 88c2137b6d4
The file was modifiedllvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DWARFLinker/BUILD.gn
Commit c41685b16fcceaa2078eb14eb27f6696f851eb49 by craig.topper
[SelectionDAG] Make getZeroExtendInReg take a vector VT if the operand VT is a vector.

This removes a call to getScalarType from a bunch of call sites.
It also makes the behavior consistent with SIGN_EXTEND_INREG.

Differential Revision: https://reviews.llvm.org/D77631
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit a19a56f6a1ff1f022f7af64bc1281fe018e84494 by arsenm2
[AMDGPU] Extend constant folding for logical operations

This patch extends existing constant folding in logical operations to
handle S_XNOR, S_NAND, S_NOR, S_ANDN2, S_ORN2, V_LSHL_ADD_U32 and
V_AND_OR_B32. Also added a couple of tests for existing folds.
The file was modifiedllvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
Commit f8b6529218f22ea112aabebe13d58cfef6a9c09a by Louis Dionne
[libc++] Translate MODULES_DEFINES annotations to ADDITIONAL_COMPILE_FLAGS

This allows both the old and the new testing formats to handle these
tests with modules enabled.

We also include the modules flags in the %{flags} substitution, which
means that .sh.cpp tests in the old format and all tests in the new
format will use modules flags when enabled.
The file was modifiedlibcxx/test/libcxx/diagnostics/enable_nodiscard_disable_nodiscard_ext.fail.cpp
The file was modifiedlibcxx/test/libcxx/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp
The file was modifiedlibcxx/test/libcxx/diagnostics/enable_nodiscard_disable_after_cxx17.fail.cpp
The file was modifiedlibcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
The file was modifiedlibcxx/test/libcxx/iterators/next.debug1.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_string.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/deque/types.pass.cpp
The file was modifiedlibcxx/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.depr_in_cxx11.fail.cpp
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.depr_in_cxx14.fail.cpp
The file was modifiedlibcxx/test/libcxx/input.output/filesystems/class.path/path.itr/iterator_db.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator_void.depr_in_cxx17.fail.cpp
The file was modifiedlibcxx/test/libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/types.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/negators/not1.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/sequences/array/array.zero/db_front.pass.cpp
The file was modifiedlibcxx/test/libcxx/diagnostics/nodiscard_aftercxx17.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator_void.cxx2a.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.depr_in_cxx11.fail.cpp
The file was modifiedlibcxx/test/libcxx/iterators/advance.debug1.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/enable_removed_cpp17_features.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/debug_helper_test.pass.cpp
The file was modifiedlibcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp
The file was modifiedlibcxx/test/libcxx/atomics/libcpp-has-no-threads.fail.cpp
The file was modifiedlibcxx/utils/libcxx/test/newformat.py
The file was modifiedlibcxx/test/libcxx/iterators/prev.debug1.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/db_string_view.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/sequences/array/array.zero/db_back.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/max_size.cxx2a.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/negators/binary_negate.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/exception.unexpected/unexpected.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_unord_container_tests.pass.cpp
The file was modifiedlibcxx/test/libcxx/diagnostics/nodiscard_extensions.fail.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/allocate.cxx2a.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator_types.cxx2a.pass.cpp
The file was modifiedlibcxx/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.depr_in_cxx11.fail.cpp
The file was modifiedlibcxx/test/libcxx/depr/exception.unexpected/get_unexpected.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/negators/not2.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/debug_abort.pass.cpp
The file was modifiedlibcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/enable_reduced_arity_initialization_extension.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator_types.depr_in_cxx17.fail.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/allocate.depr_in_cxx17.fail.cpp
The file was modifiedlibcxx/test/libcxx/debug/debug_register.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_sequence_container_iterators.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/allocate.cxx2a.fail.cpp
The file was modifiedlibcxx/test/libcxx/depr/exception.unexpected/set_unexpected.pass.cpp
The file was modifiedlibcxx/test/libcxx/include_as_c.sh.cpp
The file was modifiedlibcxx/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.depr_in_cxx11.fail.cpp
The file was modifiedlibcxx/test/libcxx/diagnostics/enable_nodiscard.fail.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/negators/unary_negate.pass.cpp
The file was modifiedlibcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp
The file was modifiedlibcxx/test/libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/construct.cxx2a.pass.cpp
The file was modifiedlibcxx/test/libcxx/utilities/memory/util.dynamic.safety/get_pointer_safety_new_abi.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/sequences/deque/incomplete.pass.cpp
The file was modifiedlibcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.function.objects/adaptors.depr_in_cxx11.fail.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/address.depr_in_cxx17.fail.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
The file was modifiedlibcxx/test/libcxx/strings/iterators.noexcept.pass.cpp
The file was modifiedlibcxx/utils/libcxx/test/format.py
The file was modifiedlibcxx/test/libcxx/debug/containers/db_associative_container_tests.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/address.cxx2a.pass.cpp
The file was modifiedlibcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
The file was modifiedlibcxx/test/libcxx/thread/futures/futures.promise/set_exception.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/types.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp
Commit 86b5eabfeab164dcb680f6690e7718e3d21ceeb5 by aaron
Allow parameter names to be elided in a function definition in C.

WG14 has adopted N2480 (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2480.pdf)
into C2x at the meetings last week, allowing parameter names of a function
definition to be elided. This patch relaxes the error so that C++ and C2x do not
diagnose this situation, and modes before C2x will allow it as an extension.

This also adds the same feature to ObjC blocks under the assumption that ObjC
wishes to follow the C standard in this regard.
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Sema/c89.c
The file was modifiedclang/test/Sema/block-args.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/function.c
Commit aed2fdb1671c31ceff6997af56ae67831dad2595 by sidneym
[Hexagon] Update paths for linux/musl

Update the sysroot expectation to match other targets and breakout
linux/musl toolchain tests into a new file.

Differential Revision: https://reviews.llvm.org/D77440
The file was modifiedclang/lib/Driver/ToolChains/Hexagon.cpp
The file was addedclang/test/Driver/hexagon-toolchain-linux.c
The file was addedclang/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/c++/v1/readme
The file was modifiedclang/test/Driver/hexagon-toolchain-elf.c
The file was modifiedclang/lib/Driver/ToolChains/Hexagon.h
Commit fcf7cc268fe4560bc7cd751494beceff45f5dd10 by n.james93
[clang-tidy] Added support for validating configuration options

Summary:
Adds support for `ClangTidyCheck::OptionsView` to deteremine:
  - If an option is found in the configuration.
  - If an integer option read from configuration is parsable to an integer.
  - Parse and Serialize enum configuration options directly using a mapping from `llvm::StringRef` to `EnumType`.
  - If an integer or enum option isn't parseable but there is a default value it will issue a warning to stderr that the config value hasn't been used.
  - If an enum option isn't parsable it can provide a hint if the value was a typo.

Reviewers: aaron.ballman, alexfh, gribozavr2

Reviewed By: aaron.ballman

Subscribers: xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D77085
The file was modifiedclang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
Commit 32ed29271fd8c56abee8616e5a16a3c9e58f4741 by tianshilei1992
[OpenMP] Optimized stream selection by scheduling data mapping for the same target region into a same stream

Summary:
This patch introduces two things for offloading:
1. Asynchronous data transferring: those functions are suffix with `_async`. They have one more argument compared with their synchronous counterparts: `__tgt_async_info*`, which is a new struct that only has one field, `void *Identifier`. This struct is for information exchange between different asynchronous operations. It can be used for stream selection, like in this case, or operation synchronization, which is also used. We may expect more usages in the future.
2. Optimization of stream selection for data mapping. Previous implementation was using asynchronous device memory transfer but synchronizing after each memory transfer. Actually, if we say kernel A needs four memory copy to device and two memory copy back to host, then we can schedule these seven operations (four H2D, two D2H, and one kernel launch) into a same stream and just need synchronization after memory copy from device to host. In this way, we can save a huge overhead compared with synchronization after each operation.

Reviewers: jdoerfert, ye-luo

Reviewed By: jdoerfert

Subscribers: yaxunl, lildmh, guansong, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D77005
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedopenmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedopenmp/libomptarget/src/private.h
The file was modifiedopenmp/libomptarget/src/rtl.h
The file was modifiedopenmp/libomptarget/plugins/exports
The file was modifiedopenmp/libomptarget/include/omptargetplugin.h
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedopenmp/libomptarget/src/api.cpp
Commit 9dff9ecdd113ca57b8c548ebcdb14121bfd1840c by n.james93
[clang-tidy] Change checks that take enum configurations to use a new access method.

Summary: Change all checks that take enums as configuration to use enum specific methods in `ClangTidyCheck::OptionsView`.

Reviewers: aaron.ballman, alexfh

Reviewed By: aaron.ballman

Subscribers: wuzish, nemanjai, kbarton, arphaman, xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D76606
The file was modifiedclang-tools-extra/clang-tidy/abseil/StringFindStartswithCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/MoveConstructorInitCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/IncludeSorter.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-case-violation.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/IncludeSorter.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
Commit ecd8435483acc6551381d6804a9575e5898054c5 by nemanja.i.ibm
[NFC][PowerPC] Fix register class for patterns using XXPERMDIs

There are a few patterns where we use a superclass for inputs to this
instruction rather than the correct class. This can sometimes lead to
unncessary copies.
The file was modifiedllvm/test/CodeGen/PowerPC/pr38087.ll
The file was modifiedllvm/test/CodeGen/PowerPC/build-vector-tests.ll
The file was modifiedllvm/test/CodeGen/PowerPC/load-and-splat.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll
The file was modifiedllvm/test/CodeGen/PowerPC/VSX-XForm-Scalars.ll
The file was modifiedllvm/test/CodeGen/PowerPC/load-v4i8-improved.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pre-inc-disable.ll
The file was modifiedllvm/test/CodeGen/PowerPC/swaps-le-6.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-load-splat.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar_vector_test_2.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar_vector_test_3.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar_vector_test_1.ll
The file was modifiedllvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll
The file was modifiedllvm/test/CodeGen/PowerPC/scalar_vector_test_4.ll
Commit e3ba652a1440794eff0b43ce747f1b0488585d22 by wmi
[SampleFDO] Add flag for partial profile.

The common profile usage is to collect profile from a target and then use the profile to guide the optimized build for the same target. There are some cases that no profile can be collected for a target. In those cases, although no full profile is available, it is possible to have some partial profile collected from other targets to optimize common libraries and utilities. A flag is needed to tell the partial profile from the full profile apart, so compiler can use different strategy for them.

Differential Revision: https://reviews.llvm.org/D77426
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was removedllvm/test/tools/llvm-profdata/show-prof-size.test
The file was addedllvm/test/tools/llvm-profdata/show-prof-info.test
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h
The file was modifiedllvm/include/llvm/IR/ProfileSummary.h
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
Commit be99c6158841d0c01eaa8ba16cd7b9e5ade40c6b by a.bataev
[OPENMP50]Codegen for iterator construct.

Implemented codegen for the iterator expression in the depend clauses.
Iterator construct is emitted the following way:
iterator(cnt1, cnt2, ...), in : <dep>

<TotalNumDeps> = <cnt1_size> * <cnt2_size> * ...;
kmp_depend_t deps[<TotalNumDeps>];
deps_counter = 0;
for (cnt1) {
  for (cnt2) {
    ...
    deps[deps_counter].base_addr = &<dep>;
    deps[deps_counter].size = sizeof(<dep>);
    deps[deps_counter].flags = in;
    deps_counter += 1;
    ...
  }
}

For depobj construct the codegen is very similar, but the memory is
allocated dynamically and added extra first item reserved for internal use.
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/include/clang/AST/ExprOpenMP.h
The file was modifiedclang/test/OpenMP/target_update_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.c
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/test/OpenMP/depobj_ast_print.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/depobj_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
Commit f9d558c871337699d2815dbf116bae94025f5d90 by johannes
[OpenMP] "UnFix" layering problem with FrontendOpenMP

This reverts commit 97aa593a8387586095b7eac12974ba2fdd08f4c3 as it
causes problems (PR45453) https://reviews.llvm.org/D77574#1966321.

This additionally adds an explicit reference to FrontendOpenMP to
clang-tidy where ASTMatchers is used.

This is hopefully just a temporary solution. The dependence on
`FrontendOpenMP` from `ASTMatchers` should be handled by CMake
implicitly, not us explicitly.

Reviewed By: aheejin

Differential Revision: https://reviews.llvm.org/D77666
The file was modifiedclang/unittests/Rename/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-change-namespace/tool/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-query/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-reorder-fields/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/google/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-change-namespace/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-include-fixer/find-all-symbols/CMakeLists.txt
The file was modifiedclang/lib/ASTMatchers/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/misc/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/readability/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-move/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-query/CMakeLists.txt
The file was modifiedclang/unittests/AST/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/cert/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/zircon/CMakeLists.txt
The file was modifiedclang/unittests/Sema/CMakeLists.txt
The file was modifiedclang/unittests/StaticAnalyzer/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/utils/CMakeLists.txt
The file was modifiedclang/unittests/Analysis/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/boost/CMakeLists.txt
The file was modifiedclang/lib/Tooling/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/portability/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/mpi/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/objc/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/abseil/CMakeLists.txt
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-doc/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-doc/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-tidy/CMakeLists.txt
The file was modifiedclang/lib/Tooling/Transformer/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/hicpp/CMakeLists.txt
The file was modifiedclang-tools-extra/tool-template/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/llvm/CMakeLists.txt
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-move/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/performance/CMakeLists.txt
The file was modifiedclang/unittests/ASTMatchers/Dynamic/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/modernize/CMakeLists.txt
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/openmp/CMakeLists.txt
The file was modifiedclang/unittests/ASTMatchers/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-change-namespace/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/darwin/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/android/CMakeLists.txt
Commit 30a292c25df327eb35b341b919c4e9b5e80323be by ditaliano
[ScriptInterpreterPython] Remove buggy code to save/restore stdin.

Discussed on lldb-dev with Pavel Labath. This doesn't work for
background processes [causes Python to be stuck forever], and it's
unclear whether it's needed. There's no test, also. If this turns
out to be useful, it can be recommitted with a functional implementation
and a test.
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit e0ae907ab5a15fe6d814f4794ab6f4c541149482 by a.bataev
[OPENMP][DOCS]Update status of oimplemented constructs, NFC.
The file was modifiedclang/docs/OpenMPSupport.rst
Commit c0a33aaa804847e74e1514ce881d43435e94c172 by riddleriver
[mlir][Diagnostic] Don't store Operation arguments as a DiagnosticArgument

Summary: Diagnostics may be cached in the parallel diagnostic handler to preserve proper ordering. Storing the Operation as a DiagnosticArgument is problematic as the operation may be erased or changed before it finally gets printed.

Differential Revision: https://reviews.llvm.org/D77675
The file was modifiedmlir/lib/IR/Diagnostics.cpp
The file was modifiedmlir/include/mlir/IR/Diagnostics.h
Commit c5da949ae8ce241ff171b2a027e730f4fd34232e by wmi
Revert "[SampleFDO] Add flag for partial profile." show-prof-info.test breaks on some platforms.

This reverts commit e3ba652a1440794eff0b43ce747f1b0488585d22.
The file was modifiedllvm/include/llvm/IR/ProfileSummary.h
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was removedllvm/test/tools/llvm-profdata/show-prof-info.test
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h
The file was addedllvm/test/tools/llvm-profdata/show-prof-size.test
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
Commit aa26dd985848364df01d3f8f0f3eaccfd5ee80dc by arsenm2
CodeGen: Use Register in more places
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
The file was modifiedllvm/lib/CodeGen/TargetRegisterInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/lib/CodeGen/MachineRegisterInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MachineRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MachineOperand.h
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
Commit ff30d015222e2b6fada6c649bb228167a9343314 by George Burgess IV
[TLI] fix a function's (commented) signature; NFC

__strlen_chk returns a `size_t`, not a `char *`.
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.def
Commit 3fefda6e578b431875405791bc7216595d767fbf by Louis Dionne
[libc++] Run tests in a directory related to %t instead of /tmp

Instead of creating a temporary directory inside /tmp and running the
tests there, use a directory name based on LIT's %t substitution. This
has the benefit of not hitting /tmp so much (which is slow on some
filesystems). It also has the benefit that `ninja -C build clean` will
automatically remove the artifacts even if a test somehow failed to
remove its temporary directory (I've seen this happen when CTRL-C is
received).
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/utils/run.py
Commit a39b14f0b42d6bd835dec448506660d77bbbb7c7 by epastor
[ms] Add new /PDBSTREAM option to lld-link allowing injection of streams into PDB files.

Summary:
/PDBSTREAM:<name>=<file> adds the contents of <file> to stream <name> in the resulting PDB.

This allows native uses with workflows that (for example) add srcsrv streams to PDB files to provide a location for the build's source files.

Results should be equivalent to linking with lld-link, then running Microsoft's pdbstr tool with the command line:
pdbstr.exe -w -p:<PDB LOCATION> -s:<name> -i:<file>
except in cases where the named stream overlaps with a default named stream, such as "/names". In those cases, the added stream will be overridden, making the /pdbstream option a no-op.

Reviewers: thakis, rnk

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D77310
The file was modifiedlld/COFF/Config.h
The file was addedlld/test/COFF/Inputs/stream.txt
The file was modifiedlld/COFF/Options.td
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/Driver.cpp
The file was addedlld/test/COFF/pdbstream.test
Commit da4ffc64e4a13d9d5fea5acff63b24d74a065cef by dblaikie
Remove some top-level const from return values seen in review
The file was modifiedllvm/include/llvm/MC/MCSymbolWasm.h
Commit f5deb0878d9a381a246d30b87a180b4369bf4ea8 by stellaraccident
Remove FxpMathOps dialect and Quantizer tool.

Summary:
* Removal of FxpMathOps was discussed on the mailing list.
* Will send a courtesy note about also removing the Quantizer (which had some dependencies on FxpMathOps).
* These were only ever used for experimental purposes and we know how to get them back from history as needed.
* There is a new proposal for more generalized quantization tooling, so moving these older experiments out of the way helps clean things up.

Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77479
The file was modifiedmlir/lib/CMakeLists.txt
The file was removedmlir/test/Quantizer/matmul.mlir
The file was removedmlir/lib/Dialect/FxpMathOps/IR/FxpMathOps.cpp
The file was removedmlir/include/mlir/Quantizer/Configurations/FxpMathConfig.h
The file was removedmlir/include/mlir/Dialect/FxpMathOps/CMakeLists.txt
The file was removedmlir/include/mlir/Quantizer/Support/UniformConstraints.h
The file was modifiedmlir/include/mlir/CMakeLists.txt
The file was removedmlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp
The file was removedmlir/test/Dialect/FxpMathOps/lower-uniform-real-math-addew.mlir
The file was removedmlir/include/mlir/Dialect/FxpMathOps/Passes.td
The file was removedmlir/lib/Quantizer/Support/UniformConstraints.cpp
The file was removedmlir/include/mlir/Dialect/FxpMathOps/FxpMathOps.h
The file was removedmlir/include/mlir/Quantizer/Transforms/Passes.h
The file was removedmlir/lib/Quantizer/Support/TypeUtils.cpp
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was removedmlir/lib/Quantizer/Support/UniformSolvers.cpp
The file was removedmlir/lib/Quantizer/Support/Configuration.cpp
The file was removedmlir/lib/Dialect/FxpMathOps/Transforms/UniformKernelUtils.h
The file was modifiedmlir/docs/Quantization.md
The file was removedmlir/include/mlir/Quantizer/Transforms/Passes.td
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt
The file was removedmlir/include/mlir/Quantizer/CMakeLists.txt
The file was removedmlir/lib/Quantizer/Configurations/FxpMathConfig.cpp
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was removedmlir/lib/Quantizer/Transforms/InferQuantizedTypesPass.cpp
The file was removedmlir/test/Dialect/FxpMathOps/lower-uniform-real-math-mulew.mlir
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
The file was removedmlir/include/mlir/Quantizer/Support/ConstraintAnalysisGraph.h
The file was removedmlir/lib/Dialect/FxpMathOps/CMakeLists.txt
The file was removedmlir/include/mlir/Quantizer/Support/TypeUtils.h
The file was removedmlir/include/mlir/Dialect/FxpMathOps/Passes.h
The file was removedmlir/include/mlir/Dialect/FxpMathOps/FxpMathOps.td
The file was removedmlir/lib/Quantizer/CMakeLists.txt
The file was removedmlir/unittests/Quantizer/Support/RulesTest.cpp
The file was modifiedmlir/docs/Passes.md
The file was removedmlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp
The file was modifiedmlir/examples/standalone/standalone-opt/CMakeLists.txt
The file was removedmlir/include/mlir/Quantizer/Transforms/CMakeLists.txt
The file was removedmlir/unittests/Quantizer/Support/UniformSolversTest.cpp
The file was removedmlir/include/mlir/Quantizer/Support/Configuration.h
The file was removedmlir/lib/Quantizer/Support/Statistics.cpp
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was removedmlir/include/mlir/Quantizer/Support/Metadata.h
The file was removedmlir/test/Dialect/FxpMathOps/lower-uniform-casts.mlir
The file was removedmlir/lib/Quantizer/Transforms/RemoveInstrumentationPass.cpp
The file was removedmlir/test/Quantizer/remove-instrumentation.mlir
The file was removedmlir/lib/Quantizer/Support/Metadata.cpp
The file was removedmlir/include/mlir/Quantizer/Support/Statistics.h
The file was removedmlir/include/mlir/Quantizer/Support/UniformSolvers.h
The file was removedmlir/include/mlir/Quantizer/Support/ConstraintAnalysisGraphTraits.h
The file was removedmlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp
The file was removedmlir/include/mlir/Quantizer/Support/Rules.h
Commit 0361798dbeb6ead0a79ab7985f02da347fce988e by n.james93
[clang-tidy] Fix buildbot failing with explicit specialization in class scope
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
Commit c8de17bca658e62bbf8c33eae839e457332e885e by lawrence_danna
Fix illegal early call to PyBuffer_Release in swig typemaps

Summary:
The buffer protocol does not allow us to just call PyBuffer_Release
and assume the buffer will still be there.   Most things that implement the
buffer protocol will let us get away with that, but not all.   We need
to release it at the end of the SWIG wrapper.

Reviewers: labath, jasonmolenda, JDevlieghere, vadimcn

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77480
The file was modifiedlldb/bindings/python/python-typemaps.swig
Commit 3f7439b28063c284975b49ebdc9c5645cedae7a0 by jpienaar
[mlir][DRR] Add location directive

Summary:
Add directive to indicate the location to give to op being created. This
directive is optional and if unused the location will still be the fused
location of all source operations.

Currently this directive only works with other op locations, reusing an
existing op location or a fusion of op locations. But doesn't yet support
supplying metadata for the FusedLoc.

Based off initial revision by antiagainst@ and effectively mirrors GlobalIsel
debug_locations directive.

Differential Revision: https://reviews.llvm.org/D77649
The file was modifiedmlir/docs/DeclarativeRewrites.md
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/include/mlir/TableGen/Pattern.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/test/mlir-tblgen/pattern.mlir
The file was modifiedmlir/lib/TableGen/Pattern.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
Commit fe8abbf4425e20b5d3865924654f32b60f116d80 by nikita.ppv
[BPI] Clear handles when releasing memory (NFC)

This reduces max-rss of sqlite compilation by 2.5%.
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
Commit 2481f26ac3f228cc085d4d68ee72dadc07afa48f by arsenm2
CodeGen: Use Register in TargetFrameLowering
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcFrameLowering.h
The file was modifiedllvm/lib/CodeGen/GCRootLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600FrameLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcRegisterInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/R600InstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/ARM/ThumbRegisterInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600FrameLowering.h
The file was modifiedllvm/lib/Target/Sparc/SparcFrameLowering.cpp
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXFrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
Commit 722f909f7aa1d5ab21f68eb8ce1baf109cc5bb13 by riddleriver
[mlir][Pass][NFC] Replace usages of ModulePass with OperationPass<ModuleOp>

ModulePass doesn't provide any special utilities and thus doesn't give enough benefit to warrant a special pass class. This revision replaces all usages with the more general OperationPass.

Differential Revision: https://reviews.llvm.org/D77339
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/lib/IR/TestFunc.cpp
The file was modifiedmlir/test/lib/Transforms/TestCallGraph.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/DecorateSPIRVCompositeTypeLayoutPass.cpp
The file was modifiedmlir/test/lib/IR/TestSideEffects.cpp
The file was modifiedmlir/test/lib/Transforms/TestAllReduceLowering.cpp
The file was modifiedmlir/docs/Tutorials/Toy/Ch-6.md
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.cpp
The file was modifiedmlir/test/lib/Pass/TestPassManager.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRVPass.cpp
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/test/lib/Transforms/TestOpaqueLoc.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
Commit 80aca1eaf778a58458833591e82b74647b5b7280 by riddleriver
[mlir][Pass] Remove the use of CRTP from the Pass classes

This revision removes all of the CRTP from the pass hierarchy in preparation for using the tablegen backend instead. This creates a much cleaner interface in the C++ code, and naturally fits with the rest of the infrastructure. A new utility class, PassWrapper, is added to replicate the existing behavior for passes not suitable for using the tablegen backend.

Differential Revision: https://reviews.llvm.org/D77350
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/test/lib/IR/TestSideEffects.cpp
The file was modifiedmlir/lib/Transforms/LoopCoalescing.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
The file was modifiedmlir/include/mlir/Dialect/GPU/Passes.h
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
The file was modifiedmlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h
The file was modifiedmlir/test/lib/Dialect/Affine/TestParallelismDetection.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
The file was modifiedmlir/include/mlir/Dialect/Quant/Passes.h
The file was modifiedmlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPUPass.h
The file was modifiedmlir/test/lib/Transforms/TestLoopParametricTiling.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
The file was modifiedmlir/test/lib/IR/TestFunc.cpp
The file was modifiedmlir/lib/Pass/PassDetail.h
The file was modifiedmlir/test/lib/Transforms/TestOpaqueLoc.cpp
The file was modifiedmlir/test/lib/Transforms/TestAllReduceLowering.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/Passes.h
The file was modifiedmlir/docs/Tutorials/Toy/Ch-4.md
The file was modifiedmlir/lib/Transforms/ParallelLoopCollapsing.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/ShapeInferencePass.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
The file was modifiedmlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp
The file was modifiedmlir/lib/Transforms/ViewRegionGraph.cpp
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestAvailability.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/test/lib/Transforms/TestDominance.cpp
The file was modifiedmlir/include/mlir/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.h
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
The file was modifiedmlir/test/lib/IR/TestMatchers.cpp
The file was modifiedmlir/test/lib/Transforms/TestConstantFold.cpp
The file was modifiedmlir/test/lib/Transforms/TestGpuParallelLoopMapping.cpp
The file was modifiedmlir/include/mlir/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.h
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/lib/Transforms/Canonicalizer.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
The file was modifiedmlir/test/lib/Transforms/TestLiveness.cpp
The file was modifiedmlir/lib/Transforms/Inliner.cpp
The file was modifiedmlir/include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h
The file was modifiedmlir/test/lib/Transforms/TestInlining.cpp
The file was modifiedmlir/lib/Transforms/PipelineDataTransfer.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/test/lib/Pass/TestPassManager.cpp
The file was modifiedmlir/lib/Transforms/LocationSnapshot.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/ShapeInferencePass.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/DecorateSPIRVCompositeTypeLayoutPass.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp
The file was modifiedmlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/include/mlir/Transforms/Passes.h
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/include/mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h
The file was modifiedmlir/test/lib/Dialect/Affine/TestAffineDataCopy.cpp
The file was modifiedmlir/lib/Transforms/MemRefDataFlowOpt.cpp
The file was modifiedmlir/lib/Transforms/SymbolDCE.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/test/lib/Transforms/TestMemRefBoundCheck.cpp
The file was modifiedmlir/test/lib/Transforms/TestMemRefStrideCalculation.cpp
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
The file was modifiedmlir/include/mlir/Conversion/LinalgToSPIRV/LinalgToSPIRVPass.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was modifiedmlir/include/mlir/Transforms/ViewOpGraph.h
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnrollAndJam.cpp
The file was modifiedmlir/test/lib/Transforms/TestCallGraph.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopSpecialization.cpp
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
The file was modifiedmlir/test/lib/Transforms/TestLinalgTransforms.cpp
The file was modifiedmlir/lib/Transforms/CSE.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.cpp
The file was modifiedmlir/include/mlir/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.h
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was modifiedmlir/test/lib/Transforms/TestLoopMapping.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/Transforms/LegalizeForExport.cpp
The file was modifiedmlir/test/lib/Transforms/TestGpuMemoryPromotion.cpp
The file was modifiedmlir/include/mlir/Conversion/LinalgToLLVM/LinalgToLLVM.h
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.h
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
The file was modifiedmlir/examples/toy/Ch4/mlir/ShapeInferencePass.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
The file was modifiedmlir/test/lib/Transforms/TestVectorToLoopsConversion.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertSimQuant.cpp
The file was modifiedmlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRVPass.cpp
The file was modifiedmlir/include/mlir/Transforms/ViewRegionGraph.h
The file was modifiedmlir/test/lib/Dialect/Affine/TestLoopPermutation.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/ShapeInferencePass.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
Commit 1834ad4a69701d338da1c5e2272e5523e0bbcb49 by riddleriver
[mlir][Pass] Update the PassGen to generate base classes instead of utilities

Summary:
This is much cleaner, and fits the same structure as many other tablegen backends. This was not done originally as the CRTP in the pass classes made it overly verbose/complex.

Differential Revision: https://reviews.llvm.org/D77367
The file was modifiedmlir/lib/Transforms/ViewRegionGraph.cpp
The file was addedmlir/lib/Dialect/SPIRV/Transforms/PassDetail.h
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnrollAndJam.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.td
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
The file was modifiedmlir/lib/Transforms/LocationSnapshot.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/lib/Transforms/Inliner.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/Passes.td
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
The file was modifiedmlir/tools/mlir-tblgen/PassGen.cpp
The file was modifiedmlir/lib/Transforms/SymbolDCE.cpp
The file was addedmlir/lib/Dialect/Linalg/Transforms/PassDetail.h
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was modifiedmlir/lib/Transforms/CSE.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/lib/Transforms/PipelineDataTransfer.cpp
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/include/mlir/Dialect/Quant/Passes.td
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/tools/mlir-tblgen/PassDocGen.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertSimQuant.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopSpecialization.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/include/mlir/Dialect/LoopOps/Passes.td
The file was addedmlir/lib/Dialect/LLVMIR/Transforms/PassDetail.h
The file was addedmlir/lib/Dialect/Quant/Transforms/PassDetail.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Transforms/Canonicalizer.cpp
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was addedmlir/lib/Conversion/PassDetail.h
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/DecorateSPIRVCompositeTypeLayoutPass.cpp
The file was modifiedmlir/lib/Transforms/MemRefDataFlowOpt.cpp
The file was modifiedmlir/lib/Transforms/ParallelLoopCollapsing.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/Passes.td
The file was modifiedmlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
The file was modifiedmlir/include/mlir/TableGen/Pass.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/Transforms/LegalizeForExport.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
The file was addedmlir/lib/Dialect/LoopOps/Transforms/PassDetail.h
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRVPass.cpp
The file was modifiedmlir/lib/Transforms/LoopCoalescing.cpp
The file was modifiedmlir/lib/TableGen/Pass.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/include/mlir/Pass/PassBase.td
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was addedmlir/lib/Dialect/GPU/Transforms/PassDetail.h
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was addedmlir/lib/Transforms/PassDetail.h
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
The file was addedmlir/lib/Dialect/Affine/Transforms/PassDetail.h
Commit 873b79b8675d0c8eca6055ae8a874fe52b033c28 by benny.kra
Don't access reference to a vector after pop_back

This is undefined behavior. Found by asan's detect_container_overflow.
The file was modifiedlldb/source/Target/ThreadPlanStack.cpp
Commit 9e6670b03ceaa5980eccb06e2dd037e6a9584c66 by francisvm
[Driver] Only pass LTO remark arguments if the driver asks for it

Previous fix missed a check to willEmitRemarks, causing remarks to
always be enabled for LTO.
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/test/Driver/darwin-opt-record-ld.c
Commit a092e3833bee3b8f509638177ead89223d9b0153 by Louis Dionne
[libc++] Remove the %{not} substitution

It has never been used, and it actually doesn't really work because it
assumes that the target supports Python. Instead, it's better to just
use `!` since we're running ShTests in system shells anyway.
The file was removedlibcxx/test/libcxx/selftest/not_test.sh.cpp
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was removedlibcxx/utils/not.py
Commit 5fee925bebe002eb4b44ba4e2d5847ba417a344d by riddleriver
[mlir][Pass] Update the documentation for the declarative pass specification

The pass tablegen backend now generates base classes instead of utilities, so this revision updates the documentation to reflect that.
The file was modifiedmlir/docs/WritingAPass.md
Commit 96e51ed005a960d1c746a0a7774ce255bb497ed5 by Stanislav.Mekhanoshin
[AMDGPU] Implement copyPhysReg for 16 bit subregs

Differential Revision: https://reviews.llvm.org/D74937
The file was addedllvm/test/CodeGen/AMDGPU/lo16-hi16-physreg-copy.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit b49eac71ad76cd8ee3771745ff591ee8771eab1b by wmi
Recommit [SampleFDO] Add flag for partial profile.

Fix the error of show-prof-info.test on some platforms without zlib.

The common profile usage is to collect profile from a target and then use the profile to guide the optimized build for the same target. There are some cases that no profile can be collected for a target. In those cases, although no full profile is available, it is possible to have some partial profile collected from other targets to optimize common libraries and utilities. A flag is needed to tell the partial profile from the full profile apart, so compiler can use different strategy for them.

Differential Revision: https://reviews.llvm.org/D77426
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h
The file was addedllvm/test/tools/llvm-profdata/show-prof-info.test
The file was removedllvm/test/tools/llvm-profdata/show-prof-size.test
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/include/llvm/IR/ProfileSummary.h
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
Commit dbe86786f7f19c3f1338437f4275797e08501efd by a.bataev
[OPENMP]Do not capture global marked as shared in OpenMP region.

No need to capture the global variable marked as shared in the OpenMP
region, the original variable can be used.
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
Commit 82576d6fecfec71725eb900111c000d772002449 by jgorbe
[libunwind] Fix UB in EHHeaderParser::findFDE

When the EHHeaderInfo object filled by decodeEHHdr has fde_count == 0,
findFDE does the following:

- sets low = 0 and len = hdrInfo.fde_count as a preparation to start a
  binary search
- because len is 0, the binary search loop is skipped
- the code still tries to find a table entry at
  hdrInfo.table + low * tableEntrySize, and decode it.

This is wrong when fde_count is 0, and trying to decode a table entry
that isn't there will lead to reading garbage offsets and can cause
segfaults.

Differential Revision: https://reviews.llvm.org/D77679
The file was modifiedlibunwind/src/EHHeaderParser.hpp
Commit ff87813715ec32741ce230dd37c13d0ae6673f9c by danalbert
Don't expose unavailable cstdio functions.

Summary: These aren't available on Android in all configurations.

Reviewers: EricWF, mclow.lists, #libc, ldionne

Reviewed By: EricWF, #libc, ldionne

Subscribers: broadwaylamb, dexonsmith, ldionne, krytarowski, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D76093
The file was modifiedlibcxx/include/__config
The file was addedlibcxx/test/libcxx/depr/depr.c.headers/no_fgetpos_fsetpos.fail.cpp
The file was modifiedlibcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
The file was modifiedlibcxx/include/cstdio
The file was modifiedlibcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp
Commit 75f60c698fdfc0ea46f84b7f92d667d6e7f53f7f by stephen.neuendorffer
[MLIR] Cleanup mlir-tblgen error messages for custom assembly formats.

The messages are somewhat cryptic, since they are not complete sentences,
include lots of ambiguous words, like 'format' which are hard to parse,
and include names from the users code which may, or may not make sense in
the context of the message.  Start to clean this up and provide some
guidance for fixes.

Also, add a test for one of the messages which didn't have a test at all.

Differential Revision: https://reviews.llvm.org/D77449
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-format-spec.td
Commit 19fec004e23adbc43b839ddf1be8bc2e22e58aca by stephen.neuendorffer
[MLIR] Add note for file-line numbers in tablegen errors for assembly formats

Error messages for the custom assembly format are difficult to understand
because there are no line numbers.  This happens because the assembly format
is parsed as a standalone line, separate from it's parent file, with no useful
location information.  Fixing this properly probably requires quite a bit
of invasive plumbing through the SourceMgr, similar to how included files
are handled

This proposal is a less invasive short term solution.  When generating an
error message we generate an additional note which at least properly describes
the operation definition the error occured in, if not the actual line number
of the assemblyFormat definition.

A typical message is like:

error: type of operand #0, named 'operand', is not buildable and a buildable type cannot be inferred
  $operand type($result) attr-dict
  ^
/src/llvm-project/mlir/test/mlir-tblgen/op-format-spec.td:296:1: note: in custom assembly format for this operation
def ZCoverageInvalidC : TestFormat_Op<"variable_invalid_c", [{
^
note: suggest adding a type constraint to the operation or adding a 'type($operand)' directive to the custom assembly format
  $operand type($result) attr-dict
  ^

Differential Revision: https://reviews.llvm.org/D77488
The file was modifiedmlir/test/mlir-tblgen/op-format-spec.td
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit 50280c18958bc152d77d6e69d14a53b8dbc8b395 by danalbert
Revert "Don't expose unavailable cstdio functions."

Broke builders that emit different diagnostics. e.g.:

error: 'warning' diagnostics seen but not expected:
  Line 13: alias declarations are a C++11 extension
  Line 20: alias declarations are a C++11 extension

This reverts commit ff87813715ec32741ce230dd37c13d0ae6673f9c.
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
The file was modifiedlibcxx/include/cstdio
The file was removedlibcxx/test/libcxx/depr/depr.c.headers/no_fgetpos_fsetpos.fail.cpp
The file was modifiedlibcxx/test/std/depr/depr.c.headers/stdio_h.pass.cpp
Commit 2f8fb4d1cde803aee60171ce73a7f5a95868ff84 by maskray
[VE] Adapt aa26dd985848364df01d3f8f0f3eaccfd5ee80dc and 2481f26ac3f228cc085d4d68ee72dadc07afa48f
The file was modifiedllvm/lib/Target/VE/VEFrameLowering.cpp
The file was modifiedllvm/lib/Target/VE/VERegisterInfo.cpp
The file was modifiedllvm/lib/Target/VE/VERegisterInfo.h
The file was modifiedllvm/lib/Target/VE/VEFrameLowering.h
Commit d2ef8c1f2ca33457247be26374852573098553c7 by maskray
[ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker()

dso_local leads to direct access even if the definition is not within this compilation unit (it is
still in the same linkage unit). On ELF, such a relocation (e.g. R_X86_64_PC32) referencing a
STB_GLOBAL STV_DEFAULT object can cause a linker error in a -shared link.

If the linkage is changed to available_externally, the dso_local flag should be dropped, so that no
direct access will be generated.

The current behavior is benign, because -fpic does not assume dso_local
(clang/lib/CodeGen/CodeGenModule.cpp:shouldAssumeDSOLocal).
If we do that for -fno-semantic-interposition (D73865), there will be an
R_X86_64_PC32 linker error without this patch.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D74751
The file was modifiedllvm/tools/llvm-link/llvm-link.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-alias.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-comdat.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-ldst.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-dead.ll
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-gvref.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
The file was addedllvm/test/ThinLTO/X86/index-const-prop-gvref-pie.ll
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
The file was modifiedllvm/test/LTO/Resolution/X86/local-def-dllimport.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/FunctionImport.h
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-full-lto.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll
The file was modifiedllvm/test/ThinLTO/X86/funcimport_alwaysinline.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-linkage.ll
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop2.ll
Commit 6011627f5118dd64a0c33694b604c70e766d8c40 by arsenm2
CodeGen: More conversions to use Register
The file was modifiedllvm/lib/Target/Mips/Mips16RegisterInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.h
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2SizeReduction.cpp
The file was modifiedllvm/lib/Target/ARM/ThumbRegisterInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.h
The file was modifiedllvm/lib/Target/Mips/Mips16RegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ThumbRegisterInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/CodeGen/TargetRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
Commit 8b7e669e68f9a8e2aa133d0f695a250fc3381e3a by riddleriver
[mlir][AsmFormat] Avoid invalidating the iterator when verifying attributes

Summary: 'it' may get invalidated when recursing into optional groups. This revision refactors the inner loop to avoid the need to compare the iterator after invalidation.

Differential Revision: https://reviews.llvm.org/D77686
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit 624654fd647057dd6c1cdf8799a7605b69716a02 by maskray
[VE] Migrate to the getMachineMemOperand overload using llvm::Align

Just delete the deprecated overload because nothing uses it.
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.cpp
Commit 1adeeabb79afbe966a45050f07e0bd6f446f8aa6 by daniel_l_sanders
Add MIR-level debugify with only locations support for now

Summary:
Re-used the IR-level debugify for the most part. The MIR-level code then
adds locations to the MachineInstrs afterwards based on the LLVM-IR debug
info.

It's worth mentioning that the resulting locations make little sense as
the range of line numbers used in a Function at the MIR level exceeds that
of the equivelent IR level function. As such, MachineInstrs can appear to
originate from outside the subprogram scope (and from other subprogram
scopes). However, it doesn't seem worth worrying about as the source is
imaginary anyway.

There's a few high level goals this pass works towards:
* We should be able to debugify our .ll/.mir in the lit tests without
  changing the checks and still pass them. I.e. Debug info should not change
  codegen. Combining this with a strip-debug pass should enable this. The
  main issue I ran into without the strip-debug pass was instructions with MMO's and
  checks on both the instruction and the MMO as the debug-location is
  between them. I currently have a simple hack in the MIRPrinter to
  resolve that but the more general solution is a proper strip-debug pass.
* We should be able to test that GlobalISel does not lose debug info. I
  recently found that the legalizer can be unexpectedly lossy in seemingly
  simple cases (e.g. expanding one instr into many). I have a verifier
  (will be posted separately) that can be integrated with passes that use
  the observer interface and will catch location loss (it does not verify
  correctness, just that there's zero lossage). It is a little conservative
  as the line-0 locations that arise from conflicts do not track the
  conflicting locations but it can still catch a fair bit.

Depends on D77439, D77438

Reviewers: aprantl, bogner, vsk

Subscribers: mgorny, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77446
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was addedllvm/lib/CodeGen/MachineDebugify.cpp
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/locations.mir
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/Utils/Debugify.cpp
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Debugify.h
Commit f30ebf437851d3c68fd0eee82afbc0cef7373c00 by ditaliano
[ManualDWARFIndex] Remove dead code, in preparation for moving this function.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
Commit 565b56a72cff067456e186c3fe7bca9a49c61cd7 by efriedma
[NFC] Clean up uses of LoadInst constructor.
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
The file was modifiedllvm/examples/BrainF/BrainF.cpp
Commit 6fa0d0ae11a2a7009f4ac123a5ed6a283849869c by llvmgnsyncbot
[gn build] Port 1adeeabb79a
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Commit 0b43db5202eef38d736e22042f7b5038454f44fd by danalbert
Reset more globalMemCounters.

Reviewers: EricWF, #libc

Reviewed By: EricWF, #libc

Subscribers: broadwaylamb, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D77681
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/auto_ptr.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.default.allocator/allocator.members/construct.cxx2a.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.pass.cpp
Commit 8fb7cfcea97af440830d256cc18ccd978f218e1d by vsapsai
Revert "[ObjC generics] Fix not inheriting type bounds in categories/extensions."

This reverts commit a8c8b627f23f204fb621bd2a8c495cfc8bc16ae7. It causes
intermittent

    Clang :: SemaObjC/parameterized_classes_subst.m

test failures on various bots.
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/test/SemaObjC/parameterized_classes_subst.m
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/test/SemaObjC/parameterized_classes_collection_literal.m

Summary

  1. [libc builder] Use argparse directly instead of via AnnotatedBuilder. (details)
  2. [libc builder] Parse only known args. (details)
Commit ecaa5909ede6d2b46f7d1769a7d6a9280c2bec77 by sivachandra
[libc builder] Use argparse directly instead of via AnnotatedBuilder.

Reviewers: PaulkaToast

Differential Revision: https://reviews.llvm.org/D77667
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py
Commit 4a4b67582626fd00db6f392a848fc3346c36876b by sivachandra
[libc builder] Parse only known args.
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py