SuccessChanges

Summary

  1. [SimplifyCFG] Enabled hoisting late in LTO pipeline. (details)
  2. [Hexagon] Fix bad SDNodeXForm (details)
  3. [libomptarget][amdgpu] Call into deviceRTL instead of ockl (details)
  4. [ProfileData] GCOVFile::readGCNO - silence undefined pointer warning. NFCI. (details)
Commit c367258b5cc257973f49508c1ac5763cb077428e by flo
[SimplifyCFG] Enabled hoisting late in LTO pipeline.

bb7d3af1139c disabled hoisting in SimplifyCFG by default, but enabled it
late in the pipeline. But it appears as if the LTO pipelines got missed.

This patch adjusts the LTO pipelines to also enable hoisting in the
later stages.

Unfortunately there's no easy way to add a test for the change I think.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D93684
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit c55b609b777d59b4c174842ae87784626c2a4738 by kparzysz
[Hexagon] Fix bad SDNodeXForm

Fixes https://llvm.org/PR48651
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatterns.td
The file was addedllvm/test/CodeGen/Hexagon/isel-splat-vector-neg-i8.ll
Commit 76bfbb74d38b611f150e8e1a4becc11be95703da by jonathanchesterfield
[libomptarget][amdgpu] Call into deviceRTL instead of ockl

[libomptarget][amdgpu] Call into deviceRTL instead of ockl

Amdgpu codegen presently emits a call into ockl. The same functionality
is already present in the deviceRTL. Adds an amdgpu specific entry point
to avoid the dependency. This lets simple openmp code (specifically, that
which doesn't use libm) run without rocm device libraries installed.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D93356
The file was modifiedclang/test/OpenMP/amdgcn_target_codegen.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeAMDGCN.cpp
Commit f7463ca3cc5ba8455c4611c5afa79c48d8a79326 by llvm-dev
[ProfileData] GCOVFile::readGCNO - silence undefined pointer warning. NFCI.

Silence clang static analyzer warning that 'fn' could still be in an undefined state - this shouldn't happen depending on the likely tag order, but the analyzer can't know that.
The file was modifiedllvm/lib/ProfileData/GCOV.cpp