SuccessChanges

Summary

  1. [zorg] [PowerPC] set lld as the default linker on ppc64le-clang-rhel bot (details)
Commit f6a1fc1366bd977313c9e332c54357b297959d6b by saghir
[zorg] [PowerPC] set lld as the default linker on ppc64le-clang-rhel bot

This patch sets lld as the default linker for ppc64le-clang-rhel-test
buildbot.

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D87993
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [flang] CHARACTER(*) return does not require explicit interface (details)
  2. [CUDA][HIP] Fix static device var used by host code only (details)
  3. [OpenMP][flang]Lower NUM_THREADS clause for parallel construct (details)
  4. [mlir] Added support for f64 memref printing in runner utils (details)
  5. [flang] Removed OpenMP lowering unittests (details)
  6. [NFCI][flang] Renamed a variable name to a more descriptive name (details)
  7. [libc++] Re-apply fdc41e11f (LWG1203) without breaking the C++11 build (details)
  8. [lldb] Fix GetRemoteSharedModule fallback logic (details)
  9. AMDGPU: Check global FP atomics match default FP mode (details)
  10. GlobalISel: Fix truncating shift amount in trunc (shl) combine (details)
  11. Fix typos in ASTMatchers.h; NFC (details)
  12. [NFC][ARM] Pre-commit tail predication test (details)
  13. [SystemZ] Make sure not to call getZExtValue on a >64 bit constant. (details)
  14. [mlir] Fix typos in Dialect.h. NFC. (details)
  15. [VPlan] Disconnect VPValue and VPUser. (details)
  16. [SVE] Lower fixed length ISD::VECREDUCE_ADD to Scalable (details)
Commit bd72ed93d22a1579362859e64a0c7f9c68460cf8 by jperier
[flang] CHARACTER(*) return does not require explicit interface

Fortran 2018 15.4.2.2(4)(c) says nonassumed or explicit non-constant
length parameter require explicit interface. The "nonassumed" part was
missing in f18 characteristic analysis causing CanBeCalledViaImplicitInterface
to return false for `CHARACTER(*) function foo()` like interfaces.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D88075
The file was modifiedflang/lib/Evaluate/characteristics.cpp
Commit 301e23305d03cfb4004f845a1d9dfdc5e5931fd8 by Yaxun.Liu
[CUDA][HIP] Fix static device var used by host code only

A static device variable may be accessed in host code through
cudaMemCpyFromSymbol etc. Currently clang does not
emit the static device variable if it is only referenced by
host code, which causes host code to fail at run time.

This patch fixes that.

Differential Revision: https://reviews.llvm.org/D88115
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGenCUDA/static-device-var-no-rdc.cu
Commit 34b08487f04a5a6621d94c17ef49e631cc187f4e by SourabhSingh.Tomar
[OpenMP][flang]Lower NUM_THREADS clause for parallel construct

This patch reflects the work that can be upstreamed from PR(merged)
PR: https://github.com/flang-compiler/f18-llvm-project/pull/411

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D87846
The file was modifiedflang/lib/Lower/OpenMP.cpp
Commit 5711eaf608addccc5a23f0ea00630aa30280ea13 by limo
[mlir] Added support for f64 memref printing in runner utils

Added print_memref_f64 function to runner utils.

Differential Revision: https://reviews.llvm.org/D88143
The file was modifiedmlir/lib/ExecutionEngine/RunnerUtils.cpp
The file was modifiedmlir/include/mlir/ExecutionEngine/RunnerUtils.h
Commit be1197c403b22291e35cbc5e96788860ceabd40c by SourabhSingh.Tomar
[flang] Removed OpenMP lowering unittests

These tests aren't adding much value and consensus has been reached for
there removal.
For more context, please refer to discussion in this revision:
https://reviews.llvm.org/D87846
The file was removedflang/unittests/Lower/CMakeLists.txt
The file was modifiedflang/unittests/CMakeLists.txt
The file was removedflang/unittests/Lower/OpenMPLoweringTest.cpp
Commit dfa9065ad778fe830245e627c7fd9e39f2045bc9 by SourabhSingh.Tomar
[NFCI][flang] Renamed a variable name to a more descriptive name
The file was modifiedflang/lib/Lower/OpenMP.cpp
Commit c90dee1e90045feb039be640864f038eebd1d8cd by Louis Dionne
[libc++] Re-apply fdc41e11f (LWG1203) without breaking the C++11 build

fdc41e11f was reverted in e46c1def5 because it broke the C++11 build.
We shouldn't be using enable_if_t in C++11, instead we must use
enable_if<...>::type.
The file was addedlibcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/not_istreamable.verify.cpp
The file was modifiedlibcxx/include/istream
The file was modifiedlibcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/rvalue.pass.cpp
The file was modifiedlibcxx/include/ostream
The file was modifiedlibcxx/www/cxx2a_status.html
The file was addedlibcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/rvalue.pass.cpp
The file was removedlibcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/CharT_pointer.pass.cpp
The file was addedlibcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/not_ostreamable.verify.cpp
Commit 20f84257ac4ac54ceb5f581a6081fac6eff2a5a1 by jotrem
[lldb] Fix GetRemoteSharedModule fallback logic

When the various methods of locating the module in GetRemoteSharedModule
fail, make sure we pass the original module spec to the bail-out call to
the provided resolver function.

Also make sure we consistently use the resolved module spec from the
various success paths.

Thanks to what appears to have been an accidentally inverted condition
(commit 85967fa applied the new condition to a path where GetModuleSpec
returns false, but should have applied it when GetModuleSpec returns
true), without this fix we only pass the original module spec in the
fallback if the original spec has no uuid (or has a uuid that somehow
matches the resolved module's uuid despite the call to GetModuleSpec
failing).  This manifested as a bug when processing a minidump file with
a user-provided sysroot, since in that case the resolver call was being
applied to resolved_module_spec (despite resolution failing), which did
not have the path of its file_spec set.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D88099
The file was modifiedlldb/source/Target/Platform.cpp
The file was modifiedlldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
Commit af0207f2bae8578c5283877a786e502ce6e33b14 by Matthew.Arsenault
AMDGPU: Check global FP atomics match default FP mode

We would always select global FP atomics from atomicrmw fadd, although
they have a hardcoded FP mode.
The file was modifiedllvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit c463fd136ec259ec269ee6741763ce595811da71 by Matthew.Arsenault
GlobalISel: Fix truncating shift amount in trunc (shl) combine

The shift amount type does not necessarily match the result type. This
was inserting a trunc from s32 to s32, which asserted. Just preserve
the original shift amount type which can be legalized later.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/combine-trunc.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-trunc-shl.mir
Commit 1d1c382ed221f378fc866a524c7c673c239e94bc by aaron
Fix typos in ASTMatchers.h; NFC
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit 00c34f72fba4b6b8a446d57e2257c27eedad1a1d by sam.parker
[NFC][ARM] Pre-commit tail predication test
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/lstp-insertion-position.mir
Commit 370a8c802558ed7aedbcc09c1bdf4c2d3f4c28c0 by paulsson
[SystemZ] Make sure not to call getZExtValue on a >64 bit constant.

Better use isZero() and isIntN() in SystemZTargetTransformInfo rather than
calling getZExtValue() since the immediate operand may be wider than 64 bits,
which is not allowed with getZExtValue().

Fixes https://bugs.llvm.org/show_bug.cgi?id=47600

Review: Simon Pilgrim
The file was addedllvm/test/Analysis/CostModel/SystemZ/huge-immediates.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
Commit 9691806840606d48139b13516e9576902ba98923 by zinenko
[mlir] Fix typos in Dialect.h. NFC.
The file was modifiedmlir/include/mlir/IR/Dialect.h
Commit 31923f6b360300b8b148ad257419766999dfe504 by flo
[VPlan] Disconnect VPValue and VPUser.

This refactors VPuser to not inherit from VPValue to facilitate
introducing operations that introduce multiple VPValues (e.g.
VPInterleaveRecipe).

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D84679
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanSLP.cpp
The file was modifiedllvm/docs/Proposals/VectorizationPlan.rst
Commit db40a74344292410aa3e08c42834423013c4f192 by mcinally
[SVE] Lower fixed length ISD::VECREDUCE_ADD to Scalable

Differential Revision: https://reviews.llvm.org/D87796
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-fixed-length-int-reduce.ll