Changes

Summary

  1. Add openmp as dependent project , so as to trigger buildbots on openmp commits (details)
Commit f8acf5e95be0bb0d2c21f5b8b0be0325439ec311 by ron.lieberman
Add openmp as dependent project , so as to trigger buildbots on openmp commits

Differential Revision: https://reviews.llvm.org/D108874
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [MLIR][GPU] Drop mgpuMemHostRegisterMemRef's dependence on LLVM Support (details)
  2. [WebAssembly] Fix FastISel of condition in different block (PR51651) (details)
  3. [Analysis] Fix a "set but not used" warning (details)
  4. [llvm] Fix typos in documentation (NFC) (details)
  5. [mlir][NFC] Fully qualify default value of Attributes `getStorageType()` in files generated by mlir-tblgen (details)
  6. [libomptarget][NFC] Fixed tests which checked for obsolete string "getOrAllocTgtPtr" (details)
  7. [mlir] add missing include, fix broken build (details)
  8. [test] Reorganize test/Linker/comdat*.ll (details)
  9. [OpenMP][Offloading] Add support for event related interfaces (details)
  10. [llc] Initialize context for parsing options (details)
  11. [Linker] Replace comdat based bool LinkFromSrc with enum class LinkFrom and improve nodeduplicate tests. NFC (details)
  12. [Sanitizers] PGO implements enable/disable SIGKILL on callers on FreeBSD. (details)
  13. [Polly] Don't prune non-external function itself from dump. (details)
  14. [OpenMP][NVPTX] Fixed missing variables for CUDA free compilation in NVPTX plugin (details)
  15. TypeInfo records more information about align requirement (details)
  16. [Polly] Fix dumpfunction.ll test. (details)
  17. [Polly][test] Add dependency to count. (details)
  18. [BPF] support btf_tag attribute in .BTF section (details)
Commit 4edc9e2acf1d9350ce4da77c93e8869f774a24e2 by uday
[MLIR][GPU] Drop mgpuMemHostRegisterMemRef's dependence on LLVM Support

Drop mgpuMemHostRegisterMemRef's dependence on LLVM Support. This
method is the only one in CUDA runtime wrappers library that creates
a dependence on libLLVMSupport due to its use of SmallVector and
ArrayRef. The code can be as easily/compactly written without those ADT.
The dependence on LLVMSupport adds a significant amount of additional
complexity for external things that want to link this library in (both
statically or as a shared object) since libLLVMSupport includes numerous
other objects that are sensitive to C++ compiler version and ABI.

Differential Revision: https://reviews.llvm.org/D108684
The file was modifiedmlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
Commit 16086d47c0d0cd08ffae8e69a69c88653e654d01 by nikita.ppv
[WebAssembly] Fix FastISel of condition in different block (PR51651)

If the icmp is in a different block, then the register for the icmp
operand may not be initialized, as it nominally does not have
cross-block uses. Add a check that the icmp is in the same block
as the branch, which should be the common case.

This matches what X86 FastISel does:
https://github.com/llvm/llvm-project/blob/5b6b090cf2129228f05d7d0f504676b67f7524cf/llvm/lib/Target/X86/X86FastISel.cpp#L1648

The "not" transform that could have a similar issue is dropped
entirely, because it is currently dead: The incoming value is
a branch or select condition of type i1, but this code requires
an i32 to trigger.

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

Differential Revision: https://reviews.llvm.org/D108840
The file was addedllvm/test/CodeGen/WebAssembly/pr51651.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
Commit 0003d574340e5f010b6587cbec323cc7f47dfb1c by kazu
[Analysis] Fix a "set but not used" warning
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
Commit 5294a0f7c3fa1da3f21b787b60dcb28a5912f5c0 by kazu
[llvm] Fix typos in documentation (NFC)
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/docs/ScudoHardenedAllocator.rst
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedllvm/docs/HowToBuildWindowsItaniumPrograms.rst
The file was modifiedllvm/docs/CommandGuide/llvm-otool.rst
The file was modifiedllvm/docs/GlobalISel/GenericOpcode.rst
The file was modifiedllvm/docs/CommandGuide/llvm-objdump.rst
The file was modifiedllvm/docs/GettingStarted.rst
The file was modifiedllvm/docs/JITLink.rst
Commit 0235e3c7a6d711d5c1a12c8e7686245bf142627a by markus.boeck02
[mlir][NFC] Fully qualify default value of Attributes `getStorageType()` in files generated by mlir-tblgen
The file was modifiedmlir/include/mlir/TableGen/Attribute.h
The file was modifiedmlir/lib/TableGen/Attribute.cpp
Commit a2bd44089e3f1ccf95abbf5a149435ba5841df4f by georgios.rokos
[libomptarget][NFC] Fixed tests which checked for obsolete string "getOrAllocTgtPtr"
The file was modifiedopenmp/libomptarget/test/mapping/present/target_array_extension.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data_array_extension.c
The file was modifiedopenmp/libomptarget/test/mapping/alloc_fail.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_enter_data.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target.c
The file was modifiedopenmp/libomptarget/test/mapping/present/zero_length_array_section.c
Commit b9f87e24f20b2a389d2dbd3ec9faad7ad370b25d by ajcbik
[mlir] add missing include, fix broken build

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D108873
The file was modifiedmlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
Commit 0405e6448355167f7815a01852e1446c8762001b by i
[test] Reorganize test/Linker/comdat*.ll
The file was removedllvm/test/Linker/Inputs/comdat16.ll
The file was removedllvm/test/Linker/comdat8.ll
The file was addedllvm/test/Linker/comdat-size-err.ll
The file was removedllvm/test/Linker/comdat6.ll
The file was removedllvm/test/Linker/comdat9.ll
The file was removedllvm/test/Linker/Inputs/comdat13.ll
The file was addedllvm/test/Linker/comdat-nonprevailing-decl.ll
The file was addedllvm/test/Linker/comdat-unneeded.ll
The file was removedllvm/test/Linker/Inputs/comdat2.ll
The file was removedllvm/test/Linker/Inputs/comdat14.ll
The file was removedllvm/test/Linker/comdat15.ll
The file was removedllvm/test/Linker/comdat10.ll
The file was addedllvm/test/Linker/comdat-samesize.ll
The file was addedllvm/test/Linker/comdat-largest.ll
The file was addedllvm/test/Linker/comdat-refer-to-discarded.ll
The file was removedllvm/test/Linker/Inputs/comdat15.ll
The file was removedllvm/test/Linker/comdat2.ll
The file was removedllvm/test/Linker/comdat12.ll
The file was addedllvm/test/Linker/comdat-incompatible-kinds.ll
The file was removedllvm/test/Linker/Inputs/comdat8.ll
The file was removedllvm/test/Linker/comdat16.ll
The file was addedllvm/test/Linker/comdat-any.ll
The file was removedllvm/test/Linker/comdat5.ll
The file was removedllvm/test/Linker/comdat13.ll
The file was removedllvm/test/Linker/comdat7.ll
The file was removedllvm/test/Linker/Inputs/comdat11.ll
The file was removedllvm/test/Linker/comdat11.ll
The file was removedllvm/test/Linker/Inputs/comdat4.ll
The file was removedllvm/test/Linker/Inputs/comdat5.ll
The file was addedllvm/test/Linker/comdat-nodeduplicate.ll
The file was removedllvm/test/Linker/comdat4.ll
The file was removedllvm/test/Linker/comdat14.ll
The file was removedllvm/test/Linker/Inputs/comdat3.ll
Commit 29df4ab3f3c9bf37529ee04795abfd90b7691857 by tianshilei1992
[OpenMP][Offloading] Add support for event related interfaces

This patch adds the support form event related interfaces, which will be used
later to fix data race. See D104418 for more details.

Reviewed By: jdoerfert, ye-luo

Differential Revision: https://reviews.llvm.org/D108528
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/exports
The file was modifiedopenmp/libomptarget/src/rtl.h
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp
The file was modifiedopenmp/libomptarget/include/omptargetplugin.h
The file was modifiedopenmp/libomptarget/src/device.cpp
Commit ae5e5f2011d583b9462a5747e22a0727a1b9b3bf by nikita.ppv
[llc] Initialize context for parsing options

This will allow using -force-opaque-pointers in codegen tests.
The file was modifiedllvm/tools/llc/llc.cpp
Commit 510e106fa8635e7f9c51c896180b971de6309b2f by i
[Linker] Replace comdat based bool LinkFromSrc with enum class LinkFrom and improve nodeduplicate tests. NFC

This is different from symbol resolution based LinkFromSrc.  Rename to be
clearer.

In the future we may support a new enum member 'Both' for nodeduplicate. This is
feasible (by renaming to a private linkage GlobalValue), but we need to be
careful not to break InstrProfiling.cpp's expectation of parallel profd/profc.

The challenge is that current LTO symbol resolution only allows to mark one
profc as prevailing: the other profc in another comdat nodeduplicate may be
discarded while its associated profd isn't.
The file was modifiedllvm/test/Linker/comdat-nodeduplicate.ll
The file was modifiedllvm/lib/Linker/LinkModules.cpp
Commit b35e636e40b549cd31566c9468dfbb97380ba068 by David CARLIER
[Sanitizers] PGO implements enable/disable SIGKILL on callers on FreeBSD.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D108867
The file was modifiedcompiler-rt/lib/profile/InstrProfilingUtil.c
Commit e4f3f2c0c5f22ddfe86d16ba09fd0171bed0f2b3 by llvm-project
[Polly] Don't prune non-external function itself from dump.
The file was modifiedpolly/test/Support/dumpfunction.ll
The file was modifiedpolly/lib/Support/DumpFunctionPass.cpp
Commit e8fdacfd8116c9df47fbb954c93871a7cd42f7d0 by tianshilei1992
[OpenMP][NVPTX] Fixed missing variables for CUDA free compilation in NVPTX plugin

`CU_EVENT_DEFAULT` is defined in CUDA header. It should be added to
`openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h` for CUDA free build.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D108878
The file was modifiedopenmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h
Commit 73733ae526a5152e5427973ac12dc54f7dd243fb by wanyu9511
TypeInfo records more information about align requirement

Extend the information preserved in `TypeInfo` by replacing the `AlignIsRequired` bool flag with a three-valued enum, the enum also indicates where the alignment attribute come from, which could be helpful in determining whether the attribute should overrule.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D108858
The file was modifiedclang/lib/AST/RecordLayoutBuilder.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/CodeGen/MicrosoftCXXABI.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
Commit ffa39b4582dfe7c306fbe1ac8652ef566f4ee2c7 by llvm-project
[Polly] Fix dumpfunction.ll test.
The file was modifiedpolly/test/Support/dumpfunction.ll
Commit ca5f05d2df53a991ac307fdbe571c40b2af9a446 by llvm-project
[Polly][test] Add dependency to count.

Polly does not use the count program itself, but somewhere in lit it is
expected to exists. Otherwise, the following error occurs:

    llvm-lit: llvm-project/llvm/utils/lit/lit/llvm/subst.py:133: fatal: Did not find count in ./bin
The file was modifiedpolly/test/CMakeLists.txt
Commit 4948927058e5a8e808e44583c33e472d0d8a315d by yhs
[BPF] support btf_tag attribute in .BTF section

A new kind BTF_KIND_TAG is added to .BTF to encode
btf_tag attributes. The format looks like
   CommonType.name : attribute string
   CommonType.type : attached to a struct/union/func/var.
   CommonType.info : encoding BTF_KIND_TAG
                     kflag == 1 to indicate the attribute is
                     for CommonType.type, or kflag == 0
                     for struct/union member or func argument.
   one uint32_t    : to encode which member/argument starting from 0.

If one particular type or member/argument has more than one attribute,
multiple BTF_KIND_TAG will be generated.

Differential Revision: https://reviews.llvm.org/D106622
The file was addedllvm/test/CodeGen/BPF/BTF/tag-2.ll
The file was modifiedllvm/lib/Target/BPF/BTF.def
The file was modifiedllvm/lib/Target/BPF/BTF.h
The file was modifiedllvm/lib/Target/BPF/BTFDebug.h
The file was addedllvm/test/CodeGen/BPF/BTF/tag-1.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp

Summary

  1. Add openmp as dependent project , so as to trigger buildbots on openmp commits (details)
Commit f8acf5e95be0bb0d2c21f5b8b0be0325439ec311 by ron.lieberman
Add openmp as dependent project , so as to trigger buildbots on openmp commits

Differential Revision: https://reviews.llvm.org/D108874
The file was modifiedbuildbot/osuosl/master/config/builders.py