SuccessChanges

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

Summary

  1. [ASan][Darwin] Adapt test for macOS 11+ version scheme (details)
  2. [lldb/test] Replace LLDB_TEST_SRC env variable with configuration (details)
  3. [TFUtils] Expose untyped accessor to evaluation result tensors (details)
  4. Revert "[LoopVectorizer] Inloop vector reductions" (details)
  5. [X86][SSE] Fold 128-bit PACK(EXTEND(X),EXTEND(Y)) -> CONCAT(X,Y) subvectors (details)
  6. [msan] Remove readnone and friends from call sites. (details)
  7. [LIBOMPTARGET]Fix order of mapper data for targetDataEnd function. (details)
  8. Fix _ExtInt(1) to be a i1 in memory. (details)
  9. [clangd] Hide "swap if branch" tweak (details)
  10. Remove Olesen from LLVM code owners (details)
  11. [MLIR][LinAlg] Use AnyTypeOf for LinalgOperand for better error msg. (details)
Commit 1e90bd7f84d3948807c8f40926e72def664f07fa by julian.lettner
[ASan][Darwin] Adapt test for macOS 11+ version scheme

This test depends on the versioning scheme of OSX.
The file was modifiedcompiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cpp
Commit f425c0442c3ef137f2c4ab5eebd3d39036b09d70 by rupprecht
[lldb/test] Replace LLDB_TEST_SRC env variable with configuration

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D85322
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
Commit b18c41c66fd16bde1a0a80a94f03815bc58dcc5a by mtrofin
[TFUtils] Expose untyped accessor to evaluation result tensors

These were implementation detail, but become necessary for generic data
copying.

Also added const variations to them, and move assignment, since we had a
move ctor (and the move assignment helps in a subsequent patch).

Differential Revision: https://reviews.llvm.org/D85262
The file was modifiedllvm/unittests/Analysis/TFUtilsTest.cpp
The file was modifiedllvm/lib/Analysis/TFUtils.cpp
The file was modifiedllvm/include/llvm/Analysis/Utils/TFUtils.h
Commit 3c39db0c4452218c967a8ac3ad48144fbf1159ff by rupprecht
Revert "[LoopVectorizer] Inloop vector reductions"

This reverts commit e9761688e41cb979a1fa6a79eb18145a75104933. It breaks the build:

```
~/src/llvm-project/llvm/lib/Analysis/IVDescriptors.cpp:868:10: error: no viable conversion from returned value of type 'SmallVector<[...], 8>' to function return type 'SmallVector<[...], 4>'
  return ReductionOperations;
```
The file was modifiedllvm/include/llvm/Analysis/IVDescriptors.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop-uf4.ll
Commit b60f998859458a13774fff296b58f587da8e56dd by llvm-dev
[X86][SSE] Fold 128-bit PACK(EXTEND(X),EXTEND(Y)) -> CONCAT(X,Y) subvectors

This is seen in the sub-128-bit vector trunc(ext()) of comparison results

Fixes pr46585.ll regression in D66004
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor-bool.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-setcc-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit f2c04239955a8e0d71aa27f7ffa3bbba6c623aef by eugenis
[msan] Remove readnone and friends from call sites.

MSan removes readnone/readonly and similar attributes from callees,
because after MSan instrumentation those attributes no longer apply.

This change removes the attributes from call sites, as well.

Failing to do this may cause DSE of paramTLS stores before calls to
readonly/readnone functions.

Differential Revision: https://reviews.llvm.org/D85259
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/attributes.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Commit 6780d5675b7cd75279d8fc13ee1a1cc272087613 by a.bataev
[LIBOMPTARGET]Fix order of mapper data for targetDataEnd function.

targetDataMapper function fills arrays with the mapping data in the
direct order. When this function is called by targetDataBegin or
tgt_target_update functions, it works as expected. But targetDataEnd
function processes mapped data in reverse order. In this case, the base
pointer might be deleted before the associated data is deleted. Need to
reverse data, mapped by mapper, too, since it always adds data that must
be deleted at the end of the buffer.
Fixes the test declare_mapper_target_update.cpp.
Also, reduces the memry fragmentation by preallocation the memory
buffers.

Differential Revision: https://reviews.llvm.org/D85216
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
Commit 2143a90b34a7846369127e762cec5917d5e1a5bd by erich.keane
Fix _ExtInt(1) to be a i1 in memory.

The _ExtInt(1) in getTypeForMem was hitting the bool logic for expanding
to an 8 bit value.  The result was an assert, or store i1 %0, i8* %2, align 1
since the parameter IS an i1.  This patch changes the 'forMem' test to
exclude ext-int from the bool test.
The file was modifiedclang/test/CodeGen/ext-int.c
The file was modifiedclang/lib/CodeGen/CodeGenTypes.cpp
Commit 9a7b8b22a75c4b5a065775a75a6a3dd2718ac970 by hokein.wu
[clangd] Hide "swap if branch" tweak

This tweak is more like a demo, and doesn't provide much value in
practice.

Differential Revision: https://reviews.llvm.org/D85318
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/SwapIfBranches.cpp
Commit 4f20f5e8cffca7898d62070e4fcd51650e412e98 by dblaikie
Remove Olesen from LLVM code owners

I contacted Jakob Olesen about TableGen and he replied that he is no longer involved with the project.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D84958
The file was modifiedllvm/CODE_OWNERS.TXT
Commit b727cfed5e765d099f47e6785f962695408977c0 by zinenko
[MLIR][LinAlg] Use AnyTypeOf for LinalgOperand for better error msg.

Previously, `LinalgOperand` is defined with `Type<Or<..,>>`, which produces
not very readable error messages when it is not matched, e.g.,

```
'linalg.generic' op operand #0 must be anonymous_326, but got ....
```

It is simply because the `description` property is not properly set.

This diff switches to use `AnyTypeOf` for `LinalgOperand`, which automatically
generates a description based on the allowed types provided.

As a result, the error message now becomes:

```
'linalg.generic' op operand #0 must be ranked tensor of any type values or strided memref of any type values, but got ...
```

Which is clearer and more informative.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D84428
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td