SuccessChanges

Summary

  1. TableGen/GlobalISel: Allow inst matcher to check multiple opcodes (details)
  2. [lldb] type category name common completion (details)
  3. [flang][openacc] Fix reduction operator parsing/unparsing (details)
  4. [AMDGPU, docs] Fix typos (details)
  5. [TSan][Darwin] Handle NULL argument in interceptor (details)
  6. AMDGPU: Add flag to disable promotion of uniform i16 ops (details)
  7. Revert D85812 "[coroutine] should disable inline before calling coro split" (details)
  8. Add hashing of the .text section to ProcessMinidump. (details)
  9. [mlir] Add Index Type, Floating Point Type and None Type subclasses to python bindings. (details)
  10. [PowerPC] Extend custom lower of vector truncate to handle wider input (details)
  11. [NFC][InstCombine] Adjust naming for some methods to match coding standards (details)
  12. [NFC][InstCombine] Multi-level aggregate test for phi-of-insertvalue pattern (details)
Commit 116affb18dfc8c48ad0bd5134b42a51e34ad6fd8 by arsenm2
TableGen/GlobalISel: Allow inst matcher to check multiple opcodes

This is to initially handleg immAllOnesV, which should match
G_BUILD_VECTOR or G_BUILD_VECTOR_TRUNC. In the future, it could be
used for other patterns cases that map to multiple G_* instructions,
such as G_ADD and G_PTR_ADD.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/orn2.ll
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was modifiedllvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/andn2.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
Commit 188f1ac301c5c6da6d2f5697952510fc39cbdd43 by Raphael Isemann
[lldb] type category name common completion

1. Added a new common completion TypeCategoryNames to provide a list of category names for completion;
2. Applied the completion to these commands: type category delete/enable/disable/list/define;
3. Added a related test case;
4. Bound the completion to the arguments of the type 'eArgTypeName'.

Reviewed By: teemperor, JDevlieghere

Differential Revision: https://reviews.llvm.org/D84124
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/test/API/functionalities/completion/TestCompletion.py
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
Commit d5557c6e056f41776efbcdf67e0a9629229a4c34 by clementval
[flang][openacc] Fix reduction operator parsing/unparsing

Update the way reduction operator are defined for the OpenACC parser.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D86296
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedflang/lib/Parser/openacc-parsers.cpp
The file was modifiedflang/test/Semantics/acc-clause-validity.f90
The file was modifiedflang/lib/Parser/unparse.cpp
Commit b9496efbb9ebbf7ec76411fac4e12ff0dc7a8e06 by VenkataRamanaiah.Nalamothu
[AMDGPU, docs] Fix typos

Reviewed By: t-tye, Flakebi

Differential Revision: https://reviews.llvm.org/D86340
The file was modifiedllvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst
Commit 2b7a2cbb15c461380bebed0fc8603a0ef16a8f5d by julian.lettner
[TSan][Darwin] Handle NULL argument in interceptor

Handle NULL address argument in the `mach_vm_[de]allocate()`
interceptors and fix test: `Assignment 2` is not valid if we weren't
able to re-allocate memory.

rdar://67680613
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_mach_vm.cpp
The file was modifiedcompiler-rt/test/tsan/Darwin/mach_vm_allocate.c
Commit 75e6f0b3d43c90edcc027bca7a896bace5c0677c by arsenm2
AMDGPU: Add flag to disable promotion of uniform i16 ops

This interferes with GlobalISel's much better handling of the
situation.

This should really be disable for GlobalISel. However, the fallback
only re-runs the selection passes, and doesn't go back and rerun any
codegen IR passes. I haven't come up with a good solution to this
problem.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/andn2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/orn2.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
Commit 44ee9d070adee1aed105f90d88b30b8802d90d35 by i
Revert D85812 "[coroutine] should disable inline before calling coro split"

This reverts commit 2e43acfed89b1903de473f682c65878bdebc395a.

LLVMCoroutines (the library which contains Coroutines.h) depends on LLVMipo (the
library which contains SampleProfile.cpp). It is inappropriate for
SampleProfile.cpp to depent on Coroutines.h (circular dependency).

The test inverted dependencies as well:
llvm/test/Transforms/Coroutines/coro-inline.ll uses -sample-profile.
The file was removedllvm/test/Transforms/Coroutines/coro-inline.ll
The file was modifiedllvm/lib/Transforms/IPO/AlwaysInliner.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroInternal.h
The file was removedllvm/test/Transforms/Coroutines/Inputs/sample.text.prof
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/include/llvm/Transforms/Coroutines.h
Commit 0e6c9a6e7940a2f8ee624358d828acffdb9ccca5 by gclayton
Add hashing of the .text section to ProcessMinidump.

Breakpad will always have a UUID for binaries when it creates minidump files. If an ELF files has a GNU build ID, it will use that. If it doesn't, it will create one by hashing up to the first 4096 bytes of the .text section. LLDB was not able to load these binaries even when we had the right binary because the UUID didn't match. LLDB will use the GNU build ID first as the main UUID for a binary and fallback onto a 8 byte CRC if a binary doesn't have one. With this fix, we will check for the Breakpad hash or the Facebook hash (a modified version of the breakpad hash that collides a bit less) and accept binaries when these hashes match.

Differential Revision: https://reviews.llvm.org/D86261
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was addedlldb/test/API/functionalities/postmortem/minidump-new/libbreakpad-overflow.yaml
The file was addedlldb/test/API/functionalities/postmortem/minidump-new/linux-arm-facebook-uuid-match.yaml
The file was addedlldb/test/API/functionalities/postmortem/minidump-new/linux-arm-breakpad-uuid-match.yaml
The file was addedlldb/test/API/functionalities/postmortem/minidump-new/libbreakpad.yaml
The file was modifiedlldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py
Commit 1f6c4d829c2dad147e30dcb0611eb9886dae9155 by stellaraccident
[mlir] Add Index Type, Floating Point Type and None Type subclasses to python bindings.

Based on the PyType and PyConcreteType classes, this patch implements the bindings of Index Type, Floating Point Type and None Type subclasses.
These three subclasses share the same binding strategy:
- The function pointer `isaFunction` points to `mlirTypeIsA***`.
- The `mlir***TypeGet` C API is bound with the `***Type` constructor in the python side.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D86466
The file was modifiedmlir/test/Bindings/Python/ir_types.py
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
Commit b6d7ed469f2f7e70110f6f0d0fa03b99bb818d36 by froese
[PowerPC] Extend custom lower of vector truncate to handle wider input

Current custom lowering of truncate vector handles a source of up to 128 bits, but that only uses one of the two shuffle vector operands. Extend it to use both operands to handle 256 bit sources.

Differential Revision: https://reviews.llvm.org/D68035
The file was addedllvm/test/CodeGen/PowerPC/vec-trunc2.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 56c529300ef21c827b04702568dba15c85e2151a by lebedev.ri
[NFC][InstCombine] Adjust naming for some methods to match coding standards

Requested as preparatory cleanup in https://reviews.llvm.org/D86306#inline-799065
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
Commit 4dec8ec33d685bac27c047f74723263f3fb03256 by lebedev.ri
[NFC][InstCombine] Multi-level aggregate test for phi-of-insertvalue pattern

See https://reviews.llvm.org/D86306
The file was modifiedllvm/test/Transforms/InstCombine/phi-of-insertvalues.ll