SuccessChanges

Summary

  1. [NFC][object] Change the input parameter of the method isDebugSection. (details)
  2. [mlir] Fold complex.re(complex.create) and complex.im(complex.create) (details)
  3. [InstCombine] Fold extractelement + vector GEP with one use (details)
  4. [mlir] Simplify folding code (NFC) (details)
  5. [mlir] LocalAliasAnalysis: Assume allocation scope to function scope if cannot determine better (details)
  6. [HIP] Adjust check in hip-include-path.hip test case (details)
  7. Fix warning introduced by 9c766f4090d19e3e2f56e87164177f8c3eba4b96 (details)
  8. [NFC][X86] clang-format X86TTIImpl::getInterleavedMemoryOpCostAVX2() (details)
  9. [Test] Add test on unrolling to make sure it won't fail (details)
  10. [X86][Atom] Fix vector variable shift resource/throughputs (details)
  11. [CostModel][X86] Remove old testshift* tests (details)
  12. AArch64: support post-indexed stores to bfloat types. (details)
  13. [Test] Add simplified versions of tests for loop deletion that don't need context (details)
  14. [RISCV] Pre-commit fixed-length mask vselect tests (details)
  15. Revert "[AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect from changing reg banks" (details)
  16. [AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect from changing reg banks (details)
  17. [NFC] Add CHECK lines for unordered FP reductions (details)
  18. [AMDGPU][Libomptarget] Move Kernel/Symbol info tables to RTLDeviceInfoTy (details)
  19. [SCEV] Add tests with signed predicates for applyLoopGuards. (details)
  20. [X86][SLM] Fix vector PSHUFB + variable shift resource/throughputs (details)
  21. [lldb][NFC] Use C++ versions of the deprecated C standard library headers (details)
  22. [AMDGPU][Libomptarget] Delete g_atmi_initialized (details)
  23. [AMDGPU][Libomptarget] Inline atmi_init/atmi_finalize (details)
  24. [MC][NFCI] Factor out ELF section unique ID calculation (details)
  25. [MC][ELF] Emit unique sections for different flags (details)
Commit bf809cd165f4ea1b8ef6aabc8e41e29747b4d2c7 by esme.yi
[NFC][object] Change the input parameter of the method isDebugSection.

Summary: This is a NFC patch to change the input parameter of the method SectionRef::isDebugSection(), by replacing the StringRef SectionName with DataRefImpl Sec. This allows us to determine if a section is debug type in more ways than just by section name.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D102601
The file was modifiedllvm/lib/Object/ObjectFile.cpp
The file was modifiedllvm/lib/Object/COFFObjectFile.cpp
The file was modifiedllvm/tools/llvm-dwarfdump/SectionSizes.cpp
The file was modifiedllvm/include/llvm/Object/COFF.h
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/include/llvm/Object/MachO.h
The file was modifiedllvm/lib/Object/MachOObjectFile.cpp
The file was modifiedllvm/include/llvm/Object/ObjectFile.h
Commit b99f892b025b553680c7e5dbcf15ab7301e3fa57 by akuegel
[mlir] Fold complex.re(complex.create) and complex.im(complex.create)

This extends the folding we already have. A test needs to be adjusted.

Differential Revision: https://reviews.llvm.org/D103141
The file was modifiedmlir/test/Dialect/Complex/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Complex/IR/ComplexOps.cpp
The file was modifiedmlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
Commit 9c766f4090d19e3e2f56e87164177f8c3eba4b96 by david.sherwood
[InstCombine] Fold extractelement + vector GEP with one use

We sometimes see code like this:

Case 1:
  %gep = getelementptr i32, i32* %a, <2 x i64> %splat
  %ext = extractelement <2 x i32*> %gep, i32 0

or this:

Case 2:
  %gep = getelementptr i32, <4 x i32*> %a, i64 1
  %ext = extractelement <4 x i32*> %gep, i32 0

where there is only one use of the GEP. In such cases it makes
sense to fold the two together such that we create a scalar GEP:

Case 1:
  %ext = extractelement <2 x i64> %splat, i32 0
  %gep = getelementptr i32, i32* %a, i64 %ext

Case 2:
  %ext = extractelement <2 x i32*> %a, i32 0
  %gep = getelementptr i32, i32* %ext, i64 1

This may create further folding opportunities as a result, i.e.
the extract of a splat vector can be completely eliminated. Also,
even for the general case where the vector operand is not a splat
it seems beneficial to create a scalar GEP and extract the scalar
element from the operand. Therefore, in this patch I've assumed
that a scalar GEP is always preferrable to a vector GEP and have
added code to unconditionally fold the extract + GEP.

I haven't added folds for the case when we have both a vector of
pointers and a vector of indices, since this would require
generating an additional extractelement operation.

Tests have been added here:

  Transforms/InstCombine/gep-vector-indices.ll

Differential Revision: https://reviews.llvm.org/D101900
The file was modifiedllvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_demanded_elts.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_gep_scalar_arg.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was addedllvm/test/Transforms/InstCombine/gep-vector-indices.ll
Commit cb65419b1ac05c3020dd05b64db183712235d2ff by akuegel
[mlir] Simplify folding code (NFC)
The file was modifiedmlir/lib/Dialect/Complex/IR/ComplexOps.cpp
Commit 91e0cb6598f458c79707bc3481f0e70b1dd731d4 by ivan.butygin
[mlir] LocalAliasAnalysis: Assume allocation scope to function scope if cannot determine better

It helps when checking aliasing between AllocOp result and function arguments.

Differential Revision: https://reviews.llvm.org/D102557
The file was modifiedmlir/test/Analysis/test-alias-analysis.mlir
The file was modifiedmlir/lib/Analysis/AliasAnalysis/LocalAliasAnalysis.cpp
Commit a3b3f7e631981bd861d5fe5e20f33b11a0dac978 by bjorn.a.pettersson
[HIP] Adjust check in hip-include-path.hip test case

The changes in commit 722c39fef5ab6 caused the test case to fail
when building with -DLLVM_LIBDIR_SUFFIX=64. This patch makes the
checks a bit more relaxed to support libdir suffixes again.

Also adjusting the regular expressions to avoid mathes including
double quotes.
The file was modifiedclang/test/Driver/hip-include-path.hip
Commit 70d8365e33366d44fd61c149f96e8228e05bebc0 by david.sherwood
Fix warning introduced by 9c766f4090d19e3e2f56e87164177f8c3eba4b96
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit 8c86161a0be2266dd9232e9f1c13b625c2ff0db2 by lebedev.ri
[NFC][X86] clang-format X86TTIImpl::getInterleavedMemoryOpCostAVX2()

I plan to make changes to it, and undoing formatting each time is not going to be fun.
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
Commit 794fb5482efc4af5434e23efb5b0a99b4a386eed by mkazantsev
[Test] Add test on unrolling to make sure it won't fail

Initially it failed an assertion with "Do actual DCE in LoopUnroll (try 2)"
which was later reverted. Make sure that when this patch is returned, the
test works fine.
The file was modifiedllvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll
Commit 66978466baefbaac3234df07851ec6d94f99914c by llvm-dev
[X86][Atom] Fix vector variable shift resource/throughputs

Match whats documented in the Intel AOM - the non-immediate variants of the PSLL*/PSRA*/PSRL* shift instructions requires BOTH ports - this was being incorrectly modelled as EITHER port.

Now that we can use in-order models in llvm-mca, the atom model is a good "worst case scenario" analysis for x86.
The file was modifiedllvm/test/tools/llvm-mca/X86/Atom/resources-mmx.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleAtom.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s
Commit 942e01de896a5e1fa76d367747e8fc0126038038 by llvm-dev
[CostModel][X86] Remove old testshift* tests

The vector shift cost tests are better covered (more cpu/sse levels) by the vshift-*-*cost files, and we're trying to avoid codegen tests in here as it makes it harder to maintain the test files.
The file was removedllvm/test/Analysis/CostModel/X86/testshiftashr.ll
The file was removedllvm/test/Analysis/CostModel/X86/testshiftlshr.ll
The file was removedllvm/test/Analysis/CostModel/X86/testshiftshl.ll
Commit 8c5ac18d7165fa0963583e0249faa3b272239fee by Tim Northover
AArch64: support post-indexed stores to bfloat types.
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/bf16.ll
Commit 7ee863b8ebfad9249450dd283087042354a02939 by mkazantsev
[Test] Add simplified versions of tests for loop deletion that don't need context
The file was modifiedllvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
Commit 7e27e4273d093064da8ecbf868795f8ae68bc775 by fraser
[RISCV] Pre-commit fixed-length mask vselect tests

These are default-expanded but later unrolled due to RISC-V's vector
boolean content policy. A patch to improve this codegen will follow
shortly.
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect.ll
Commit 7386ad4e9e26df93876ae309920e4f7e72288bae by Mirko.Brkusanin
Revert "[AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect from changing reg banks"

This reverts commit 18c5444702893fd63b0a99ec7133dd714284f9d2.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-insert-vector-elt.mir
Commit 9601849984a79eae176a9b114d7707c651097523 by Mirko.Brkusanin
[AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect from changing reg banks

This function can change regbank for registers which already have a selected
bank. Depending on the instruction where these registers were used it can
cause instruction selection to fail.

Differential Revision: https://reviews.llvm.org/D98515
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-insert-vector-elt.mir
Commit 6b0fe3c63b4619a67b45853b7bd47ecac75c4f31 by kerry.mclaughlin
[NFC] Add CHECK lines for unordered FP reductions

An additional RUN line has been added to both strict-fadd.ll &
scalable-strict-fadd.ll to ensure the correct behaviour of these
tests where `-enable-strict-reductions` is false.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D103015
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
Commit 7648b6978e5539bcb43b3ca24a5a53e9c6a52c1e by Pushpinder.Singh
[AMDGPU][Libomptarget] Move Kernel/Symbol info tables to RTLDeviceInfoTy

Two globals KernelInfoTable & SymbolInfoTable are moved
into RTLDeviceInfoTy class.
This builds on the top of D102691.
[2/2]

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D102692
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/internal.h
Commit 2a41d702be478e3975f49bffec0672c991225786 by flo
[SCEV] Add tests with signed predicates for applyLoopGuards.
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
Commit 21aec4fdc5de213a1009bc684adff988c290c6b3 by llvm-dev
[X86][SLM] Fix vector PSHUFB + variable shift resource/throughputs

Match whats documented in the Intel AOM (+Agner) - PSHUFB xmm is really slow, and mmx/xmm vector shifts are half rate.

Noticed while working to get the cost tables to more closely match llvm-mca analysis, in this case for shifts and truncations.
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-mmx.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-ssse3.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse2.s
Commit 76e47d4887f456878c0e2f20ebfae36267006cd7 by Raphael Isemann
[lldb][NFC] Use C++ versions of the deprecated C standard library headers

The C headers are deprecated so as requested in D102845, this is replacing them
all with their (not deprecated) C++ equivalent.

Reviewed By: shafik

Differential Revision: https://reviews.llvm.org/D103084
The file was modifiedlldb/source/Core/DynamicLoader.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/include/lldb/Core/StreamAsynchronousIO.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_mips64.h
The file was modifiedlldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
The file was modifiedlldb/tools/lldb-server/lldb-platform.cpp
The file was modifiedlldb/include/lldb/API/SBDebugger.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResult.h
The file was modifiedlldb/source/Host/linux/Host.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
The file was modifiedlldb/source/Utility/DataExtractor.cpp
The file was modifiedlldb/source/Utility/StructuredData.cpp
The file was modifiedlldb/include/lldb/API/SBCommandReturnObject.h
The file was modifiedlldb/include/lldb/Target/DynamicLoader.h
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Utility/UriParser.cpp
The file was modifiedlldb/include/lldb/Host/Host.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
The file was modifiedlldb/source/Core/Section.cpp
The file was modifiedlldb/tools/debugserver/source/RNBSocket.cpp
The file was modifiedlldb/include/lldb/API/SBInstructionList.h
The file was modifiedlldb/source/Utility/Event.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/SingleStepCheck.cpp
The file was modifiedlldb/source/Utility/Status.cpp
The file was modifiedlldb/source/Host/netbsd/HostNetBSD.cpp
The file was modifiedlldb/tools/debugserver/source/DNBRegisterInfo.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/tools/lldb-server/lldb-server.cpp
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was modifiedlldb/source/Core/AddressResolverFileLine.cpp
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectDynamicValue.h
The file was modifiedlldb/include/lldb/Core/FileSpecList.h
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h
The file was modifiedlldb/source/Core/PluginManager.cpp
The file was modifiedlldb/source/Host/windows/Windows.cpp
The file was modifiedlldb/source/Core/ValueObjectDynamicValue.cpp
The file was modifiedlldb/tools/lldb-vscode/VSCode.h
The file was modifiedlldb/include/lldb/Core/ValueObjectChild.h
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Host/common/Socket.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/tools/lldb-vscode/JSONUtils.h
The file was modifiedlldb/include/lldb/Utility/Timer.h
The file was modifiedlldb/include/lldb/Core/Mangled.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/include/lldb/Core/AddressRange.h
The file was modifiedlldb/source/Utility/SelectHelper.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachThread.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
The file was modifiedlldb/source/Core/ValueObjectMemory.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/source/Utility/TildeExpressionResolver.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectMemory.h
The file was modifiedlldb/include/lldb/Utility/StringExtractor.h
The file was modifiedlldb/source/Breakpoint/BreakpointID.cpp
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
The file was modifiedlldb/source/Host/openbsd/HostInfoOpenBSD.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedlldb/tools/debugserver/source/DNBError.h
The file was modifiedlldb/include/lldb/Core/SearchFilter.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Core/Address.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/LinuxPTraceDefines_arm64sve.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
The file was modifiedlldb/source/Host/common/SocketAddress.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
The file was modifiedlldb/tools/driver/Platform.h
The file was modifiedlldb/include/lldb/API/SBProcess.h
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultImpl.h
The file was modifiedlldb/source/Core/StreamFile.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectList.h
The file was modifiedlldb/source/Core/Communication.cpp
The file was modifiedlldb/source/Utility/FileSpec.cpp
The file was modifiedlldb/source/Host/common/ProcessLaunchInfo.cpp
The file was modifiedlldb/source/Core/ValueObjectChild.cpp
The file was modifiedlldb/source/Utility/UserID.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/source/Symbol/UnwindTable.cpp
The file was modifiedlldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_ppc64le.h
The file was modifiedlldb/source/Host/macosx/objcxx/Host.mm
The file was modifiedlldb/include/lldb/Core/SourceManager.h
The file was modifiedlldb/source/Core/SourceManager.cpp
The file was modifiedlldb/include/lldb/API/SBInstruction.h
The file was modifiedlldb/source/Utility/ConstString.cpp
The file was modifiedlldb/source/Target/ModuleCache.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
The file was modifiedlldb/source/API/SBFileSpecList.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
The file was modifiedlldb/include/lldb/Utility/UUID.h
The file was modifiedlldb/source/Utility/VASprintf.cpp
The file was modifiedlldb/tools/debugserver/source/DNBDataRef.h
The file was modifiedlldb/include/lldb/Utility/Endian.h
The file was modifiedlldb/include/lldb/Utility/Stream.h
The file was modifiedlldb/source/Host/openbsd/Host.cpp
The file was modifiedlldb/source/Utility/StringExtractorGDBRemote.cpp
The file was modifiedlldb/tools/lldb-server/lldb-gdbserver.cpp
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/tools/debugserver/source/DNBDataRef.cpp
The file was modifiedlldb/include/lldb/Core/EmulateInstruction.h
The file was modifiedlldb/source/Breakpoint/BreakpointSite.cpp
The file was modifiedlldb/include/lldb/Utility/StringList.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
The file was modifiedlldb/source/DataFormatters/StringPrinter.cpp
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/source/Expression/UserExpression.cpp
The file was modifiedlldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
The file was modifiedlldb/source/Utility/DataBufferLLVM.cpp
The file was modifiedlldb/include/lldb/Core/AddressResolverFileLine.h
The file was modifiedlldb/tools/debugserver/source/JSON.cpp
The file was modifiedlldb/tools/debugserver/source/libdebugserver.cpp
The file was modifiedlldb/source/Host/freebsd/HostInfoFreeBSD.cpp
The file was modifiedlldb/tools/debugserver/source/PThreadEvent.cpp
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Host/common/Host.cpp
The file was modifiedlldb/include/lldb/Host/Time.h
The file was modifiedlldb/source/API/SBLineEntry.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/source/Core/Opcode.cpp
The file was modifiedlldb/include/lldb/Utility/StreamTee.h
The file was modifiedlldb/source/Host/posix/HostProcessPosix.cpp
The file was modifiedlldb/source/Core/SearchFilter.cpp
The file was modifiedlldb/source/Host/android/LibcGlue.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultCast.h
The file was modifiedlldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
The file was modifiedlldb/include/lldb/Core/ValueObject.h
The file was modifiedlldb/source/Utility/VMRange.cpp
The file was modifiedlldb/tools/debugserver/source/DNBTimer.h
The file was modifiedlldb/tools/driver/Platform.cpp
The file was modifiedlldb/tools/debugserver/source/StdStringExtractor.h
The file was modifiedlldb/include/lldb/lldb-types.h
The file was modifiedlldb/include/lldb/Core/DumpDataExtractor.h
The file was modifiedlldb/tools/debugserver/source/DNBArch.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_arm.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/source/Interpreter/ScriptInterpreter.cpp
The file was modifiedlldb/source/Core/Mangled.cpp
The file was modifiedlldb/source/Host/common/StringConvert.cpp
The file was modifiedlldb/source/Utility/UUID.cpp
The file was modifiedlldb/tools/debugserver/source/PThreadMutex.h
The file was modifiedlldb/source/Utility/ReproducerInstrumentation.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectVariable.h
The file was modifiedlldb/source/Utility/DataEncoder.cpp
The file was modifiedlldb/include/lldb/Core/Address.h
The file was modifiedlldb/source/Host/posix/DomainSocket.cpp
The file was modifiedlldb/include/lldb/Utility/DataEncoder.h
The file was modifiedlldb/tools/darwin-debug/darwin-debug.cpp
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedlldb/include/lldb/Utility/StreamString.h
The file was modifiedlldb/include/lldb/Core/MappedHash.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
The file was modifiedlldb/source/Interpreter/CommandHistory.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
The file was modifiedlldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
The file was modifiedlldb/source/Core/DumpDataExtractor.cpp
The file was modifiedlldb/source/Utility/GDBRemote.cpp
The file was modifiedlldb/include/lldb/Core/ModuleList.h
The file was modifiedlldb/source/Host/linux/HostInfoLinux.cpp
The file was modifiedlldb/include/lldb/Core/AddressResolver.h
The file was modifiedlldb/source/Host/common/FileSystem.cpp
The file was modifiedlldb/source/Host/netbsd/HostInfoNetBSD.cpp
The file was modifiedlldb/source/Symbol/Type.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/include/lldb/Utility/GDBRemote.h
The file was modifiedlldb/source/Utility/Stream.cpp
The file was modifiedlldb/source/Target/ThreadList.cpp
The file was modifiedlldb/source/Utility/Log.cpp
The file was modifiedlldb/tools/debugserver/source/DNBBreakpoint.cpp
The file was modifiedlldb/include/lldb/Core/FileLineResolver.h
The file was modifiedlldb/source/Host/posix/PipePosix.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
The file was modifiedlldb/include/lldb/Core/UserSettingsController.h
The file was modifiedlldb/include/lldb/Host/HostInfoBase.h
The file was modifiedlldb/source/Host/windows/Host.cpp
The file was modifiedlldb/tools/debugserver/source/DNBLog.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/i386/MachRegisterStatesI386.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_s390x.h
The file was modifiedlldb/include/lldb/Utility/Status.h
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
The file was modifiedlldb/include/lldb/Utility/FileSpec.h
The file was modifiedlldb/include/lldb/Core/Opcode.h
The file was modifiedlldb/include/lldb/Symbol/LocateSymbolFile.h
The file was modifiedlldb/tools/debugserver/source/SysSignal.cpp
The file was modifiedlldb/include/lldb/Host/windows/PosixApi.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/source/Host/common/Terminal.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/Process/POSIX/CrashReason.h
The file was modifiedlldb/source/Utility/Logging.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
The file was modifiedlldb/include/lldb/Core/StreamFile.h
The file was modifiedlldb/include/lldb/Utility/VMRange.h
The file was modifiedlldb/source/Host/posix/ProcessLauncherPosixFork.cpp
The file was modifiedlldb/include/lldb/API/SBSourceManager.h
The file was modifiedlldb/source/Host/common/MainLoop.cpp
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/CoreMedia.cpp
The file was modifiedlldb/include/lldb/API/SBStream.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
The file was modifiedlldb/tools/debugserver/source/DNBDefs.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/x86_64/MachRegisterStatesX86_64.h
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
The file was modifiedlldb/source/Target/ThreadCollection.cpp
The file was modifiedlldb/source/Utility/RegisterValue.cpp
The file was modifiedlldb/tools/debugserver/source/TTYState.h
The file was modifiedlldb/source/Utility/Timer.cpp
The file was modifiedlldb/source/Host/posix/HostThreadPosix.cpp
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/include/lldb/Core/Value.h
The file was modifiedlldb/include/lldb/Utility/Connection.h
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/source/Host/common/GetOptInc.cpp
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
The file was modifiedlldb/source/Utility/Broadcaster.cpp
The file was modifiedlldb/include/lldb/API/SBEvent.h
The file was modifiedlldb/include/lldb/Utility/DataBuffer.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/include/lldb/Core/Disassembler.h
The file was modifiedlldb/source/Core/Value.cpp
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
The file was modifiedlldb/tools/debugserver/source/JSON.h
The file was modifiedlldb/include/lldb/API/SBThreadPlan.h
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/include/lldb/Host/SocketAddress.h
The file was modifiedlldb/source/Core/FileSpecList.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectSyntheticFilter.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_mips.h
The file was modifiedlldb/include/lldb/Host/StringConvert.h
The file was modifiedlldb/include/lldb/Utility/Listener.h
The file was modifiedlldb/source/Core/AddressRange.cpp
The file was modifiedlldb/tools/lldb-vscode/VSCode.cpp
The file was modifiedlldb/include/lldb/API/SBThread.h
The file was modifiedlldb/include/lldb/Core/StreamBuffer.h
The file was modifiedlldb/tools/debugserver/source/DNBLog.h
The file was modifiedlldb/tools/debugserver/source/DNBRegisterInfo.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectRegister.h
The file was modifiedlldb/include/lldb/Utility/IOObject.h
The file was modifiedlldb/include/lldb/Utility/Predicate.h
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
The file was modifiedlldb/tools/debugserver/source/DNBArch.cpp
The file was modifiedlldb/include/lldb/Core/dwarf.h
The file was modifiedlldb/include/lldb/Host/ProcessRunLock.h
The file was modifiedlldb/tools/debugserver/source/PseudoTerminal.cpp
The file was modifiedlldb/source/API/SBError.cpp
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/include/lldb/Breakpoint/StoppointHitCounter.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_ppc64.h
The file was modifiedlldb/tools/debugserver/source/PThreadEvent.h
The file was modifiedlldb/include/lldb/DataFormatters/TypeSynthetic.h
The file was modifiedlldb/tools/debugserver/source/debugserver.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
The file was modifiedlldb/include/lldb/Utility/Event.h
The file was modifiedlldb/source/Utility/StringLexer.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/include/lldb/API/SBExecutionContext.h
The file was modifiedlldb/include/lldb/Host/FileSystem.h
The file was modifiedlldb/source/API/SBProcess.cpp
The file was modifiedlldb/include/lldb/Utility/StringExtractorGDBRemote.h
The file was modifiedlldb/include/lldb/Core/Communication.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectConstResultChild.h
The file was modifiedlldb/include/lldb/Host/FileCache.h
The file was modifiedlldb/source/Core/ValueObjectRegister.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachException.cpp
The file was modifiedlldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
The file was modifiedlldb/include/lldb/Utility/DataBufferLLVM.h
The file was modifiedlldb/source/Host/common/PseudoTerminal.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
The file was modifiedlldb/tools/debugserver/source/StdStringExtractor.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/AdbClient.cpp
The file was modifiedlldb/source/Core/EmulateInstruction.cpp
The file was modifiedlldb/source/API/SBQueue.cpp
The file was modifiedlldb/include/lldb/Utility/DataExtractor.h
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was modifiedlldb/include/lldb/Utility/ConstString.h
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
The file was modifiedlldb/source/API/SBDeclaration.cpp
The file was modifiedlldb/source/Utility/StringExtractor.cpp
The file was modifiedlldb/source/Core/ValueObjectVariable.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Host/common/Editline.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_powerpc.h
The file was modifiedlldb/source/Core/Disassembler.cpp
The file was modifiedlldb/source/Host/macosx/cfcpp/CFCReleaser.h
The file was modifiedlldb/source/Expression/UtilityFunction.cpp
The file was modifiedlldb/include/lldb/Utility/StreamCallback.h
The file was modifiedlldb/source/Host/freebsd/Host.cpp
The file was modifiedlldb/include/lldb/DataFormatters/TypeSummary.h
The file was modifiedlldb/source/API/SBFileSpec.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectCast.h
The file was modifiedlldb/source/Utility/StringList.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp
The file was modifiedlldb/source/Host/posix/HostInfoPosix.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
Commit cc8661ac4a20fbbf654187c8072b226b2700d708 by Pushpinder.Singh
[AMDGPU][Libomptarget] Delete g_atmi_initialized

This patch drops g_atmi_initialized and inlines the Initialize &
Finalize methods from Runtime class.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D102847
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
Commit a2d6ef58765301fa95776cd17033a0974a487bf4 by Pushpinder.Singh
[AMDGPU][Libomptarget] Inline atmi_init/atmi_finalize

After D102847, these functions can be inlined.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D103075
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/rt.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.cpp
Commit e79e8041c5ff6a611390b6c3c8484d2cc80ab21d by tomas.matheson
[MC][NFCI] Factor out ELF section unique ID calculation

Precursor to D100944. The logic for determining the unique ID had become
quite difficult to reason about, so I have factored this out into a
separate function.

Differential Revision: https://reviews.llvm.org/D102336
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit 165321b3d27de5349520b5fdb7e08cbd238c880f by tomas.matheson
[MC][ELF] Emit unique sections for different flags

Global values imply flags such as readable, writable, executable for the
sections that they will be placed in. Currently MC places all such
entries into the same section, using the first set of flags seen. This
can lead to situations in LTO where a writable global is placed in the
same named section as a readable global from another file, and the
section may not be marked writable.

D72194 ensures that mergeable globals with explicit sections are placed
in separate sections with compatible entry size, by emitting the
`unique` assembly syntax where appropriate. This change extends that
approach to include section flags, so that globals with different
section flags are emitted in separate unique sections.

Differential revision: https://reviews.llvm.org/D100944
The file was modifiedllvm/test/CodeGen/X86/explicit-section-mergeable.ll
The file was modifiedllvm/test/CodeGen/Mips/gpopt-explict-section.ll
The file was addedllvm/test/CodeGen/Generic/elf-unique-sections-by-flags.ll
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
The file was modifiedllvm/include/llvm/MC/MCContext.h