SuccessChanges

Summary

  1. [tasktool] Try to make pip happy with installing lit (details)
  2. [tasktool] Update repos to point at GitHub repos (details)
  3. [tasktool] Separate SVN checkout from pip install (details)
Commit 70fd0a372df64319d5ab4ba5126ba355e2048fa5 by Jessica Paquette
[tasktool] Try to make pip happy with installing lit
Add github as a trusted host when installing lit from there.
The file was modifiedtasks/utils/venv_lit.sh (diff)
Commit e4009499ad7b3fd6cadd49bfef6eb5e08088d455 by Jessica Paquette
[tasktool] Update repos to point at GitHub repos
None of these should be pointing at the old git repos anymore, since
they no longer work.
The file was modifiedtasks/repos/llvm.json (diff)
The file was modifiedtasks/repos/zorg.json (diff)
The file was modifiedtasks/repos/lnt.json (diff)
Commit 52de0fa652b18fe4fb64b664b751a1722166c0fa by Jessica Paquette
[tasktool] Separate SVN checkout from pip install
Pip seems to be having some trouble with the GitHub SSH stuff on the
test suite builders.
Let's try cloning first, and then installing via pip after that.
Example:
http://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-aarch64-O0-g/6457/
The file was modifiedtasks/utils/venv_lit.sh (diff)

Summary

  1. [InstCombine] Insert instructions before adding them to worklist (details)
  2. [LoopFusion] Use the LoopInfo::isRotatedForm method (NFC). (details)
  3. [libomptarget][nfc] Introduce atomic wrapper function (details)
  4. [analyzer] NonnullGlobalConstants: Add support for kCFNull. (details)
  5. Correct version check 9.9.26 -> 9.99.26 (details)
  6. [libunwind] Fix evaluating DWARF operation DW_OP_pick (details)
  7. [FPEnv] Strict versions of llvm.minimum/llvm.maximum (details)
  8. [lldb/MachO] "Fix" intentional out-of-bounds error (NFC) (details)
  9. Tweak commit message for auto update of gn build script (details)
  10. Revert "[InstCombine][AMDGPU] Trim more components of *buffer_load" (details)
  11. [gn build] Update console print to match the commit message (NFC) (details)
  12. Change triple in test case to not include triples the test shouldn't (details)
  13. [clang-tools-extra] Fix linking dylib for LLVMFrontendOpenMP (details)
  14. Support powerpc when builing without init_array. (details)
  15. Move TypeSourceInfo to Type.h (details)
  16. Use hasOffsetApplied to initialize member HasOffsetApplied (details)
Commit 3d29c41ad59e2e783da43a8b30a3f4f2d0c78a72 by kubak
[InstCombine] Insert instructions before adding them to worklist
Summary: This patch adds instructions to the InstCombine worklist after
they are properly inserted. This way we don't get `<badref>`s printed
when logging added instructions. It also adds a check in `Worklist::Add`
that ensures that all added instructions have parents.
Simple test case that illustrates the difference when run with
`--debug-only=instcombine`:
``` define i32 @test35(i32 %a, i32 %b) {
%1 = or i32 %a, 1135
%2 = or i32 %1, %b
ret i32 %2
}
```
Before this patch:
``` INSTCOMBINE ITERATION #1 on test35 IC: ADDING: 3 instrs to worklist
IC: Visiting:   %1 = or i32 %a, 1135 IC: Visiting:   %2 = or i32 %1, %b
IC: ADD:   %2 = or i32 %a, %b IC: Old =   %3 = or i32 %1, %b
   New =   <badref> = or i32 %2, 1135 IC: ADD:   <badref> = or i32 %2,
1135
...
```
With this patch:
``` INSTCOMBINE ITERATION #1 on test35 IC: ADDING: 3 instrs to worklist
IC: Visiting:   %1 = or i32 %a, 1135 IC: Visiting:   %2 = or i32 %1, %b
IC: ADD:   %2 = or i32 %a, %b IC: Old =   %3 = or i32 %1, %b
   New =   <badref> = or i32 %2, 1135 IC: ADD:   %3 = or i32 %2, 1135
...
```
Reviewers: fhahn, davide, spatel, foad, grosser, nikic
Reviewed By: nikic
Subscribers: nikic, lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71093
The file was modifiedllvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
The file was modifiedllvm/test/Transforms/InstCombine/zext-or-icmp.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 3db1cf7a1e6731a02b475bdda05ea2d38f3e5ea8 by kbarton
[LoopFusion] Use the LoopInfo::isRotatedForm method (NFC).
Loop fusion previously had a method to check whether a loop was in
rotated form. This method has been moved into the LoopInfo class. This
patch removes the old isRotated method from loop fusion, in favour of
the new one in LoopInfo.
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
Commit 2caeaf2f455db468cc5a5505d90b4919ae37c915 by jonathanchesterfield
[libomptarget][nfc] Introduce atomic wrapper function
Summary:
[libomptarget][nfc] Introduce atomic wrapper function
Wraps atomic functions in a template prefixed __kmpc_atomic that
dispatches to cuda or hip atomic functions. Intended to be easily
extended to dispatch to OpenCL or C++ atomics for a third target.
Reviewers: ABataev, jdoerfert, grokos
Reviewed By: jdoerfert
Subscribers: Anastasia, jvesely, mgrang, dexonsmith, llvm-commits,
mgorny, jfb, openmp-commits
Tags: #openmp, #llvm
Differential Revision: https://reviews.llvm.org/D71404
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/reduction.cu
The file was addedopenmp/libomptarget/deviceRTLs/common/target_atomic.h
The file was modifiedopenmp/libomptarget/deviceRTLs/common/omptargeti.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/loop.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/common/state-queuei.h
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/libcall.cu
Commit badba5118ff5cc6d61aeca6ee2dc2ead5bb5286f by Artem Dergachev
[analyzer] NonnullGlobalConstants: Add support for kCFNull.
It's a singleton in CoreFoundation that always contains a non-null
CFNullRef.
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp
The file was modifiedclang/test/Analysis/nonnull-global-constants.mm
Commit 3f966867001213a56fccdb01c03a63bb5441e91d by n54
Correct version check 9.9.26 -> 9.99.26
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
Commit 9366397f057d18401e680b2cb28a0ee17c59d4a6 by Steven Wu
[libunwind] Fix evaluating DWARF operation DW_OP_pick
reg is unsigned type and used here for getting array element from the
end by negating it. negation of unsigned can result in large number and
array access with that index will result in segmentation fault.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=43872
Patched by: kamlesh kumar
Differential Revision: https://reviews.llvm.org/D69893
The file was modifiedlibunwind/src/DwarfInstructions.hpp
Commit 19464613440894f5906a83ea1b52999d9fa08882 by ulrich.weigand
[FPEnv] Strict versions of llvm.minimum/llvm.maximum
Add new intrinsics
  llvm.experimental.constrained.minimum
  llvm.experimental.constrained.maximum as strict versions of
llvm.minimum and llvm.maximum.
Includes SystemZ back-end support.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D71624
The file was modifiedllvm/include/llvm/IR/ConstrainedOps.def
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrVector.td
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-max-01.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-min-01.ll
Commit e194d890126007bc8e5acb655f007ef76002edb7 by Jonas Devlieghere
[lldb/MachO] "Fix" intentional out-of-bounds error (NFC)
Remove the hack that populates the cpsr register in the gpr struct by
writing past the end of the array. This was tripping up ASan.
Patch by: Reva Cuthbertson
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
Commit 6fd972624cca2c2de9ff20380bfd35554b1fde6b by aminim
Tweak commit message for auto update of gn build script
Use `[tag]` as a prefix and "port" instead of "merge" to avoid confusing
with "git merge".
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit 40b5a0f7c89cf03f63c8f2a90130fd403f994d69 by Piotr Sobczak
Revert "[InstCombine][AMDGPU] Trim more components of *buffer_load"
Revert D70315, as it breaks gfx8 for some reason.
This reverts commit 65f94b33808d7d69539961a6f5a2168f0a1eef41.
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Commit 400083f21e48fa03e3816fc3095e4339d6eef135 by aminim
[gn build] Update console print to match the commit message (NFC)
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit e3fa4604076d01d2fe48d44d86fc2d6a48d4970c by akhuang
Change triple in test case to not include triples the test shouldn't
pass. This is fixes changes from
a85f5efd9597d0036f5c347b362cb873bdf51f16.
The file was modifiedclang/test/CodeGenCXX/mangle-ptr-size-address-space.cpp
Commit 4121399c12292ef445cc3be6ea15c5316ac17d16 by mgorny
[clang-tools-extra] Fix linking dylib for LLVMFrontendOpenMP
Use LLVM_LINK_COMPONENTS to link the FrontendOpenMP library instead of
passing it explicitly to LINK_LIBS.  This fixes duplicating the library
when clang-tidy is linked to LLVM dylib.
Differential Revision: https://reviews.llvm.org/D71674
The file was modifiedclang-tools-extra/clang-tidy/openmp/CMakeLists.txt
Commit 5789e83dedb97588ad75cca36d01ba6c5142d6d3 by saugustine
Support powerpc when builing without init_array.
Summary: Also add an error case when targetting an unimplement
architecture.
Subscribers: nemanjai, jsji, shchenz, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D71670
The file was modifiedcompiler-rt/lib/crt/crtbegin.c
Commit 71f9c30b5348bbb2b41d4ffa6c7688dec8e0074a by rnk
Move TypeSourceInfo to Type.h
TypeSourceInfo is a thin wrapper around TypeLocs. Notionally, the best
place for it to live would be TypeLoc.h, but Decl.h requires it to be
complete, so it needs to be lower in the dependency graph. Type.h seems
like the next best place.
By itself, this change has no impact on build time, because it doesn't
remove a single dependency edge from a .cpp file to a .h file, but it is
an incremental step towards making the AST headers less interdependent.
Reviewers: rsmith
Differential Revision: https://reviews.llvm.org/D71427
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/include/clang/AST/Decl.h
Commit a6d57a8cd4cfa2a8395eaa6599fc12f7509f98f0 by Akira
Use hasOffsetApplied to initialize member HasOffsetApplied
This is NFC since none of the constructor calls in trunk pass
hasOffsetApplied=true.
The file was modifiedclang/lib/CodeGen/CGExprConstant.cpp