1. [CMake] Pass bugreport URL to standalone clang build (details)
  2. [SCEV] Precommit tests with signed counting down loop. (details)
  3. [Attributor] AAPotentialValues Interface (details)
Commit 21c165de2a1bcca9dceb452f637d9e8959fba113 by mgorny
[CMake] Pass bugreport URL to standalone clang build

BUG_REPORT_URL is currently used both in LLVM and in Clang but declared
only in the latter.  This means that it's missing in standalone clang
builds and the driver ends up outputting:

  PLEASE submit a bug report to  and include [...]

(note the missing URL)

To fix this, include LLVM_PACKAGE_BUGREPORT in LLVMConfig.cmake
(similarly to how we pass PACKAGE_VERSION) and use it to fill
BUG_REPORT_URL when building clang standalone.

Differential Revision:
The file was modifiedllvm/cmake/modules/
The file was modifiedclang/CMakeLists.txt
Commit ffb47352005f2006851a3dcc2083329f434b8730 by flo
[SCEV] Precommit tests with signed counting down loop.

From PR46939.
The file was addedllvm/test/Analysis/ScalarEvolution/pr46939-trip-count-count-down.ll
Commit d3f01b6681bf73b382521db812341e0041787cc9 by okuraofvegetable
[Attributor] AAPotentialValues Interface

This is a split patch of D80991.
This patch introduces AAPotentialValues and its interface only.
For more detail of AAPotentialValues abstract attribute, see the original patch.

Reviewed By: jdoerfert

Differential Revision:
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was addedllvm/test/Transforms/Attributor/potential.ll
The file was modifiedllvm/include/llvm/ADT/APInt.h
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h