SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [SYCL] Prohibit arithmetic operations for incompatible pointers (details)
  2. [lldb] Increase timeout in TestExitDuringExpression (details)
  3. [analyzer] SATestBuild.py: Refactor and add type annotations (details)
  4. [analyzer] SATestUtils.py: Refactor and add type annotations (details)
  5. [analyzer] SATestUpdateDiffs.py: Refactor and add type annotations (details)
  6. [analyzer] SumTimerInfo.py: Partially modernize (details)
  7. [NFC][Test] Add test coverage for fsqrt on PowerPC (details)
  8. Replace dyn_cast<> with isa<> to fix unused variable warning. NFCI. (details)
  9. Remove superfluous semicolon to stop Wpedantic warning. NFCI. (details)
  10. [AMDGPU][MC][GFX8+] Enabled clamp for v_mul_i32_i24_e64 and v_mul_u32_u24_e64 (details)
  11. [AVR] Remove unsigned <= 0 checks. NFCI. (details)
  12. Revert "[llvm][test] Add COM: directives before colon-less non-CHECKs in comments. NFC" (details)
Commit e95ee300c0530158d86430fd82ffabd36262e862 by alexey.bader
[SYCL] Prohibit arithmetic operations for incompatible pointers

Summary:
This change enables OpenCL diagnostics for the pointers annotated with
address space attribute SYCL mode.

Move `isAddressSpaceOverlapping` method from PointerType to QualType.

Reviewers: Anastasia, rjmccall

Reviewed By: rjmccall

Subscribers: rjmccall, jeroen.dobbelaere, Fznamznon, yaxunl, ebevhan, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80317
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was addedclang/test/SemaCXX/address-space-arithmetic.cpp
The file was modifiedclang/test/Sema/address_spaces.c
Commit 053b0634ea93b1ed7993adf34730bd752e9d84ec by pavel
[lldb] Increase timeout in TestExitDuringExpression

200 microseconds is not enough time for any expression to execute
reliably. On linux, calling pthread_exit can result in call to dlopen,
which cannot complete in that time, particularly when running under a
debugger.

On linux, this test failed all the time, on macos, about two thirds of
runs were failing.  This patch increases the timeout to 100ms, which is
enough to get it passing reliably on linux, though I wouldn't be
surprised if an even bigger timeout would be needed for remote test
runs.
The file was modifiedlldb/test/API/functionalities/thread/exit_during_expression/main.c
Commit 4902ca6da49b10dbc62e8e02109bf84ce96c94b5 by vsavchenko
[analyzer] SATestBuild.py: Refactor and add type annotations

Summary:
SATest scripts should be more python-style than they are now.
This includes better architecture, type annotations, naming
convesions, and up-to-date language features.  This commit starts
with two scripts SATestBuild and SATestAdd.

Differential Revision: https://reviews.llvm.org/D80423
The file was modifiedclang/utils/analyzer/SATestBuild.py
The file was modifiedclang/utils/analyzer/SATestUpdateDiffs.py
The file was modifiedclang/utils/analyzer/SATestAdd.py
Commit 7cebfa4e069265a146186e90bfa0a36135bf8aba by vsavchenko
[analyzer] SATestUtils.py: Refactor and add type annotations

Differential Revision: https://reviews.llvm.org/D80424
The file was modifiedclang/utils/analyzer/SATestBuild.py
The file was modifiedclang/utils/analyzer/SATestUtils.py
Commit 5a9aff12ff3bc68109f41930ec296b7a19cbe76c by vsavchenko
[analyzer] SATestUpdateDiffs.py: Refactor and add type annotations

Differential Revision: https://reviews.llvm.org/D80426
The file was modifiedclang/utils/analyzer/SATestUpdateDiffs.py
Commit 475d1202837071959f3f69d3512c820538d81543 by vsavchenko
[analyzer] SumTimerInfo.py: Partially modernize

Differential Revision: https://reviews.llvm.org/D80427
The file was modifiedclang/utils/analyzer/SumTimerInfo.py
Commit d1076d729aa4a4214e8f48f67b5e19b13bb121de by qshanz
[NFC][Test] Add test coverage for fsqrt on PowerPC
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
Commit 733505abf471b66458a9eab24521dba9a4b6239e by llvm-dev
Replace dyn_cast<> with isa<> to fix unused variable warning. NFCI.
The file was modifiedclang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
Commit bf897e6ea122c07b8848133beee749fd96895c14 by llvm-dev
Remove superfluous semicolon to stop Wpedantic warning. NFCI.
The file was modifiedclang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
Commit 933ebc4078b74f952705aed4efc677dae09caac9 by dmitry.preobrazhensky
[AMDGPU][MC][GFX8+] Enabled clamp for v_mul_i32_i24_e64 and v_mul_u32_u24_e64

See bug 45925: https://bugs.llvm.org/show_bug.cgi?id=45925

Reviewers: arsenm, rampitec

Differential Revision: https://reviews.llvm.org/D80287
The file was modifiedllvm/test/MC/AMDGPU/vop3.s
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/vop2_vi.txt
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_all.s
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mul.u24.mir
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
Commit 1386728fc2ff8ea064ef82c2e52d2aa208f71891 by llvm-dev
[AVR] Remove unsigned <= 0 checks. NFCI.

D77207 changed the bounds checks resulting in tests for positive unsigned values - dropping the superfluous check to fix gcc+Werror "error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]" warning.
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.td
Commit 5a8db275f8fc8ee19b184f831bda1cdfc6771776 by jroelofs
Revert "[llvm][test] Add COM: directives before colon-less non-CHECKs in comments. NFC"

This reverts commit 183d6af081899973f00fc24aeafcfc32de732f02.

Revert pending further consensus building: https://reviews.llvm.org/D79963#2050521
The file was modifiedllvm/test/CodeGen/Mips/divrem.ll
The file was modifiedllvm/test/CodeGen/X86/splat-for-size.ll
The file was modifiedllvm/test/MC/RISCV/relocations.s
The file was modifiedllvm/test/MC/RISCV/rvi-aliases-valid.s
The file was modifiedllvm/test/CodeGen/Mips/dynamic-stack-realignment.ll
The file was modifiedllvm/test/CodeGen/Mips/mips64muldiv.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/test/MC/RISCV/compressed-relocations.s
The file was modifiedllvm/test/CodeGen/AMDGPU/unhandled-loop-condition-assertion.ll
The file was modifiedllvm/test/MC/Mips/relocation-n64.s
The file was modifiedllvm/test/CodeGen/AMDGPU/global-constant.ll
The file was modifiedllvm/test/Transforms/LoopFusion/cannot_fuse.ll
The file was modifiedllvm/test/CodeGen/ARM/struct_byval_arm_t1_t2.ll
The file was modifiedllvm/test/CodeGen/X86/avx-cast.ll
The file was modifiedllvm/test/CodeGen/X86/vector-narrow-binop.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/arguments-float.ll
The file was modifiedllvm/test/FileCheck/dump-input-annotations.txt
The file was modifiedllvm/test/MC/RISCV/rva-aliases-valid.s
The file was modifiedllvm/test/MC/AsmParser/expr-shr.s
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-tbuffer.mir
The file was modifiedllvm/test/tools/llvm-readobj/ELF/RISCV/section-types.test
The file was modifiedllvm/test/MC/RISCV/rv32b-aliases-valid.s
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/smrd.ll
The file was modifiedllvm/test/CodeGen/X86/vector-compare-combines.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-crsave.mir
The file was modifiedllvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/symbol-binding.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/section-types.test
The file was modifiedllvm/test/FileCheck/var-scope.txt
The file was modifiedllvm/test/CodeGen/Mips/cconv/return-hard-struct-f128.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/arguments.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fp_to_uint.ll
The file was modifiedllvm/test/CodeGen/Mips/countleading.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-info-static-member.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/arguments-hard-float.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/arguments-hard-float-varargs.ll
The file was modifiedllvm/test/MC/Mips/relocation.s
The file was modifiedllvm/test/CodeGen/Mips/inlineasm-operand-code.ll
The file was modifiedllvm/test/CodeGen/ARM/float-helpers.s
The file was modifiedllvm/test/MC/RISCV/rv64b-aliases-valid.s
The file was modifiedllvm/test/CodeGen/Mips/cconv/return-hard-fp128.ll
The file was modifiedllvm/test/DebugInfo/COFF/vframe-fpo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_shift6.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/arguments-varargs.ll
The file was modifiedllvm/test/CodeGen/ARM/select-imm.ll
The file was modifiedllvm/test/CodeGen/X86/sse-scalar-fp-arith.ll
The file was modifiedllvm/test/Transforms/InstCombine/double-float-shrink-2.ll
The file was modifiedllvm/test/CodeGen/ARM/build-attributes.ll