SuccessChanges

Summary

  1. [AMDGPU] Increase alignment of LDS globals if necessary before LDS lowering. (details)
  2. Revert "[llvm] llvm-tapi-diff" (details)
  3. Revert "[AMDGPU] Increase alignment of LDS globals if necessary before LDS lowering." (details)
  4. [AMDGPU] [IndirectCalls] Don't propagate attributes to address taken functions and their callees (details)
  5. Add LLDB in release binaries by default (details)
  6. [Sema][RISCV][SVE] Allow ?: to select Typedef BuiltinType in C (details)
  7. [Format] Fix incorrect pointer detection (details)
Commit d71ff907ef23eaef86ad66ba2d711e4986cd6cb2 by mahesha.comp
[AMDGPU] Increase alignment of LDS globals if necessary before LDS lowering.

Before packing LDS globals into a sorted structure, make sure that
their alignment is properly updated based on their size. This will make
sure that the members of sorted structure are properly aligned, and
hence it will further reduce the probability of unaligned LDS access.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D103261
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lds-alignment.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_read2.ll
The file was addedllvm/test/CodeGen/AMDGPU/update-lds-alignment.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_read2_offset_order.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-value.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-alloca-globals.ll
Commit 5337c7550d31597f04bcca0c49e1ce62000cc59b by Cyndy Ishida
Revert "[llvm] llvm-tapi-diff"

This reverts commit d1d36f7ad2ae82bea8a6fcc40d6c42a72e21f096.
Reverting this patch to investigate linux bot failures
+ fix with author offline
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-tbd-has-single-inlineB.test
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test
The file was modifiedllvm/include/llvm/TextAPI/Platform.h
The file was removedllvm/tools/llvm-tapi-diff/CMakeLists.txt
The file was removedllvm/test/tools/llvm-tapi-diff/Inputs/v4A.tbd
The file was modifiedllvm/include/llvm/TextAPI/Target.h
The file was removedllvm/tools/llvm-tapi-diff/llvm-tapi-diff.cpp
The file was modifiedllvm/include/llvm/Object/TapiUniversal.h
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-mismatched-number-of-inlines.test
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-same-number-of-inlines.test
The file was removedllvm/tools/llvm-tapi-diff/DiffEngine.h
The file was removedllvm/test/tools/llvm-tapi-diff/Inputs/macho.yaml
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-no-inlines.test
The file was modifiedllvm/lib/TextAPI/Platform.cpp
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-incorrect-format.test
The file was modifiedllvm/include/llvm/TextAPI/Symbol.h
The file was removedllvm/test/tools/llvm-tapi-diff/Inputs/v4C.tbd
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-matching-tbd.test
The file was removedllvm/test/tools/llvm-tapi-diff/Inputs/v4E.tbd
The file was removedllvm/test/tools/llvm-tapi-diff/Inputs/v4B.tbd
The file was removedllvm/tools/llvm-tapi-diff/DiffEngine.cpp
The file was removedllvm/test/tools/llvm-tapi-diff/Inputs/v4D.tbd
The file was modifiedllvm/lib/TextAPI/Target.cpp
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-tbd-has-single-inlineA.test
The file was removedllvm/test/tools/llvm-tapi-diff/tapi-diff-tbd-has-multiple-inlines.test
Commit 753437fc1db357499109bf8a14fca2dc4d88eb11 by mahesha.comp
Revert "[AMDGPU] Increase alignment of LDS globals if necessary before LDS lowering."

This reverts commit d71ff907ef23eaef86ad66ba2d711e4986cd6cb2.
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_read2_offset_order.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lds-alignment.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-alloca-globals.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_write2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-value.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_read2.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
The file was removedllvm/test/CodeGen/AMDGPU/update-lds-alignment.ll
Commit 6a3beb1f68d6791a4cd0190f68b48510f754a00a by Madhur.Amilkanthwar
[AMDGPU] [IndirectCalls] Don't propagate attributes to address taken functions and their callees

Don't propagate launch bound related attributes to
address taken functions and their callees. The idea
is to do a traversal over the call graph starting at
address taken functions and erase the attributes
set by previous logic i.e. process().

This two phase approach makes sure that we don't
miss out on deep nested callees from address taken
functions as a function might be called directly as
well as indirectly.

This patch is also reattempt to D94585 as latent issues
are fixed in hasAddressTaken function in the recent
past.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D103138
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
The file was addedllvm/test/CodeGen/AMDGPU/propagate-attributes-indirect.ll
The file was addedllvm/test/CodeGen/AMDGPU/propagate-attributes-launch-bounds.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/propagate-attributes-function-pointer-argument.ll
The file was addedllvm/test/CodeGen/AMDGPU/propagate-attributes-common-callees.ll
The file was addedllvm/test/CodeGen/AMDGPU/propagate-attributes-direct-indirect-common-callee.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/opt-pipeline.ll
Commit 3d8180cb2ffc2272b56e3445c74f2f3170562403 by omair.javaid
Add LLDB in release binaries by default

LLDB is currently not selected in LLVM release testing and thus it
doesnt make its way into prebuilt binaries which build with default
configuration. This patch enables LLDB by default in test-release
script.

Assuming LLDB build by default was disabled back in 2016 LLDB support
for various architectures has a long way since then. It has buildbots
for most architectures and supports a case to be included by default.

Also lldb build can easily be disabled in case some release managers
choose to do so.

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D101864
The file was modifiedllvm/utils/release/test-release.sh
Commit fcf8827a98beb1f8baea883451508d9cd91f57bc by shihpo.hung
[Sema][RISCV][SVE] Allow ?: to select Typedef BuiltinType in C

This patch solves an error such as:
  incompatible operand types ('vbool4_t' (aka '__rvv_bool4_t') and '__rvv_bool4_t')
when one of the value is a TypedefType of the other value in ?:.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D103603
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/riscv-types.c
The file was modifiedclang/test/Sema/sizeless-1.c
Commit 21c18d5a04316891110cecc2bf37ce51533decba by marek.kurdej+llvm.org
[Format] Fix incorrect pointer detection

https://llvm.org/PR50429

Before:
    void f() { f(float(1), a *a); }

After:
    void f() { f(float(1), a * a); }

Signed-off-by: Yilong Guo <yilong.guo@intel.com>

Reviewed By: HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D103589
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp