SuccessChanges

Summary

  1. Revert "[ARM] Improve codegen of volatile load/store of i64" (details)
  2. [SYCL] Prohibit arithmetic operations for incompatible pointers (details)
  3. [lldb] Increase timeout in TestExitDuringExpression (details)
  4. [analyzer] SATestBuild.py: Refactor and add type annotations (details)
  5. [analyzer] SATestUtils.py: Refactor and add type annotations (details)
  6. [analyzer] SATestUpdateDiffs.py: Refactor and add type annotations (details)
  7. [analyzer] SumTimerInfo.py: Partially modernize (details)
Commit 872ee78f65f47fae19d4f8db7396eb56d902aef1 by victor.campos
Revert "[ARM] Improve codegen of volatile load/store of i64"

This reverts commit 8a12553223180246eeafaa0fa7bfa11e834d34b6.

A bug has been found when generating code for Thumb2. In some very
specific cases, the prologue/epilogue emitter generates erroneous stack
offsets for the new LDRD instructions that access the stack.

This bug does not seem to be caused by the reverted patch though. Likely
the latter has made an undiscovered issue emerge in the
prologue/epilogue emission pass. Nevertheless, this reversion is
necessary since it is blocking users of the ARM backend.
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td (diff)
The file was removedllvm/test/CodeGen/ARM/i64_volatile_load_store.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h (diff)
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp (diff)
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/SemaExpr.cpp (diff)
The file was modifiedclang/test/Sema/address_spaces.c (diff)
The file was modifiedclang/include/clang/AST/Type.h (diff)
The file was modifiedclang/lib/Sema/SemaCast.cpp (diff)
The file was addedclang/test/SemaCXX/address-space-arithmetic.cpp
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 (diff)
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/SATestAdd.py (diff)
The file was modifiedclang/utils/analyzer/SATestBuild.py (diff)
The file was modifiedclang/utils/analyzer/SATestUpdateDiffs.py (diff)
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 (diff)
The file was modifiedclang/utils/analyzer/SATestUtils.py (diff)
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 (diff)
Commit 475d1202837071959f3f69d3512c820538d81543 by vsavchenko
[analyzer] SumTimerInfo.py: Partially modernize

Differential Revision: https://reviews.llvm.org/D80427
The file was modifiedclang/utils/analyzer/SumTimerInfo.py (diff)