SuccessChanges

Summary

  1. [gn build] Manually port ed07e1fe (details)
  2. [InstSimplify] Simplify to vector constants when possible (details)
  3. Add cmake test support for LLJITWithThinLTOSummaries to make sure (details)
  4. [mlir] NFC: fix trivial typos in documents (details)
  5. [OpenMP] Fix import library installation with MinGW (details)
  6. [libomptarget][amdgpu] Update plugin CMake to work with latest rocr library (details)
  7. [Support][Windows] Fix incorrect GetFinalPathNameByHandleW() return value check in realPathFromHandle() (details)
  8. [llvm] [Thumb2] Test unusual length for active lane mask (details)
  9. [DAGCombiner] allow store merging non-i8 truncated ops (details)
  10. Reapply D70800: Fix AArch64 AAPCS frame record chain (details)
  11. [test] Rewrite various tests to not use constprop (details)
  12. [AArch64][SVE] Add lowering for llvm fceil (details)
  13. [InstSimplify] Add additional umax tests (NFC) (details)
  14. [InstSimplify] Fold min/max intrinsic based on icmp of operands (details)
  15. [VectorCombine] adjust test for better coverage; NFC (details)
  16. [libomptarget][amdgpu] Improve thread safety, remove dead code (details)
  17. [mlir][vector] Add vector.bitcast operation (details)
  18. [LangRef] Memset/memcpy/memmove can take undef/poison pointer if the size is 0 (details)
  19. [AArch64] Use CCAssignFnForReturn helper in more spots. NFC. (details)
  20. [IR] Remove noundef from masked store/load/gather/scatter's pointer operands (details)
  21. [X86] Default to -mtune=generic unless -march is passed to the driver. Add TuneCPU to the AST serialization (details)
  22. Bring llvm::Optional data formatter back in sync with the implementation. (details)
  23. Use properlyDominates in RDFLiveness when sorting on dominance. (details)
  24. [X86] Change pentium4 tuning settings and scheduler model back to their values before D83913. (details)
  25. Load correct module for linux and android when duplicates exist in minidump. (details)
  26. [ConstProp] Remove ConstantPropagation (details)
  27. Fix OCaml bindings (details)
  28. [X86] Update release notes for -mtune support. (details)
  29. [OpenMP] Always emit debug messages that indicate offloading failure (details)
  30. [ORC][JITLink] Switch to unique ownership for EHFrameRegistrars. (details)
  31. GlobalISel: Add generic instructions for memory intrinsics (details)
  32. GlobalISel: IRTranslate minimum of pointer sizes on memcpy (details)
  33. [libunwind] Minor fixes in libunwind (details)
  34. [libunwind] Factor out getInfoFromFdeCie. NFCI. (details)
  35. [gn build] Port 7a457593efe (details)
Commit 1446c1801deaf7a38221b45662f2e17fa1d5e8f0 by aeubanks
[gn build] Manually port ed07e1fe
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
Commit 098d3f98276de90b6e1468031bd3858615240bb7 by aeubanks
[InstSimplify] Simplify to vector constants when possible

InstSimplify should do all transformations that ConstProp does, but
one thing that ConstProp does that InstSimplify wouldn't is inline
vector instructions that are constants, e.g. into a ret.

Previously vector instructions wouldn't be inlined in InstSimplify
because llvm::Simplify*Instruction() would return nullptr for specific
instructions, such as vector instructions that were actually constants,
if it couldn't simplify them.

This changes SimplifyInsertElementInst, SimplifyExtractElementInst, and
SimplifyShuffleVectorInst to return a vector constant when possible.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D85946
The file was modifiedllvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/vscale.ll
Commit ea7b1c79f73d8def5d806ae79dea125d146ac864 by echristo
Add cmake test support for LLJITWithThinLTOSummaries to make sure
it's being built and called (and substituted).
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/test/lit.cfg.py
Commit 603a8a60ba444eb7fc77f0b31dd063a7583df2c4 by ishizaki
[mlir] NFC: fix trivial typos in documents

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D86563
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/docs/CAPI.md
The file was modifiedmlir/docs/Rationale/Rationale.md
The file was modifiedmlir/docs/Dialects/Linalg.md
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
Commit 1596ea80fdf3410f94ef9a2548701d26cc81c2f5 by Andrey.Churbanov
[OpenMP] Fix import library installation with MinGW

Patch by mati865@gmail.com

Differential Revision: https://reviews.llvm.org/D86552
The file was modifiedopenmp/runtime/src/CMakeLists.txt
Commit 28fbf422f248fc74681a53208aa2f543a67515ac by jonathanchesterfield
[libomptarget][amdgpu] Update plugin CMake to work with latest rocr library
The file was modifiedopenmp/libomptarget/plugins/amdgpu/CMakeLists.txt
Commit ceffd6993c350b57f43cec3b6371b159fc4a3149 by platonov.aleksandr
[Support][Windows] Fix incorrect GetFinalPathNameByHandleW() return value check in realPathFromHandle()

`GetFinalPathNameByHandleW(,,N,)` returns:
- `< N` on success (this value does not include the size of the terminating null character)
- `>= N` if buffer is too small (this value includes the size of the terminating null character)

So, when `N == Buffer.capacity() - 1`, we need to resize buffer if return value is > `Buffer.capacity() - 2`.
Also, we can set `N` to `Buffer.capacity()`.

Thus, without this patch `realPathFromHandle()` returns unfilled buffer when length of the final path of the file is equal to `Buffer.capacity()` or `Buffer.capacity() - 1`.

Reviewed By: andrewng, amccarth

Differential Revision: https://reviews.llvm.org/D86564
The file was modifiedllvm/lib/Support/Windows/Path.inc
Commit c6c292da910578bdec76616c606da2d79b730667 by ajcbik
[llvm] [Thumb2] Test unusual length for active lane mask

Thumb2 test for the fixed issue with unusual length.

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

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D86646
The file was modifiedllvm/test/CodeGen/Thumb2/active_lane_mask.ll
Commit 54a5dd485c4d04d142a58c9349ada0c897cbeae6 by spatel
[DAGCombiner] allow store merging non-i8 truncated ops

We have a gap in our store merging capabilities for shift+truncate
patterns as discussed in:
https://llvm.org/PR46662

I generalized the code/comments for this function in earlier commits,
so we only need ease the type restriction and adjust the address/endian
checking to make this work.

AArch64 lets us switch endian to make sure that patterns are matched
either way.

Differential Revision: https://reviews.llvm.org/D86420
The file was modifiedllvm/test/CodeGen/X86/stores-merging.ll
The file was modifiedllvm/test/CodeGen/AArch64/merge-trunc-store.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 9936455204fd6ab72715cc9d67385ddc93e072ed by resistor
Reapply D70800: Fix AArch64 AAPCS frame record chain

Original Commit Message:
After the commit r368987 (rG643adb55769e) was landed, the frame record (FP and LR register)
may be placed in the middle of a stack frame if a function has both callee-saved
general-purpose registers and floating point registers. This will break the stack unwinders
that simply walk through the frame records (based on the guarantee from AAPCS64
"The Frame Pointer" section). This commit fixes the problem by adding the frame record offset.

Patch By: logan
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/framelayout-fp-csr.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was addedllvm/test/CodeGen/AArch64/framelayout-frame-record.mir
Commit d1e6103a791309764f2a281eb3a5da01b9946511 by aeubanks
[test] Rewrite various tests to not use constprop

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D86653
The file was modifiedllvm/test/Transforms/Reassociate/fast-SubReassociate.ll
The file was modifiedllvm/test/Transforms/Inline/externally_available.ll
The file was modifiedllvm/test/Transforms/Reassociate/2002-05-15-SubReassociate.ll
The file was modifiedllvm/test/Transforms/Reassociate/otherops.ll
Commit fd536eeed99effb190337d1e500ef8e2dbb74920 by dancgr
[AArch64][SVE] Add lowering for llvm fceil

Add the functionality to lower fceil for passthru variant

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D84548
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
Commit b73c5a0736fd6e42cf8ca7330cd4bb98aee6bcdc by nikita.ppv
[InstSimplify] Add additional umax tests (NFC)

A sample of some folds we get if we perform icmp simplification
on min/max intrinsics.
The file was modifiedllvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll
Commit d7c119d89c5f6d0789cfd0a139c80e23912c0bb0 by nikita.ppv
[InstSimplify] Fold min/max intrinsic based on icmp of operands

This is a reboot of D84655, now performing the inner icmp
simplification query without undef folds.

It should be possible to handle the current foldMinMaxSharedOp()
fold based on this, by moving the logic into icmp of min/max instead,
making it more general. We can't drop the folds for constant operands,
because those also allow undef, which we exclude here.

The tests use assumes for exhaustive coverage, and have a few
more examples of misc folds we get based on icmp simplification.

Differential Revision: https://reviews.llvm.org/D85929
The file was modifiedllvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 9cea682faaa097e15891b945e74e7a8fdb4d7069 by spatel
[VectorCombine] adjust test for better coverage; NFC

A >2x insert might crash if we do not generate the shuffle mask carefully.

D86160
The file was modifiedllvm/test/Transforms/VectorCombine/X86/load.ll
Commit 5d989fb37d7cfb4f7766a45d4efc82b5add3811f by jonchesterfield
[libomptarget][amdgpu] Improve thread safety, remove dead code
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/machine.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/machine.h
The file was removedopenmp/libomptarget/plugins/amdgpu/impl/atmi_kl.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/rt.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/data.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/utils.cpp
Commit 5fbfe2ec4f8baf6a4729f9dc2e4fe16f269921eb by thomasraoux
[mlir][vector] Add vector.bitcast operation

Based on the RFC discussed here:
https://llvm.discourse.group/t/rfc-vector-standard-add-bitcast-operation/1628/

Adding a vector.bitcast operation that allows casting to a vector of different
element type. The most minor dimension bitwidth must stay unchanged.

Differential Revision: https://reviews.llvm.org/D86580
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
Commit 24dd04116db34e97271a520b6ab2397c67c627cb by aqjune
[LangRef] Memset/memcpy/memmove can take undef/poison pointer if the size is 0

According to the current LangRef, Memset/memcpy/memmove can take a
null/dangling pointer if the size is zero.
(Relevant thread: http://lists.llvm.org/pipermail/llvm-dev/2017-July/115665.html )
This patch expands it and allows the functions to take undef/poison pointers
too.

This required the updates in the align attribute since it isn't specified
what is the alignment of undef/poison pointers.
This patch states that their alignment is 1.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D86643
The file was modifiedllvm/docs/LangRef.rst
Commit 383f7c88589c5cf60fc09fd7d9b30ddd65642c34 by Ahmed Bougacha
[AArch64] Use CCAssignFnForReturn helper in more spots. NFC.

It was added for GISel, but SDAG could use it too!
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 0c55889d809027136048a0d144209a2bc282e7fc by aqjune
[IR] Remove noundef from masked store/load/gather/scatter's pointer operands

As discussed in D86576, noundef attribute is removed from masked store/load/gather/scatter's
pointer operands.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D86656
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
Commit 71f3169e1baeff262583b35ef88f8fb6df7be85e by craig.topper
[X86] Default to -mtune=generic unless -march is passed to the driver. Add TuneCPU to the AST serialization

This patch defaults to -mtune=generic unless -march is present. If -march is present we'll use the empty string unless its overridden by mtune. The back should use the target cpu if the tune-cpu isn't present.

It also adds AST serialization support to fix some tests that emit AST and parse it back. These tests diff the IR against the output from not going through AST. So if we don't serialize the tune CPU we fail the diff.

Differential Revision: https://reviews.llvm.org/D86488
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Modules/module_file_info.m
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/test/Driver/x86-mtune.c
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit a206ca40b5cf4bb8d8e84aedd4fb34952001f80b by Adrian Prantl
Bring llvm::Optional data formatter back in sync with the implementation.
The file was modifiedllvm/utils/lldbDataFormatters.py
Commit 0b342263043477ed2e2dc730468e9bfbcb375ac2 by asbirlea
Use properlyDominates in RDFLiveness when sorting on dominance.

Summary:
When looking for all reaching definitions, we sort basic blocks on dominance. When sorting looking for properlyDominates() handles the case A == B.

Authored by: pranavb

Differential Revision: https://reviews.llvm.org/D86661
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
Commit 92d3e70df3ccb9e6528f0c95bae48c0a8f9b703b by craig.topper
[X86] Change pentium4 tuning settings and scheduler model back to their values before D83913.

Clang now defaults to -march=pentium4 -mtune=generic so we don't
need modern tune settings on pentium4.
The file was modifiedllvm/test/CodeGen/X86/cmov-fp.ll
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedllvm/test/CodeGen/X86/post-ra-sched.ll
The file was modifiedllvm/test/DebugInfo/COFF/fpo-shrink-wrap.ll
The file was modifiedllvm/test/DebugInfo/COFF/fpo-stack-protect.ll
The file was modifiedllvm/test/CodeGen/X86/slow-unaligned-mem.ll
The file was modifiedllvm/test/DebugInfo/COFF/types-array.ll
The file was modifiedllvm/test/CodeGen/X86/cfguard-x86-vectorcall.ll
The file was modifiedllvm/test/CodeGen/X86/pr34088.ll
The file was modifiedllvm/test/CodeGen/X86/pr40539.ll
Commit c55db4600b4bdc5664784983fefb82bd8189bafc by gclayton
Load correct module for linux and android when duplicates exist in minidump.

Breakpad creates minidump files that can a module loaded multiple times. We found that when a process mmap's the object file for a library, this can confuse breakpad into creating multiple modules in the module list. This patch fixes the GetFilteredModules() to check the linux maps for permissions and use the one that has execute permissions. Typically when people mmap a file into memory they don't map it as executable. This helps people to correctly load minidump files for post mortem analysis.

Differential Revision: https://reviews.llvm.org/D86375
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/unittests/Process/minidump/MinidumpParserTest.cpp
Commit 486ed885339d70cd71ee55567282a43cce28d763 by aeubanks
[ConstProp] Remove ConstantPropagation

As discussed in
http://lists.llvm.org/pipermail/llvm-dev/2020-July/143801.html.

Currently no users outside of unit tests.

Replace all instances in tests of -constprop with -instsimplify.
Notable changes in tests:
* vscale.ll - @llvm.sadd.sat.nxv16i8 is evaluated by instsimplify, use a fake intrinsic instead
* InsertElement.ll - insertelement undef is removed by instsimplify in @insertelement_undef
llvm/test/Transforms/ConstProp moved to llvm/test/Transforms/InstSimplify/ConstProp

Reviewed By: lattner, nikic

Differential Revision: https://reviews.llvm.org/D85159
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/cubesc.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/loads.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/InsertElement.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2005-01-28-SetCCGEP.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/gep-alias.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-NotOperator.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubema.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/round.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/lit.local.cfg
The file was removedllvm/test/Transforms/ConstProp/insertvalue.ll
The file was removedllvm/test/Analysis/ConstantFolding/math-2.ll
The file was modifiedllvm/bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
The file was modifiedllvm/include/llvm-c/Transforms/Scalar.h
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2002-09-03-SetCC-Bools.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/avx512.ll
The file was removedllvm/test/Analysis/ConstantFolding/vecreduce.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
The file was removedllvm/test/Analysis/ConstantFolding/rint.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/shift.ll
The file was removedllvm/test/Transforms/ConstProp/phi.ll
The file was removedllvm/test/Transforms/ConstProp/2006-11-30-vector-cast.ll
The file was removedllvm/test/Transforms/ConstProp/overflow-ops.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fmul_legacy.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/basictest.ll
The file was removedllvm/test/Analysis/ConstantFolding/binop-identity-undef.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/min-max.ll
The file was removedllvm/test/Transforms/ConstProp/shift.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2009-06-20-constexpr-zero-lhs.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vscale-shufflevector.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/overflow-ops.ll
The file was removedllvm/test/Transforms/ConstProp/fma.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/smul-fix-sat.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/cubeid.ll
The file was removedllvm/test/Transforms/ConstProp/calls.ll
The file was removedllvm/test/Transforms/ConstProp/extractvalue.ll
The file was removedllvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll
The file was removedllvm/test/Analysis/ConstantFolding/timeout.ll
The file was removedllvm/test/Analysis/ConstantFolding/WebAssembly/trunc_saturate.ll
The file was removedllvm/lib/Transforms/Scalar/ConstantProp.cpp
The file was removedllvm/test/Analysis/ConstantFolding/vectorgep-crash.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/float-to-ptr-cast.ll
The file was removedllvm/test/Analysis/ConstantFolding/saturating-add-sub.ll
The file was removedllvm/test/Transforms/ConstProp/2009-09-01-GEP-Crash.ll
The file was removedllvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2006-12-01-bool-casts.ll
The file was removedllvm/test/Analysis/ConstantFolding/fp-undef.ll
The file was removedllvm/test/Transforms/ConstProp/basictest.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2007-02-23-sdiv.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/cast-vector.ll
The file was removedllvm/test/Analysis/ConstantFolding/gep-alias.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/trunc_vec.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/cubetc.ll
The file was removedllvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/fp-undef.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/trunc.ll
The file was removedllvm/test/Analysis/ConstantFolding/ARM/mve-vctp.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/calls.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/insertvalue.ll
The file was modifiedllvm/docs/Passes.rst
The file was removedllvm/test/Transforms/ConstProp/2006-12-01-bool-casts.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/cast.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
The file was removedllvm/test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
The file was removedllvm/test/Transforms/ConstProp/remtest.ll
The file was modifiedllvm/bindings/go/llvm/transforms_scalar.go
The file was removedllvm/test/Transforms/ConstProp/2007-02-23-sdiv.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/gep-constanfolding-error.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2008-07-07-VectorCompare.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/binop-identity-undef.ll
The file was removedllvm/test/Analysis/ConstantFolding/smul-fix.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fract.ll
The file was removedllvm/test/Transforms/ConstProp/constant-expr.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/gep.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cos.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll
The file was removedllvm/test/Transforms/ConstProp/logicaltest.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/bswap.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/smul-fix.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/saturating-add-sub.ll
The file was removedllvm/test/Analysis/ConstantFolding/funnel-shift.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/cubema.ll
The file was removedllvm/test/Analysis/ConstantFolding/min-max.ll
The file was removedllvm/test/Analysis/ConstantFolding/vector-undef-elts.ll
The file was removedllvm/test/Analysis/ConstantFolding/trunc.ll
The file was removedllvm/test/Transforms/ConstProp/sse.ll
The file was removedllvm/test/Analysis/ConstantFolding/gep-zeroinit-vector.ll
The file was removedllvm/test/Transforms/ConstProp/trunc_vec.ll
The file was removedllvm/test/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/extractvalue.ll
The file was removedllvm/test/Transforms/ConstProp/convert-from-fp16.ll
The file was removedllvm/test/Transforms/ConstProp/float-to-ptr-cast.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vector-undef-elts.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/phi.ll
The file was modifiedllvm/docs/CommandLine.rst
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was removedllvm/test/Analysis/ConstantFolding/round.ll
The file was removedllvm/test/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2009-09-01-GEP-Crash.ll
The file was removedllvm/test/Transforms/ConstProp/bswap.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2006-11-30-vector-cast.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/fract.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/ARM/mve-vctp.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/bitcount.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/math-1.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2003-05-12-DivideError.ll
The file was removedllvm/test/Analysis/ConstantFolding/fneg.ll
The file was removedllvm/test/Transforms/ConstProp/cast.ll
The file was removedllvm/test/Analysis/ConstantFolding/bitcount.ll
The file was removedllvm/test/Transforms/ConstProp/div-zero.ll
The file was removedllvm/test/Transforms/ConstProp/InsertElement.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/remtest.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/sse.ll
The file was modifiedllvm/test/Assembler/2002-04-07-HexFloatConstants.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/fma.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/convert-from-fp16.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vecreduce.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/math-2.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/sin.ll
The file was removedllvm/test/Analysis/ConstantFolding/abs.ll
The file was modifiedllvm/test/Bitcode/extractelement.ll
The file was removedllvm/test/Analysis/ConstantFolding/freeze.ll
The file was removedllvm/test/Transforms/ConstProp/loads.ll
The file was removedllvm/test/Analysis/ConstantFolding/vscale.ll
The file was removedllvm/test/Analysis/ConstantFolding/ARM/lit.local.cfg
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2007-02-05-BitCast.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/allones.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vscale-getelementptr.ll
The file was modifiedllvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli
The file was modifiedllvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/logicaltest.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/rint.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/extractelement-vscale.ll
The file was modifiedllvm/lib/Transforms/Scalar/CMakeLists.txt
The file was removedllvm/test/Other/2002-03-11-ConstPropCrash.ll
The file was removedllvm/test/Transforms/ConstProp/2003-05-12-DivideError.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/div-zero.ll
The file was removedllvm/test/Transforms/ConstProp/2002-05-03-NotOperator.ll
The file was removedllvm/test/Analysis/ConstantFolding/allones.ll
The file was removedllvm/test/Analysis/ConstantFolding/math-1.ll
The file was removedllvm/test/Analysis/ConstantFolding/copysign.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/fneg.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubesc.ll
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
The file was modifiedllvm/bindings/go/llvm/executionengine_test.go
The file was removedllvm/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubetc.ll
The file was removedllvm/test/Transforms/ConstProp/2009-06-20-constexpr-zero-lhs.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/copysign.ll
The file was removedllvm/test/Transforms/ConstProp/avx512.ll
The file was removedllvm/test/Analysis/ConstantFolding/smul-fix-sat.ll
The file was removedllvm/test/Analysis/ConstantFolding/WebAssembly/trunc.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/calls-math-finite.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/freeze.ll
The file was removedllvm/test/Analysis/ConstantFolding/gep-constanfolding-error.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/timeout.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/fmul_legacy.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/2006-12-01-TruncBoolBug.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubeid.ll
The file was removedllvm/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/funnel-shift.ll
The file was removedllvm/test/Analysis/ConstantFolding/gep.ll
The file was removedllvm/test/Analysis/ConstantFolding/cast-vector.ll
The file was removedllvm/test/Transforms/ConstProp/calls-math-finite.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc_saturate.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/abs.ll
The file was removedllvm/test/Transforms/ConstProp/bitcast.ll
The file was removedllvm/test/Analysis/ConstantFolding/extractelement-vscale.ll
The file was removedllvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
Commit 82875dcf9b86ad5414700d728c604d28f88332c4 by aeubanks
Fix OCaml bindings

Caused by https://reviews.llvm.org/D85159
The file was modifiedllvm/test/Bindings/OCaml/scalar_opts.ml
Commit 2d13693bfce9b6c2c706f3ea6745ab3fdfa517e1 by craig.topper
[X86] Update release notes for -mtune support.
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 7a5a74ea9675008589593e0f811c9b60fc962d0b by jhuber6
[OpenMP] Always emit debug messages that indicate offloading failure

Summary:

This patch changes the libomptarget runtime to always emit debug messages that
occur before offloading failure. The goal is to provide users with information
about why their application failed in the target region rather than a single
failure message. This is only done in regions that precede offloading failure
so this should not impact runtime performance. if the debug environment
variable is set then the message is forwarded to the debug output as usual.

A new environment variable was added for future use but does nothing in this
current patch. LIBOMPTARGET_INFO will be used to report runtime information to
the user if requrested, such as grid size, SPMD usage, or data mapping. It will
take an integer indicating the level of information verbosity and a value of 0
will disable it.

Reviewers: jdoerfort

Subscribers: guansong sstefan1 yaxunl ye-luo

Tags: #OpenMP

Differential Revision: https://reviews.llvm.org/D86483
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedopenmp/libomptarget/test/mapping/present/target_data_array_extension.c
The file was modifiedopenmp/libomptarget/src/api.cpp
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was modifiedopenmp/libomptarget/src/private.h
The file was modifiedopenmp/libomptarget/test/mapping/present/target_array_extension.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target_enter_data.c
The file was modifiedopenmp/libomptarget/test/mapping/alloc_fail.c
The file was modifiedopenmp/libomptarget/test/mapping/present/zero_length_array_section.c
The file was modifiedopenmp/libomptarget/test/mapping/present/target.c
Commit 605df8112cca3c68f044e4f761a1744c39f52c9d by Lang Hames
[ORC][JITLink] Switch to unique ownership for EHFrameRegistrars.

This will make stateful registrars (e.g. a future TargetProcessControl based
registrar) easier to deal with.
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
Commit 0b7f6cc71a72a85f8a0cbee836a7a8e31876951a by Matthew.Arsenault
GlobalISel: Add generic instructions for memory intrinsics

AArch64, X86 and Mips currently directly consumes these and custom
lowering to produce a libcall, but really these should follow the
normal legalization process through the libcall/lower action.
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memcpy.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-with-debug-info.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memmove.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memset.mir
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-memlib-debug-loc.mir
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
The file was removedllvm/test/MachineVerifier/test_memccpy_intrinsics.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-small-memcpy.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/call.ll
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/Target/X86/X86LegalizerInfo.cpp
The file was addedllvm/test/MachineVerifier/test_g_memcpy.mir
The file was addedllvm/test/MachineVerifier/test_g_memset.mir
Commit 5207545a86d2ebbc7d9d8d2b5bcc92fbc932c1da by Matthew.Arsenault
GlobalISel: IRTranslate minimum of pointer sizes on memcpy

I forgot to squash this with 0b7f6cc71a72a85f8a0cbee836a7a8e31876951a
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-memory-intrinsics.ll
Commit 7a457593efecc8f3e806cd3d022c480bc80d4fbb by rprichard
[libunwind] Minor fixes in libunwind

* When _LIBUNWIND_SUPPORT_COMPACT_UNWIND is defined in config.h,
   define it to "1" like the other macros. These macros are still
   checked using "#if defined(...)", however.

* Include libunwind.h in AddressSpace.hpp before using
   _LIBUNWIND_ARM_EHABI.

* Rename ProcessFrameHeaderCache to TheFrameHeaderCache, because some
   configurations (e.g. Android / hermetic static libraries) can have
   one cache per shared object in the process. (When there are more
   copies, it's more important not to waste memory in the cache.)

* Add 3 missing header files to LIBUNWIND_HEADERS.

Differential Revision: https://reviews.llvm.org/D86254
The file was modifiedlibunwind/src/AddressSpace.hpp
The file was modifiedlibunwind/src/CMakeLists.txt
The file was modifiedlibunwind/src/config.h
Commit 3071d5ffba2337174f95f984bc1603a2be8b797d by rprichard
[libunwind] Factor out getInfoFromFdeCie. NFCI.

Differential Revision: https://reviews.llvm.org/D86255
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit ce3f26c1d070ca59aebabbe4aa22915424a2dea5 by llvmgnsyncbot
[gn build] Port 7a457593efe
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn