FailedChanges

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

Summary

  1. AMDGPU: Don't create potentially dead rcp declarations (details)
  2. AMDGPU: Directly use rcp intrinsic in idiv expansions (details)
  3. AMDGPU: Fix crash on v3i15 kernel arguments (details)
  4. AMDGPU: Add baseline tests for CGP div expansion (details)
  5. [OpenMP] Switch default C++ standard to C++ 14 (details)
  6. Use std::foo_t rather than std::foo in LLVM. (details)
  7. [llvm-objcopy][WebAssembly] Add dump/add/remove-section support (details)
  8. AMDGPU: Don't report 2-byte alignment as fast (details)
  9. [lldb/Plugins] Move PlatformRemoteiOS into PlatformMacOSX (NFCI) (details)
  10. Fix MSVC build with C++ EH enabled (details)
  11. AMDGPU: Don't expand more special div cases in IR (details)
  12. Rewrite default "could not attach" msg to point to hints (details)
  13. Reverted the remainings of c1c9819ef91aab51b5a23fb3027adac5a2f551cc (details)
Commit b87e3e2d0db8b0eb7a8f26525dad74cc7014b85f by arsenm2
AMDGPU: Don't create potentially dead rcp declarations

This will introduce unused declarations if this doesn't reach any of
the paths that will really use it.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
Commit 92c62582fc546c56b73f78402291337a24acf54e by arsenm2
AMDGPU: Directly use rcp intrinsic in idiv expansions

Since natural fdiv lowering is now more conservative even with
denormals disabled, we get a slower expansion from just a plain
1.0/fdiv. Directly emit the rcp intrinsic when using it to implement
integer division to avoid a pointlessly complex sequence.
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fold-binop-select.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divrem24-assume.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
Commit f734ce0488d45c8073892abb6805c9fd9d99fd46 by arsenm2
AMDGPU: Fix crash on v3i15 kernel arguments

This was split into 3 i15 arguments. The i15 piece needs to be rounded
to a simple MVT for the memory type.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/kernel-argument-dag-lowering.ll
Commit d3a96fc082bef6a15f1ce8aed1849ff4122636dc by arsenm2
AMDGPU: Add baseline tests for CGP div expansion

These cases are harmed by expanding division early in the IR, before
DAGCombiner.
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
Commit 3ff4e2eee8c39fd4ae13b1df412f0af219fbf382 by johannes
[OpenMP] Switch default C++ standard to C++ 14

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D74258
The file was modifiedopenmp/CMakeLists.txt
The file was modifiedopenmp/cmake/config-ix.cmake
The file was modifiedopenmp/runtime/test/lit.cfg
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
The file was modifiedopenmp/libomptarget/cmake/Modules/LibomptargetNVPTXBitcodeLibrary.cmake
The file was modifiedopenmp/tools/archer/tests/lit.cfg
The file was modifiedopenmp/cmake/HandleOpenMPOptions.cmake
Commit 1bd6123b781120c9190b9ba58b900cdcb718cdd1 by jlebar
Use std::foo_t rather than std::foo in LLVM.

Summary: C++14 migration. No functional change.

Reviewers: bkramer, JDevlieghere, lebedev.ri

Subscribers: MatzeB, hiraditya, jkorous, dexonsmith, arphaman, kadircet, lebedev.ri, usaxena95, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D74384
The file was modifiedllvm/include/llvm/Support/Error.h
The file was modifiedllvm/unittests/XRay/GraphTest.cpp
The file was modifiedllvm/include/llvm/ADT/PriorityWorklist.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Legacy.h
The file was modifiedllvm/tools/llvm-xray/trie-node.h
The file was modifiedllvm/include/llvm/Support/FormatVariadicDetails.h
The file was modifiedllvm/include/llvm/ADT/ArrayRef.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCUtils.h
The file was modifiedllvm/include/llvm/Support/Casting.h
The file was modifiedllvm/include/llvm/Support/GenericDomTree.h
The file was modifiedllvm/utils/benchmark/include/benchmark/benchmark.h
The file was modifiedllvm/utils/benchmark/src/sysinfo.cc
The file was modifiedllvm/include/llvm/CodeGen/MachineInstrBundleIterator.h
The file was modifiedllvm/include/llvm/FuzzMutate/Random.h
The file was modifiedllvm/include/llvm/IR/ValueMap.h
The file was modifiedllvm/include/llvm/Support/BinaryStreamWriter.h
The file was modifiedllvm/include/llvm/Analysis/RegionInfo.h
The file was modifiedllvm/include/llvm/Support/MSVCErrorWorkarounds.h
The file was modifiedllvm/include/llvm/ADT/DenseMap.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
The file was modifiedllvm/include/llvm/Support/CommandLine.h
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
The file was modifiedllvm/tools/llvm-pdbutil/FormatUtil.h
The file was modifiedllvm/include/llvm/IR/Metadata.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
The file was modifiedllvm/include/llvm/CodeGen/LiveInterval.h
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RPCSerialization.h
The file was modifiedllvm/include/llvm/IR/DerivedTypes.h
The file was modifiedllvm/include/llvm/Support/AllocatorBase.h
The file was modifiedllvm/include/llvm/Support/Chrono.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/XRay/FDRTraceWriter.cpp
The file was modifiedllvm/include/llvm/ADT/TinyPtrVector.h
The file was modifiedllvm/include/llvm/Support/ErrorOr.h
The file was modifiedllvm/include/llvm/ADT/BitmaskEnum.h
The file was modifiedllvm/include/llvm/Support/FormatProviders.h
The file was modifiedllvm/include/llvm/Support/MathExtras.h
The file was modifiedllvm/tools/dsymutil/CFBundle.cpp
The file was modifiedllvm/include/llvm/Support/CheckedArithmetic.h
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedllvm/lib/Support/NativeFormatting.cpp
The file was modifiedllvm/include/llvm/Support/TrailingObjects.h
The file was modifiedllvm/include/llvm/ADT/Any.h
The file was modifiedllvm/include/llvm/Support/SwapByteOrder.h
The file was modifiedllvm/include/llvm/IR/DiagnosticInfo.h
The file was modifiedllvm/include/llvm/Object/ELFTypes.h
The file was modifiedllvm/lib/Demangle/ItaniumDemangle.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
The file was modifiedllvm/include/llvm/Support/YAMLTraits.h
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/lib/Support/ItaniumManglingCanonicalizer.cpp
The file was modifiedllvm/include/llvm/ADT/AllocatorList.h
The file was modifiedllvm/include/llvm/ADT/StringRef.h
The file was modifiedllvm/include/llvm/Support/GenericIteratedDominanceFrontier.h
The file was modifiedllvm/include/llvm/ADT/Hashing.h
The file was modifiedllvm/unittests/ADT/DenseSetTest.cpp
The file was modifiedllvm/include/llvm/Support/type_traits.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
The file was modifiedllvm/include/llvm/ExecutionEngine/JITSymbol.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPC/RawByteChannel.h
The file was modifiedllvm/include/llvm/Support/TaskQueue.h
The file was modifiedllvm/include/llvm/Support/BinaryStreamReader.h
The file was modifiedllvm/include/llvm/Support/raw_ostream.h
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/include/llvm/ADT/ilist_iterator.h
The file was modifiedllvm/include/llvm/Analysis/RegionInfoImpl.h
The file was modifiedllvm/include/llvm/XRay/Graph.h
The file was modifiedllvm/include/llvm/ADT/iterator.h
The file was modifiedclang-tools-extra/clangd/Shutdown.h
The file was modifiedllvm/include/llvm/Support/Endian.h
The file was modifiedllvm/include/llvm/Support/JSON.h
Commit b2c44de956cca22efa374cfb587912b38c41ed67 by dschuff
[llvm-objcopy][WebAssembly] Add dump/add/remove-section support

Add support for adding, removing, and dumping wasm sections to objcopy

Differential Revision: https://reviews.llvm.org/D70970
The file was addedllvm/test/tools/llvm-objcopy/wasm/remove-section.test
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
The file was modifiedllvm/tools/llvm-objcopy/wasm/Object.h
The file was modifiedllvm/tools/llvm-objcopy/wasm/WasmObjcopy.cpp
The file was addedllvm/tools/llvm-objcopy/wasm/Object.cpp
The file was addedllvm/test/tools/llvm-objcopy/wasm/dump-section.test
The file was addedllvm/test/tools/llvm-objcopy/wasm/add-section.test
The file was modifiedllvm/tools/llvm-objcopy/CMakeLists.txt
Commit 86f9117d476bcef2f5e0eabae4781e99877ce7b5 by arsenm2
AMDGPU: Don't report 2-byte alignment as fast

This is apparently worse than 1-byte alignment. This does not attempt
to decompose 2-byte aligned wide stores, but will stop trying to
produce them.

Also fix bug in LoadStoreVectorizer which was decreasing the alignment
and vectorizing stack accesses. It was assuming a stack object was an
alloca that could have its base alignment changed, which is not true
if the pointer is derived from a function argument.
The file was addedllvm/test/CodeGen/AMDGPU/fast-unaligned-load-store.global.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unaligned-load-store.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was addedllvm/test/CodeGen/AMDGPU/fast-unaligned-load-store.private.ll
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores-private.ll
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/adjust-alloca-alignment.ll
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores.ll
Commit 2d3ecade3892fb0d0713350e06522a94734733b7 by Jonas Devlieghere
[lldb/Plugins] Move PlatformRemoteiOS into PlatformMacOSX (NFCI)

Move the logic for initialization and termination for PlatformRemoteiOS
into PlatformMacOSX, like we did for the other Darwin platforms in
a731c6ba94d0464c6a122de1af70ab88ffb5c1a6.
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit a349c09162a8260bdf691c4f7ab72a16c33975f6 by rnk
Fix MSVC build with C++ EH enabled

Mark the CrashRecoveryContextImpl constructor noexcept, so that MSVC
won't emit an unwind helper to clean up the allocation from `new` if the
constructor throws an exception.

Otherwise, MSVC complains:
  llvm\lib\Support\CrashRecoveryContext.cpp(220): error C2712: \
  Cannot use __try in functions that require object unwinding

The other simple fix would be to wrap `new` in a static helper or
lambda.

Users have reported that Tensorflow builds LLVM with /EHsc.
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp
Commit b30e1223334b3fb4246acfe0a476a836d788c623 by arsenm2
AMDGPU: Don't expand more special div cases in IR

These have nicer expansions implemented in the DAG. Ideally we would
either directly implement all of these special expansions, or stop
expanding division in the IR.
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
Commit f9fdd1172c8b326126463f1efcfee721e5222334 by Jason Molenda
Rewrite default "could not attach" msg to point to hints
about where more information can be found about why it
may have failed.
<rdar://problem/59277928>
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit f9219e644ac601ed00487bd6cb285503df5589dd by gkistanova
Reverted the remainings of c1c9819ef91aab51b5a23fb3027adac5a2f551cc
as it has left broken llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast buildbot for long time.

Differential Revision: https://reviews.llvm.org/D73840
The file was modifiedllvm/examples/Bye/CMakeLists.txt
The file was modifiedllvm/tools/bugpoint-passes/CMakeLists.txt