FailedChanges

Summary

  1. [OpenMPOpt][HideMemTransfersLatency] Get values stored in offload arrays (details)
  2. [flang] Format label scope is independent of block scope (details)
  3. [analyzer][NFC] Add `override` keyword missing from D86027 (details)
  4. [SVE] Mark VectorType::getNumElements() deprecated (details)
  5. [lldb] Add reproducer verifier (details)
Commit 8931add6170508704007f1a410993e6aec879c01 by htobonmm7
[OpenMPOpt][HideMemTransfersLatency] Get values stored in offload arrays

getValuesInOffloadArrays goes through the offload arrays in __tgt_target_data_begin_mapper getting the values stored in them before the call is issued.

call void @__tgt_target_data_begin_mapper(arg0, arg1,
    i8** %offload_baseptrs, i8** %offload_ptrs, i64* %offload_sizes,
...)

Diferential Revision: https://reviews.llvm.org/D86300
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was addedllvm/test/Transforms/OpenMP/values_in_offload_arrays.ll
Commit 646f19bb9dc86ea5baf38969697a15d0f162ddb0 by pklausler
[flang] Format label scope is independent of block scope

Compilation of the following program currently generates a warning message:

        i = 1
        if (i .eq. 0) then
          write(6, 200) i
200       format (I8)
        end if
        write(6, 200) i
      end

x.f90:6:9: Label '200' is not in scope
          write(6, 200) i
          ^^^^^^^^^^^^^^^

Whereas branch targets must conform to the Clause 11.1.2.1 program
requirement "Transfer of control to the interior of a block from
outside the block is prohibited, ...", this doesn't apply to format
statement references.
The file was modifiedflang/lib/Semantics/resolve-labels.cpp
The file was modifiedflang/test/Semantics/io07.f90
Commit d563d7a7313cf47dcb24c6370a035bd803965b4e by hubert.reinterpretcast
[analyzer][NFC] Add `override` keyword missing from D86027

Speculative fix for `-Werror,-Wsuggest-override` build failures on
the ppc64le-lld-multistage-test bot.
The file was modifiedclang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
Commit 867de151a52b6d0750485ac1cf9b3bc012ee51fd by ctetreau
[SVE] Mark VectorType::getNumElements() deprecated

getNumElements() is being removed from base VectorType in
order to eliminate the class of bugs in which a scalable vector
is accidentally treated like a fixed length vector. Clients of
this function should either call getElementCount(), and handle
the case where getElementCount().isScalable() is true, or they can
cast to FixedVectorType and call getNumElements() if they are
sure that the vector has fixed width.

Deprecated VectorType functions will be removed after the LLVM
12 branch.

See: http://lists.llvm.org/pipermail/llvm-dev/2020-March/139811.html

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D78127
The file was modifiedllvm/include/llvm/IR/DerivedTypes.h
Commit 297f69afac58fc9dc13897857a5e70131c5adc85 by Jonas Devlieghere
[lldb] Add reproducer verifier

Add a reproducer verifier that catches:

- Missing or invalid home directory
- Missing or invalid working directory
- Missing or invalid module/symbol paths
- Missing files from the VFS

The verifier is enabled by default during replay, but can be skipped by
passing --reproducer-no-verify.

Differential revision: https://reviews.llvm.org/D86497
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was modifiedlldb/tools/driver/Options.td
The file was modifiedlldb/source/Utility/ReproducerProvider.cpp
The file was addedlldb/test/Shell/Reproducer/TestVerify.test
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/test/Shell/Reproducer/TestDebugSymbols.test
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedlldb/source/API/SBReproducer.cpp
The file was modifiedlldb/include/lldb/API/SBReproducer.h
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h