SuccessChanges

Summary

  1. [SimplifyCFG] Handle AssumptionCache being null. (details)
  2. [BPF] Support weak global variables for BTF (details)
  3. [SimplifyCFG] Account for N being null. (details)
  4. Optionally exclude bitfield definitions from magic numbers check (details)
  5. [SystemZ] Fix build bot failures (details)
  6. Symbol: use elaborated types for `DataExtractor` (details)
  7. [LV] Pick correct BB as insert point when fixing PHI for FORs. (details)
Commit d714aa0dfdb16270fc279e8e91d4a83ace531529 by flo
[SimplifyCFG] Handle AssumptionCache being null.
AssumptionCache can be null in SimplifyCFGOptions. However,
FoldCondBranchOnPHI() was not properly handling that when passing a null
AssumptionCache to simplifyCFG.
Patch by Rodrigo Caetano Rocha <rcor.cs@gmail.com>
Reviewers: fhahn, lebedev.ri, spatel
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D69963
The file was modifiedllvm/unittests/Transforms/Utils/LocalTest.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
Commit 5ea611daf9cb51ba3d6492e50a6b568348fb62c0 by yhs
[BPF] Support weak global variables for BTF
Generate types for global variables with "weak" attribute. Keep
allocation scope the same for both weak and non-weak globals as ELF
symbol table can determine whether a global symbol is weak or not.
Differential Revision: https://reviews.llvm.org/D71162
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp (diff)
The file was addedllvm/test/CodeGen/BPF/BTF/weak-global-2.ll
The file was addedllvm/test/CodeGen/BPF/BTF/weak-global.ll
Commit c25de56905b104fb2b90559ce5863f4fec93a974 by flo
[SimplifyCFG] Account for N being null.
Fixes a crash, e.g.
http://lab.llvm.org:8011/builders/clang-with-lto-ubuntu/builds/15119/
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
Commit 6dcb1003f2022cba36e9f5a6d39648c3a3a213a0 by aaron
Optionally exclude bitfield definitions from magic numbers check
Adds the IgnoreBitFieldsWidths option to readability-magic-numbers.
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers-bitfields.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.h (diff)
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp (diff)
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers.cpp (diff)
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-magic-numbers.rst (diff)
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst (diff)
Commit a6fcdb211d259f3a18787da89d9a079a10d4f80f by ulrich.weigand
[SystemZ] Fix build bot failures
My patch 9db13b5a7d43096a9ab5f7cef6e1b7e2dc9c9c63 seems to have caused
some build bots to fail due to warnings that appear only when using
-Wcovered-switch-default.
This patch is an attempt to fix this by trying to avoid both the warning
"default label in switch which covers all enumeration values" for the
inner switch statements and at the same time the warning
"this statement may fall through" for the outer switch statement in
getVectorComparison
(SystemZISelLowering.cpp).
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp (diff)
Commit 4ec7bb42aa67b8a03a9be497dd44195990c3ac74 by Saleem Abdulrasool
Symbol: use elaborated types for `DataExtractor`
Use type elaborated spellings for the parameter to avoid the ambiguity
between `llvm` and `lldb_private` names.  This is needed for building
with Visual Studio.
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp (diff)
Commit c49194969430f0ee817498a7000a979a7a0ded03 by flo
[LV] Pick correct BB as insert point when fixing PHI for FORs.
Currently we fail to pick the right insertion point when
PreviousLastPart of a first-order-recurrence is a PHI node not in the
LoopVectorBody. This can happen when PreviousLastPart is produce in a
predicated block. In that case, we should pick the insertion point in
the BB the PHI is in.
Fixes PR44020.
Reviewers: hsaito, fhahn, Ayal, dorit
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D71071
The file was addedllvm/test/Transforms/LoopVectorize/SystemZ/predicated-first-order-recurrence.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)