Changes

Summary

  1. [clangd] Attempt to fix buildbots (details)
  2. [AIX][ZOS] Disable tests due to lack of Objective-C support (details)
  3. [lldb] Skip tests for target var without a proc on both arm64 & arm64e (details)
  4. [TableGen] Fix codgen of InstrMapping with multiple columns and values (details)
  5. [mlir-c] Avoid compiler warning (details)
  6. [X86] Move splat addends from the gather/scatter index operand to the base address (details)
  7. [clang-tidy] Suppress readability-static-access-through-instance for CUDA built-in variables (details)
Commit ba94b8bdffb4c65d5475746a6ba43d279683e5bd by smeenai
[clangd] Attempt to fix buildbots

http://45.33.8.238/win/47615/step_4.txt is a sample error; I believe it
just needs the right header to be included.
The file was modifiedclang-tools-extra/clangd/support/ThreadCrashReporter.cpp
Commit 1ff1bcab970afaef49e2ab8ab7681a12d11ad17d by Jake.Egan
[AIX][ZOS] Disable tests due to lack of Objective-C support

AIX and z/OS lack Objective-C support, so mark these tests as unsupported for AIX and z/OS.

This patch follows the same reasoning as D109060.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D112390
The file was modifiedclang/test/Modules/ModuleDebugInfo.cpp
The file was modifiedclang/test/Modules/debug-info-moduleimport-in-module.m
The file was modifiedllvm/test/DebugInfo/X86/objc_direct.ll
The file was modifiedclang/test/Modules/ModuleDebugInfo.m
The file was modifiedclang/test/Modules/module-debuginfo-prefix.m
The file was modifiedclang/test/Modules/clang_module_file_info.m
Commit b1bb1d4c46889c4cae2b6586b50c3397584fa064 by Jonas Devlieghere
[lldb] Skip tests for target var without a proc on both arm64 & arm64e

LLDB needs to be taught about chained fixups.

<rdar://problem/37773624>
The file was modifiedlldb/test/API/lang/c/global_variables/TestGlobalVariables.py
The file was modifiedlldb/test/API/commands/target/basic/TestTargetCommand.py
Commit de44af4c1db3c333d64ef7beeabd6b38193c024e by craig.topper
[TableGen] Fix codgen of InstrMapping with multiple columns and values

This patch fixes invalid syntax of generated code for InstrMapping
that has multiple columns and values.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D111962
The file was modifiedllvm/utils/TableGen/CodeGenMapTable.cpp
Commit b288d08fbb850fa0d5600c7aaf5e9943521cb35f by jpienaar
[mlir-c] Avoid compiler warning

Setting visibility & static leads to warning about attribute being
ignored.

Differential Revision: https://reviews.llvm.org/D112507
The file was modifiedmlir/include/mlir-c/IR.h
Commit 79f9dfef0da5fdabb16873726a1725e2b1c8c2c4 by pengfei.wang
[X86] Move splat addends from the gather/scatter index operand to the base address

This can avoid a vector add and a constant pool load. Or an explicit broadcast in case of non-constant.

Also reverse the transform any time we encounter a constant index addend that can't be moved to base. In that case pull the constant from base into the index. This reduces code size needed for the displacement since we needed the index add anyway. Limit this to scale of 1 to avoid divisibility and wrap issues.

Authored by Craig.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D111595
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b43a2aee4ee946d8897880e824f4b09fe4c46143 by carlosgalvezp
[clang-tidy] Suppress readability-static-access-through-instance for CUDA built-in variables

clang-tidy can be used to statically analyze CUDA code,
thanks to clang being able to compile CUDA code natively.
This makes clang-tidy the one and only open-source
static analyzer for CUDA.

However it currently warns for native CUDA built-in
variables, like threadIdx, due to the way they
are implemented in clang.

Users don't need to know the details of the clang
implementation, and they should continue to write
idiomatic code. Therefore, suppress the warning
if a CUDA built-in variable is encountered.

Fixes https://bugs.llvm.org/show_bug.cgi?id=48758
The file was modifiedclang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-static-accessed-through-instance.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/Inputs/readability-static-accessed-through-instance/__clang_cuda_builtin_vars.h