1. [X86] Add tests for D87883. NFC (details)
  2. [X86] Add support for calling SimplifyDemandedBits on the input of PDEP with a constant mask. (details)
  3. [libc++] Fix constexpr dynamic allocation on GCC 10 (details)
  4. [libcxx] Don't pass -s to libtool (details)
  5. [mlir][shape] Make conversion passes more consistent. (details)
  6. [EHStreamer] Simplify sharedTypeIDs with std::mismatch (details)
  7. [CVP] Allow two transforms in one invocation (details)
  8. Guard `find_library(tensorflow_c_api ...)` by checking for TENSORFLOW_C_LIB_PATH to be set by the user (details)
  9. [clang] Selectively ena/disa-ble format-insufficient-args warning (details)
  10. [scudo][standalone] Remove unused atomic_compare_exchange_weak (details)
  11. [mlir][Affine][VectorOps] Fix super vectorizer utility (D85869) (details)
  12. Attempt to clear some msan errors in the libcxx atomic tests. (details)
  13. [clang][driver][AIX] Set compiler-rt as default rtlib (details)
  14. BPF: move AbstractMemberAccess and PreserveDIType passes to EP_EarlyAsPossible (details)
  15. BuildVectorType with a dependent (array) type is crashing the compiler  - Fix for PR-47542 (details)
  16. [RegisterCoalescer] Pass Undefs to extendToIndices() (details)
  17. [clang] Update warning-wall.c test (details)
  18. Ensure that we don't compute linkage for an anonymous class too early if (details)
  19. [gn build] Port 54d9f743c8b (details)
  20. Remove dependency from LLVM Dialect on the OpenMP dialect (details)
  21. [clangd] When finding refs for a renaming alias, do not return refs to underlying decls (details)
  22. [mlir][openacc] Add operation verifier (details)
  23. Skip -fPIE for AMDGPU and HIP toolchain (details)
  24. [AArch64][GlobalISel] Scalarize <2 x s64> G_MUL since we don't have native support for it. (details)
  25. Recommit "[HIP] Change default --gpu-max-threads-per-block value to 1024" (details)
Commit e5ef523ee46895ab5c75260b420d608f08002d97 by craig.topper
[X86] Add tests for D87883. NFC
The file was modifiedllvm/test/CodeGen/X86/bmi2.ll (diff)
Commit e53196b1e862902c74d83f0ce6f3578b1326f23d by craig.topper
[X86] Add support for calling SimplifyDemandedBits on the input of PDEP with a constant mask.

We can do several optimizations for PDEP using computeKnownBits and SimplifyDemandedBits

-If the MSBs of the output aren't demanded, those MSBs of the mask input aren't demanded either. We need to keep the most significant demanded bit of the mask and any mask bits before it.
-The number of possible ones in the mask determines how many bits of the lsbs of the other operand are demanded. Any bits of the mask we don't demand by the previous rule should not be counted.
-The result will have zeros in any position that the mask is zero.
-Since non-mask input bits can only be output in the original position or a higher bit position, the result will have at least as many trailing zeroes as the non-mask input.

Differential Revision:
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/bmi2-x86_64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/bmi2.ll (diff)
Commit d092c912885cc152bef27019525b8fd0761aaaa2 by Louis Dionne
[libc++] Fix constexpr dynamic allocation on GCC 10

We're technically not allowed by the Standard to call ::operator new in
constexpr functions like __libcpp_allocate. Clang doesn't seem to complain
about it, but GCC does.
The file was modifiedlibcxx/include/new (diff)
The file was modifiedlibcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp (diff)
The file was modifiedlibcxx/include/memory (diff)
The file was modifiedlibcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp (diff)
Commit 2d657d1bd7f1e45722ced24e1da897ba5e87ab7a by phosek
[libcxx] Don't pass -s to libtool

This flag is the default in libtool on Darwin, and it's not supported
by llvm-libtool-darwin causing a build failure.

Differential Revision:
The file was modifiedlibcxx/utils/ (diff)
Commit a975be0e00a12fdf09ffc9127825321c79813f33 by silvasean
[mlir][shape] Make conversion passes more consistent.

- use select-ops to make the lowering simpler
- change style of FileCheck variables names to be consistent
- change some variable names in the code to be more explicit

Differential Revision:
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp (diff)
The file was modifiedmlir/test/Conversion/ShapeToStandard/convert-shape-constraints.mlir (diff)
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp (diff)
The file was modifiedmlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir (diff)
Commit bd08a87cfede308f040d79b45245213afd87959a by i
[EHStreamer] Simplify sharedTypeIDs with std::mismatch

(Note that EMStreamer.cpp is largely under tested. The only test checking the prefix sharing is CodeGen/WebAssembly/eh-lsda.ll)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp (diff)
Commit e46d74b58922a427562552464d798448520e4928 by listmail
[CVP] Allow two transforms in one invocation

For a call site which had both constant deopt operands and nonnull arguments, we were missing the opportunity to recognize the later by bailing early.

This is somewhat of a speculative fix.  Months ago, I'd had a private report of performance and compile time regressions from the deopt operand folding.  I never received a test case.  However, the only possibility I see was that after that change CVP missed the nonnull fold, and we end up with a pass ordering/missed simplification issue.  So, since it's a real issue, fix it and hope.
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/deopt.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp (diff)
Commit e72d792c147ee506e337401e20c0f23042cc43fe by joker.eph
Guard `find_library(tensorflow_c_api ...)` by checking for TENSORFLOW_C_LIB_PATH to be set by the user

Also have CMake fails if the user provides a TENSORFLOW_C_LIB_PATH but
we can't find TensorFlow at this path.

At the moment the CMake script tries to figure if TensorFlow is
available on the system and enables support for it. This is in general
not desirable to customize build features this way and instead it is
preferable to let the user opt-in explicitly into the features they want
to enable. This is in line with other optional external dependencies
like Z3.
There are a few reasons to this but amongst others:
- reproducibility: making features "magically" enabled based on whether
  we find a package on the system or not makes it harder to handle bug
  reports from users.
- user control: they can't have TensorFlow on the system and build LLVM
  without TensorFlow right now. They also would suddenly distribute LLVM
  with a different set of features unknowingly just because their build
  machine environment would change subtly.

Right now this is motivated by a user reporting build failures on their system:

.../mesa-git/llvm-git/src/llvm-project/llvm/lib/Analysis/TFUtils.cpp:23:10: fatal error: tensorflow/c/c_api.h: No such file or directory
   23 | #include "tensorflow/c/c_api.h"
      |          ^~~~~~

It looks like we detected TensorFlow at configure time but couldn't set all the paths correctly.

Differential Revision:
The file was modifiedllvm/CMakeLists.txt (diff)
Commit 1e86d637eb4f88e03fcd4b9fd78192487dc2a302 by Jan Korous
[clang] Selectively ena/disa-ble format-insufficient-args warning

Differential Revision:
The file was addedclang/test/Sema/warn-printf-insufficient-data-args.c
The file was modifiedclang/include/clang/Basic/ (diff)
The file was modifiedclang/include/clang/Basic/ (diff)
The file was modifiedclang/test/Misc/warning-wall.c (diff)
Commit f668a84b58dcd816656236d7ba7e820dce52e7f8 by kostyak
[scudo][standalone] Remove unused atomic_compare_exchange_weak

`atomic_compare_exchange_weak` is unused in Scudo, and its associated
test is actually wrong since the weak variant is allowed to fail
spuriously (thanks Roland).

This lead to flakes such as:
[ RUN      ] ScudoAtomicTest.AtomicCompareExchangeTest
../../zircon/third_party/scudo/src/tests/atomic_test.cpp:98: Failure: Expected atomic_compare_exchange_weak(reinterpret_cast<T *>(&V), &OldVal, NewVal, memory_order_relaxed) is true.
    Expected: true
    Which is: 01
    Actual  : atomic_compare_exchange_weak(reinterpret_cast<T *>(&V), &OldVal, NewVal, memory_order_relaxed)
    Which is: 00
../../zircon/third_party/scudo/src/tests/atomic_test.cpp:100: Failure: Expected atomic_compare_exchange_weak( reinterpret_cast<T *>(&V), &OldVal, NewVal, memory_order_relaxed) is false.
    Expected: false
    Which is: 00
    Actual  : atomic_compare_exchange_weak( reinterpret_cast<T *>(&V), &OldVal, NewVal, memory_order_relaxed)
    Which is: 01
../../zircon/third_party/scudo/src/tests/atomic_test.cpp:101: Failure: Expected OldVal == NewVal.
    Expected: NewVal
    Which is: 24
    Actual  : OldVal
    Which is: 42
[  FAILED  ] ScudoAtomicTest.AtomicCompareExchangeTest (0 ms)
[----------] 2 tests from ScudoAtomicTest (1 ms total)

So I am removing this, if someone ever needs the weak variant, feel
free to add it back with a test that is not as terrible. This test was
initially ported from sanitizer_common, but their weak version calls
the strong version, so it works for them.

Differential Revision:
The file was modifiedcompiler-rt/lib/scudo/standalone/atomic_helpers.h (diff)
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/atomic_test.cpp (diff)
Commit 93936da90479c4ac444f989ba060eedec4133154 by diego.caballero
[mlir][Affine][VectorOps] Fix super vectorizer utility (D85869)

Adding missing code that should have been part of "D85869: Utility to
vectorize loop nest using strategy."

Reviewed By: nicolasvasilache

Differential Revision:
The file was modifiedmlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp (diff)
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp (diff)
The file was modifiedmlir/test/Dialect/Affine/SuperVectorize/vector_utils.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Affine/Utils.h (diff)
Commit 665dc4012b65589618cc1b22f44f1e59e021145c by ogiroux
Attempt to clear some msan errors in the libcxx atomic tests.
The file was modifiedlibcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_helpers.h (diff)
Commit ee80615b5c1c5b15c90a92d6954007b3a82825b0 by daltenty
[clang][driver][AIX] Set compiler-rt as default rtlib

Reviewed By: hubert.reinterpretcast

Differential Revision:
The file was modifiedclang/lib/Driver/ToolChains/AIX.h (diff)
The file was addedclang/test/Driver/aix-rtlib.c
The file was modifiedclang/lib/Driver/ToolChain.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp (diff)
The file was modifiedclang/test/Driver/aix-ld.c (diff)
Commit 54d9f743c8b0f501288119123cf1828bf7ade69c by yhs
BPF: move AbstractMemberAccess and PreserveDIType passes to EP_EarlyAsPossible

Move abstractMemberAccess and PreserveDIType passes as early as
possible, right after clang code generation.

Currently, compiler may transform the above code
  p1 = llvm.bpf.builtin.preserve.struct.access(base, 0, 0);
  p2 = llvm.bpf.builtin.preserve.struct.access(p1, 1, 2);
  a = llvm.bpf.builtin.preserve_field_info(p2, EXIST);
  if (a) {
    p1 = llvm.bpf.builtin.preserve.struct.access(base, 0, 0);
    p2 = llvm.bpf.builtin.preserve.struct.access(p1, 1, 2);
    bpf_probe_read(buf, buf_size, p2);
  p1 = llvm.bpf.builtin.preserve.struct.access(base, 0, 0);
  p2 = llvm.bpf.builtin.preserve.struct.access(p1, 1, 2);
  a = llvm.bpf.builtin.preserve_field_info(p2, EXIST);
  if (a) {
    bpf_probe_read(buf, buf_size, p2);
and eventually assembly code looks like
  reloc_exist = 1;
  reloc_member_offset = 10; //calculate member offset from base
  p2 = base + reloc_member_offset;
  if (reloc_exist) {
    bpf_probe_read(bpf, buf_size, p2);
if during libbpf relocation resolution, reloc_exist is actually
resolved to 0 (not exist), reloc_member_offset relocation cannot
be resolved and will be patched with illegal instruction.
This will cause verifier failure.

This patch attempts to address this issue by do chaining
analysis and replace chains with special globals right
after clang code gen. This will remove the cse possibility
described in the above. The IR typically looks like
  %6 = load @llvm.sk_buff:0:50$0:0:0:2:0
  %7 = bitcast %struct.sk_buff* %2 to i8*
  %8 = getelementptr i8, i8* %7, %6
for a particular address computation relocation.

But this transformation has another consequence, code sinking
may happen like below:
  PHI = <possibly different @preserve_*_access_globals>
  %7 = bitcast %struct.sk_buff* %2 to i8*
  %8 = getelementptr i8, i8* %7, %6

For such cases, we will not able to generate relocations since
multiple relocations are merged into one.

This patch introduced a passthrough builtin
to prevent such optimization. Looks like inline assembly has more
impact for optimizaiton, e.g., inlining. Using passthrough has
less impact on optimizations.

A new IR pass is introduced at the beginning of target-dependent
IR optimization, which does:
  - report fatal error if any reloc global in PHI nodes
  - remove all bpf passthrough builtin functions

Changes for existing CORE tests:
  - for clang tests, add "-Xclang -disable-llvm-passes" flags to
    avoid builtin->reloc_global transformation so the test is still
    able to check correctness for clang generated IR.
  - for llvm CodeGen/BPF tests, add "opt -O2 <ir_file> | llvm-dis" command
    before "llc" command since "opt" is needed to call newly-placed
    builtin->reloc_global transformation. Add target triple in the IR
    file since "opt" requires it.
  - Since target triple is added in IR file, if a test may produce
    different results for different endianness, two tests will be
    created, one for bpfeb and another for bpfel, e.g., some tests
    for relocation of lshift/rshift of bitfields.
  - field-reloc-bitfield-1.ll has different relocations compared to
    old codes. This is because for the structure in the test,
    new code returns struct layout alignment 4 while old code
    is 8. Align 8 is more precise and permits double load. With align 4,
    the new mechanism uses 4-byte load, so generating different
  - test intrinsic-transforms.ll is removed. This is used to test
    cse on intrinsics so we do not lose metadata. Now metadata is attached
    to global and not instruction, it won't get lost with cse.

Differential Revision:
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-array-1.ll (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-3.c (diff)
The file was modifiedllvm/lib/Target/BPF/BPFTargetMachine.cpp (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-signedness-3.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-existence-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-global-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-rshift-3.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-type-exist.ll (diff)
The file was modifiedclang/test/CodeGen/builtin-bpf-btf-type-id.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-union-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-access-str.ll (diff)
The file was modifiedclang/test/CodeGen/builtin-preserve-access-index-typedef.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-type-size-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-union-2.ll (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-4.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-end-ret.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-3.ll (diff)
The file was modifiedllvm/lib/Target/BPF/BPFCORE.h (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-struct.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/no-narrow-load.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-middle-chain.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-existence-3.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-ignore.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-3.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-lshift-2.ll (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-6.c (diff)
The file was addedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-lshift-1-bpfeb.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-type-size-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-array.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-pointer-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-1.ll (diff)
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-2-bpfeb.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-rshift-2.ll (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-7.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-pointer-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-existence-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/no-elf-ama-symbol.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-union.ll (diff)
The file was modifiedllvm/include/llvm/IR/ (diff)
The file was addedllvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-2-bpfeb.ll
The file was modifiedclang/test/CodeGen/builtins-bpf-preserve-field-info-4.c (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-5.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-1.ll (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-1.c (diff)
The file was modifiedclang/test/CodeGen/builtins-bpf-preserve-field-info-1.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-signedness-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-array.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-lshift-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-struct.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-multilevel.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-struct-2.ll (diff)
The file was modifiedclang/test/CodeGen/builtins-bpf-preserve-field-info-2.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-array-2.ll (diff)
The file was addedllvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
The file was modifiedllvm/lib/Target/BPF/BPFPreserveDIType.cpp (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-4.ll (diff)
The file was modifiedclang/test/CodeGen/builtins-bpf-preserve-field-info-3.c (diff)
The file was modifiedclang/test/CodeGen/bpf-preserve-access-index.c (diff)
The file was removedllvm/test/CodeGen/BPF/CORE/intrinsic-transforms.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-end-load.ll (diff)
The file was modifiedllvm/lib/Target/BPF/BPF.h (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-array-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-global-3.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-rshift-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/BTF/builtin-btf-type-id.ll (diff)
The file was addedllvm/test/CodeGen/BPF/CORE/field-reloc-bitfield-1-bpfeb.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-union.ll (diff)
The file was modifiedllvm/lib/Target/BPF/CMakeLists.txt (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-signedness-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-union-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-union.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/field-reloc-alu32.ll (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-2.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-global-1.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/store-addr.ll (diff)
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-typeinfo-enum-value.ll (diff)
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-8.c (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-multi-array-2.ll (diff)
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-multi-array-1.ll (diff)
Commit efd04721c9a2a856dd47e47a08c42d21efd5dd2b by rnk
BuildVectorType with a dependent (array) type is crashing the compiler  - Fix for PR-47542

Reviewed By: rnk

Differential Revision:
The file was modifiedclang/lib/Sema/SemaType.cpp (diff)
The file was modifiedclang/test/SemaCXX/attr-gnu.cpp (diff)
Commit 73805329baa0f5c463b70d16f18555365d3a020e by
[RegisterCoalescer] Pass Undefs to extendToIndices()

When extending the subranges, the reaching-def may be an undefs. When
extending such kind of subrange, it will try to search for the reaching
def first. If the reaching def is an undef and we did not provide 'Undefs',
The findReachingDefs() will fail with message:
"Use of $noreg does not have a corresponding definition on every path:
LLVM ERROR: Use not jointly dominated by defs."
So we computeSubRangeUndefs() and pass the result to extendToIndices().

Reviewed By: arsenm

Differential Revision:
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp (diff)
The file was addedllvm/test/CodeGen/AMDGPU/coalescer-removepartial-extend-undef-subrange.mir
Commit 6fd8c69049a8fc119278097be6d0bdc3e781f1ba by Jan Korous
[clang] Update warning-wall.c test

Follow-up to 1e86d637eb4f:
[clang] Selectively ena/disa-ble format-insufficient-args warning
The file was modifiedclang/test/Misc/warning-wall.c (diff)
Commit c375635d05f6f10c7c95ecc74a0569213d176d8e by richard
Ensure that we don't compute linkage for an anonymous class too early if
it has a member whose name is the same as a builtin.

Fixes a regression from the introduction of BuiltinAttr.
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/test/SemaCXX/anonymous-struct.cpp (diff)
Commit 727c4223d714eb220ed65a9244c1cc499d0cd461 by llvmgnsyncbot
[gn build] Port 54d9f743c8b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/ (diff)
Commit 9f9f89d44bebe79a7672799619a0c7e5ce213fa3 by joker.eph
Remove dependency from LLVM Dialect on the OpenMP dialect

The OmpDialect is in practice optional during translation to LLVM IR: the code is tolerant
to have a "nullptr" when not present / needed.

The dependency still exists on the export to LLVMIR.

Reviewed By: ftynse

Differential Revision:
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/ (diff)
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp (diff)
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/CMakeLists.txt (diff)
The file was modifiedmlir/lib/Target/CMakeLists.txt (diff)
Commit cc6d1f8029b05cd747c46ad3244a1b31ae970c61 by zeratul976
[clangd] When finding refs for a renaming alias, do not return refs to underlying decls


Differential Revision:
The file was modifiedclang-tools-extra/clangd/XRefs.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp (diff)
Commit bbb5dc4923cf01f7f5760e1917b09b0487c64b72 by clementval
[mlir][openacc] Add operation verifier

Add a basic verifier for the data operation following the restriction from the standard.

Reviewed By: kiranchandramohan

Differential Revision:
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp (diff)
The file was modifiedmlir/test/Dialect/OpenACC/invalid.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/OpenACC/ (diff)
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir (diff)
Commit 10eb3bf2d430825195bf092d3a75c4745d463826 by Yaxun.Liu
Skip -fPIE for AMDGPU and HIP toolchain

AMDGPU toolchain does not support -fPIE, therefore skip it if specified by driver.

Differential Revision:
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h (diff)
The file was addedclang/test/Driver/hip-fpie-option.hip
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp (diff)
Commit b9f2b3bc431a0053159939a4132814fb113af131 by Amara Emerson
[AArch64][GlobalISel] Scalarize <2 x s64> G_MUL since we don't have native support for it.

Differential Revision:
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h (diff)
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-mul.mir (diff)
Commit 187658b8a6112446d9e7797d495bc7542ac83905 by Yaxun.Liu
Recommit "[HIP] Change default --gpu-max-threads-per-block value to 1024"

Recommit 04abbb3a78186aa92809866b43217c32cba90b71
The file was modifiedclang/test/CodeGenCUDA/ (diff)
The file was modifiedclang/include/clang/Basic/LangOptions.def (diff)
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp (diff)
The file was modifiedclang/test/CodeGenCUDA/ (diff)


  1. Removed unused TestBuilders. (details)
Commit 05481260c40e502d68e8d523b66eb8e23641c8b9 by gkistanova
Removed unused TestBuilders.
The file was removedzorg/buildbot/builders/