SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [SVE][AArch64] Adding patterns for while intrinsics. (details)
  2. [PGO][PGSO] Distinguish queries from unit tests and explicitly enable (details)
  3. [HIP] Remove opencl.amdgcn.lib (details)
  4. [llvm][Transform] Remove unused variable. [NFCI] (details)
  5. [LoopInterchange] Improve inner exit loop safety checks. (details)
Commit 61e54fd60c4388602cb029c984353b1f4319c1ac by amehsan
[SVE][AArch64] Adding patterns for while intrinsics.
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
Commit 62d429972e50d1437a3fb43663218a7b443f0fc8 by yamauchi
[PGO][PGSO] Distinguish queries from unit tests and explicitly enable
for the existing IR passes only. NFC.
Summary: This is one more prep step necessary before the code gen pass
instrumentation code could go in.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70988
The file was modifiedllvm/unittests/Target/X86/MachineSizeOptsTest.cpp
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/unittests/Transforms/Utils/SizeOptsTest.cpp
Commit 7d0e1117c9291863ab59d77e1ad6c9141a590e19 by Yaxun.Liu
[HIP] Remove opencl.amdgcn.lib
Differential Revision: https://reviews.llvm.org/D70980
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was modifiedclang/test/Driver/hip-device-libs.hip
Commit a249551bb232414b68525d40cd7bae617293c67b by francesco.petrogalli
[llvm][Transform] Remove unused variable. [NFCI]
The variable prevents compiling when using -Werror=unused-variable.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit e8a5c17211339a747d2bf5b0df708c8392121e6d by flo
[LoopInterchange] Improve inner exit loop safety checks.
The PHI node checks for inner loop exits are too permissive currently.
As indicated by an existing comment, we should only allow LCSSA PHI
nodes that are part of reductions or are only used outside of the loop
nest. We ensure this by checking the users of the LCSSA PHIs.
Specifically, it is not safe to use an exiting value from the inner loop
in the latch of the outer loop.
It also moves the inner loop exit check before the outer loop exit
check.
Fixes PR43473.
Reviewers: efriedma, mcrosier
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D68144
The file was addedllvm/test/Transforms/LoopInterchange/pr43473-invalid-lcssa-phis-in-inner-exit.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp