SuccessChanges

Summary

  1. [mlir] fix the types used during the generation of the kernel param array (details)
  2. [ADT] function_ref's constructor is unavailable if the argument is not callable. (details)
  3. [gn build] (manually) port ce1365f8f7e (details)
  4. Revert "[ADT] function_ref's constructor is unavailable if the argument is not callable." (details)
  5. [AMDGPU] Use @LINE for error checking in gfx10.3 assembler tests (details)
  6. [SVE] Lower fixed length VECREDUCE_OR operation (details)
  7. [AMDGPU] Support disassembly for AMDGPU kernel descriptors (details)
  8. [clangd] Fix argument type (bool->float). (details)
  9. Introduce subtraction for FlatAffineConstraints (details)
  10. [SystemZ][z/OS] Add test of zero length bitfield type size larger than target zero length bitfield boundary (details)
  11. BPF: add AdjustOpt IR pass to generate verifier friendly codes (details)
  12. [gn build] Port ddf1864ace4 (details)
  13. [Tests] Precommit test showing gap around load forwarding of vectors in instcombine (details)
  14. [NFC][InstCombine] Autogenerate a few tests being affected by upcoming patch (details)
  15. [MemCpyOpt] Add additional callslot test cases (NFC) (details)
  16. [clang-format][NFC] Store FormatToken::Type as an enum instead of bitfield (details)
  17. [clang-format][tests] Fix MacroExpander lexer not parsing C++ keywords (details)
  18. Reapply [ADT] function_ref's constructor is unavailable if the argument is not callable. (details)
  19. [json] Provide a means to delegate writing a value to another API (details)
  20. [WebAssembly] Rename Emscripten EH functions (details)
  21. [mlir][CAPI] Attribute set/remove on operations. (details)
  22. [NFC] Add contributors names to CREDITS.TXT (details)
  23. [llvm][mlir] Promote the experimental reduction intrinsics to be first class intrinsics. (details)
  24. [clangd] Disambiguate overloads of std::move for header insertion. (details)
  25. Rename the VECREDUCE_STRICT_{FADD,FMUL} SDNodes to VECREDUCE_SEQ_{FADD,FMUL}. (details)
  26. [AMDGPU] Use default zero flag operands in flat scratch (details)
  27. [LAA] Use DL to get element size for bound computation. (details)
  28. [test][MC] Use %python in llvm/test/MC/COFF/bigobj.py (details)
  29. [AMDGPU] Add tied operand to d16 scratch loads (details)
  30. [mlir] Fix build after 322d0afd875df66b36e4810a2b95c20a8f22ab9b due to change in intrinsic overloads. (details)
Commit 149dc94c1d52c5f78e2aadb57a72dd437fe55aa1 by tobias.gysi
[mlir] fix the types used during the generation of the kernel param array

The patch fixes the types used to access the elements of the kernel parameter structure from a pointer to the structure to a pointer to the actual parameter type.

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D88959
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp (diff)
Commit 4cae6228d129d4c4dfb156c043977bb6b5690031 by sam.mccall
[ADT] function_ref's constructor is unavailable if the argument is not callable.

This allows overload sets containing function_ref arguments to work correctly
Otherwise they're ambiguous as anything "could be" converted to a function_ref.

This matches proposed std::function_ref, absl::function_ref, etc.

Differential Revision: https://reviews.llvm.org/D88901
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp (diff)
The file was modifiedllvm/lib/AsmParser/LLParser.h (diff)
The file was modifiedllvm/unittests/ADT/FunctionRefTest.cpp (diff)
The file was modifiedllvm/include/llvm/ADT/STLExtras.h (diff)
Commit fbce456fad35efa857b9dea2cff3a938835de44d by thakis
[gn build] (manually) port ce1365f8f7e
The file was modifiedlibcxx/src/CMakeLists.txt (diff)
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn (diff)
Commit 281703e67ffaee8e26efef86e0df3e145477f4cb by sam.mccall
Revert "[ADT] function_ref's constructor is unavailable if the argument is not callable."

This reverts commit 4cae6228d129d4c4dfb156c043977bb6b5690031.

Breaks GCC build:
http://lab.llvm.org:8011/#/builders/8/builds/33/steps/6/logs/stdio
The file was modifiedllvm/lib/AsmParser/LLParser.h (diff)
The file was modifiedllvm/unittests/ADT/FunctionRefTest.cpp (diff)
The file was modifiedllvm/include/llvm/ADT/STLExtras.h (diff)
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp (diff)
Commit fc819b6925611b6c564daf6752af2e88ce12f5c0 by jay.foad
[AMDGPU] Use @LINE for error checking in gfx10.3 assembler tests
The file was modifiedllvm/test/MC/AMDGPU/gfx1030_err.s (diff)
Commit 333b2ab60b61afb342a8d271477849fb445a26af by mcinally
[SVE] Lower fixed length VECREDUCE_OR operation

Differential Revision: https://reviews.llvm.org/D88847
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-log-reduce.ll (diff)
Commit 528057c19755ad842052fba3a42dcbf7deafc6de by RonakNilesh.Chauhan
[AMDGPU] Support disassembly for AMDGPU kernel descriptors

Decode AMDGPU Kernel descriptors as assembler directives.

Reviewed By: scott.linder, jhenderson, kzhuravl

Differential Revision: https://reviews.llvm.org/D80713
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h (diff)
The file was addedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx10.s
The file was modifiedllvm/include/llvm/Support/AMDHSAKernelDescriptor.h (diff)
The file was addedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-failure.s
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/nop-data.ll (diff)
The file was addedD80713.diff
The file was addedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s
The file was addedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp (diff)
The file was addedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-raw.s
The file was addedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx9.s
Commit bcd8422d75069624dc2daf7e5ff4b4f6cbcd6b71 by adamcz
[clangd] Fix argument type (bool->float).

The default value is 1.3f, but it was cast to true, which is not a good
base for code completion score.

Differential Revision: https://reviews.llvm.org/D88970
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp (diff)
Commit 63dead2096cd6a2190ba11071938b937be8bf159 by zinenko
Introduce subtraction for FlatAffineConstraints

Subtraction is a foundational arithmetic operation that is often used when computing, for example, data transfer sets or cache hits. Since the result of subtraction need not be a convex polytope, a new class `PresburgerSet` is introduced to represent unions of convex polytopes.

Reviewed By: ftynse, bondhugula

Differential Revision: https://reviews.llvm.org/D87068
The file was modifiedmlir/lib/Analysis/Presburger/Simplex.cpp (diff)
The file was modifiedmlir/lib/Analysis/CMakeLists.txt (diff)
The file was modifiedmlir/unittests/Analysis/CMakeLists.txt (diff)
The file was modifiedmlir/unittests/Analysis/Presburger/CMakeLists.txt (diff)
The file was addedmlir/include/mlir/Analysis/PresburgerSet.h
The file was modifiedmlir/lib/Analysis/Presburger/CMakeLists.txt (diff)
The file was addedmlir/lib/Analysis/PresburgerSet.cpp
The file was addedmlir/unittests/Analysis/PresburgerSetTest.cpp
The file was modifiedmlir/include/mlir/Analysis/AffineStructures.h (diff)
The file was modifiedmlir/include/mlir/Analysis/Presburger/Simplex.h (diff)
The file was modifiedmlir/unittests/Analysis/AffineStructuresTest.cpp (diff)
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp (diff)
Commit 9908ee5670596db4fdc2bd7ea7c3071c0e02a784 by Abhina.Sreeskantharajan
[SystemZ][z/OS] Add test of zero length bitfield type size larger than target zero length bitfield boundary

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D88963
The file was modifiedclang/test/CodeGen/zos-alignment.c (diff)
Commit ddf1864ace484035e3cde5e83b3a31ac81e059c6 by yhs
BPF: add AdjustOpt IR pass to generate verifier friendly codes

Add an IR phase right before main module optimization.
This is to modify IR to restrict certain downward optimizations
in order to generate verifier friendly code.
  > prevent certain instcombine optimizations, handling both
    in-block/cross-block instcombines.
  > avoid speculative code motion if the variable used in
    condition is also used in the later blocks.

Internally, a bpf IR builtin
  result = __builtin_bpf_passthrough(seq_num, result)
is used to enforce ordering. This builtin is only used
during target independent IR optimizations and it will
be removed at the beginning of target dependent IR
optimizations.

For example, removing the following workaround,
  --- a/tools/testing/selftests/bpf/progs/test_sysctl_loop1.c
  +++ b/tools/testing/selftests/bpf/progs/test_sysctl_loop1.c
  @@ -47,7 +47,7 @@ int sysctl_tcp_mem(struct bpf_sysctl *ctx)
          /* a workaround to prevent compiler from generating
           * codes verifier cannot handle yet.
           */
  -       volatile int ret;
  +       int ret;
this patch is able to generate code which passed the verifier.

To disable optimization, users need to use "opt" command like below:
  clang -target bpf -O2 -S -emit-llvm -Xclang -disable-llvm-passes test.c
  // disable icmp serialization
  opt -O2 -bpf-disable-serialize-icmp test.ll | llvm-dis > t.ll
  // disable avoid-speculation
  opt -O2 -bpf-disable-avoid-speculation test.ll | llvm-dis > t.ll
  llc t.ll

Differential Revision: https://reviews.llvm.org/D85570
The file was modifiedllvm/lib/Target/BPF/BPF.h (diff)
The file was addedllvm/lib/Target/BPF/BPFAdjustOpt.cpp
The file was addedllvm/test/CodeGen/BPF/adjust-opt-speculative1.ll
The file was modifiedllvm/lib/Target/BPF/BPFTargetMachine.cpp (diff)
The file was addedllvm/test/CodeGen/BPF/adjust-opt-icmp2.ll
The file was addedllvm/test/CodeGen/BPF/adjust-opt-speculative2.ll
The file was modifiedllvm/lib/Target/BPF/CMakeLists.txt (diff)
The file was addedllvm/test/CodeGen/BPF/adjust-opt-icmp1.ll
Commit d6af25e07c35a11bf6231151fe23a17337e8488f by llvmgnsyncbot
[gn build] Port ddf1864ace4
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/BUILD.gn (diff)
Commit 14d5ee63e3c3c625d5432db8c7fd6a2bdd7e6809 by listmail
[Tests] Precommit test showing gap around load forwarding of vectors in instcombine
The file was modifiedllvm/test/Transforms/InstCombine/load.ll (diff)
Commit bef27e50b9a2dd272a0c48e5237daeab50f77c7a by lebedev.ri
[NFC][InstCombine] Autogenerate a few tests being affected by upcoming patch
The file was modifiedllvm/test/Transforms/InstCombine/intptr1.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/load-bitcast32.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/PR30597.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/memset_chk-1.ll (diff)
Commit 7a01fc5abe4cb7b87ddd214b885426a3079636e9 by nikita.ppv
[MemCpyOpt] Add additional callslot test cases (NFC)

For cases where the destination is captured.
The file was modifiedllvm/test/Transforms/MemCpyOpt/callslot.ll (diff)
Commit 0a3c82e85b73e51e830b57844b2f5b98cb59afd1 by Alexander.Richardson
[clang-format][NFC] Store FormatToken::Type as an enum instead of bitfield

This improves the debugging experience since LLDB will print the enumerator
name instead of a decimal number. This changes TokenType to have uint8_t
as the underlying type and moves it after the remaining bitfields to avoid
increasing the size of FormatToken.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D87006
The file was modifiedclang/lib/Format/FormatToken.h (diff)
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp (diff)
Commit ff6e4441b93953efb2c52995e79e211a49ffac06 by Alexander.Richardson
[clang-format][tests] Fix MacroExpander lexer not parsing C++ keywords

While debugging a different clang-format failure, I tried to reuse the
MacroExpander lexer, but was surprised to see that it marks all C++
keywords (e.g. const, decltype) as being of type identifier. After stepping
through the ::format() code, I noticed that the difference between these
two is that the identifier table was not being initialized based on the
FormatStyle, so only basic tokens such as tok::semi, tok::plus, etc. were
being handled.

Reviewed By: klimek

Differential Revision: https://reviews.llvm.org/D88952
The file was modifiedclang/unittests/Format/TestLexer.h (diff)
The file was modifiedclang/unittests/Format/MacroExpanderTest.cpp (diff)
Commit b953a01b2cd04263c878292c609686647be396ad by sam.mccall
Reapply [ADT] function_ref's constructor is unavailable if the argument is not callable.

This reverts commit 281703e67ffaee8e26efef86e0df3e145477f4cb.

GCC 5.4 bugs are worked around by avoiding use of variable templates.

Differential Revision: https://reviews.llvm.org/D88977
The file was modifiedllvm/include/llvm/ADT/STLExtras.h (diff)
The file was modifiedllvm/unittests/ADT/FunctionRefTest.cpp (diff)
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp (diff)
The file was modifiedllvm/lib/AsmParser/LLParser.h (diff)
Commit 91a98ec11e2e001d01c47286bc1721046beeae62 by sam.mccall
[json] Provide a means to delegate writing a value to another API

(Based on D87170 by dsanders)

I recently had need to call out to an external API to emit a JSON object as part
of one an LLVM tool was emitting. However, our JSON support didn't provide a way
to delegate part of the JSON output to that API.

Add rawValueBegin() and rawValueEnd() to maintain and check the internal state
while something else is writing to the stream. It's the users responsibility to
ensure that the resulting JSON output is still valid.

Differential Revision: https://reviews.llvm.org/D88902
The file was modifiedllvm/include/llvm/Support/JSON.h (diff)
The file was modifiedllvm/unittests/Support/JSONTest.cpp (diff)
The file was modifiedllvm/lib/Support/JSON.cpp (diff)
Commit 3bba91f64eef15956f589fa446c265a714cc7893 by aheejin
[WebAssembly] Rename Emscripten EH functions

Renaming for some Emscripten EH functions has so far been done in
wasm-emscripten-finalize tool in Binaryen. But recently we decided to
make a compilation/linking path that does not rely on
wasm-emscripten-finalize for modifications, so here we move that
functionality to LLVM.

Invoke wrappers are generated in LowerEmscriptenEHSjLj pass, but final
wasm types are not available in the IR pass, we need to rename them at
the end of the pipeline.

This patch also removes uses of `emscripten_longjmp_jmpbuf` in
LowerEmscriptenEHSjLj pass, replacing that with `emscripten_longjmp`.
`emscripten_longjmp_jmpbuf` is lowered to `emscripten_longjmp`, but
previously we generated calls to `emscripten_longjmp_jmpbuf` in
LowerEmscriptenEHSjLj pass because it takes `jmp_buf*` instead of `i32`.
But we were able use `ptrtoint` to make it use `emscripten_longjmp`
directly here.

Addresses:
https://github.com/WebAssembly/binaryen/issues/3043
https://github.com/WebAssembly/binaryen/issues/3081

Companions:
https://github.com/WebAssembly/binaryen/pull/3191
https://github.com/emscripten-core/emscripten/pull/12399

Reviewed By: dschuff, tlively, sbc100

Differential Revision: https://reviews.llvm.org/D88697
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp (diff)
The file was modifiedllvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp (diff)
The file was modifiedllvm/test/CodeGen/WebAssembly/function-bitcasts.ll (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp (diff)
The file was addedllvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-multi-return.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll (diff)
The file was modifiedllvm/test/CodeGen/WebAssembly/lower-em-sjlj-sret.ll (diff)
Commit 4aa217160e5f06a96c6effc4950c3b402374de58 by stellaraccident
[mlir][CAPI] Attribute set/remove on operations.

* New functions: mlirOperationSetAttributeByName, mlirOperationRemoveAttributeByName
* Also adds some *IsNull checks and standardizes the rest to use "static inline" form, which makes them all non-opaque and not part of the ABI (which is desirable).
* Changes needed to resolve TODOs in npcomp PyTorch capture.

Differential Revision: https://reviews.llvm.org/D88946
The file was modifiedmlir/lib/CAPI/IR/IR.cpp (diff)
The file was modifiedmlir/include/mlir-c/IR.h (diff)
The file was modifiedmlir/test/CAPI/ir.c (diff)
Commit 19bc894da12a9229b3e8cfb11a0281786f07ab6c by fanbo.meng
[NFC] Add contributors names to CREDITS.TXT
The file was modifiedllvm/CREDITS.TXT (diff)
Commit 322d0afd875df66b36e4810a2b95c20a8f22ab9b by Amara Emerson
[llvm][mlir] Promote the experimental reduction intrinsics to be first class intrinsics.

This change renames the intrinsics to not have "experimental" in the name.

The autoupgrader will handle legacy intrinsics.

Relevant ML thread: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140729.html

Differential Revision: https://reviews.llvm.org/D88787
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-add-legalization.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-fmin.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-or.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/used-reduced-op.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fmul.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fmax-legalization.ll (diff)
The file was modifiedllvm/test/CodeGen/Generic/expand-experimental-reductions.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-smin.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp16-reduce.mir (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr42674.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-cmp.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/gather-root.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-add-operand-liveout.mir (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reassociated-loads.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-debug.mir (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-umax-legalization.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-liveout.mir (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor-bool.ll (diff)
The file was modifiedmlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-fp.mlir (diff)
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir (diff)
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fmul-legalization-strict.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reverse_extract_elements.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fmul-legalization-soft-float.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/no-vpsel-liveout.mir (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp (diff)
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/neon-dot-product.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR39774.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fadd.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr45378.ll (diff)
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h (diff)
The file was modifiedllvm/lib/CodeGen/ExpandReductions.cpp (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/imprecise-through-phis.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix.mir (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-reductions.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop-uf4.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-add.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-vctp-opcode-liveout.mir (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-cmp.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/reduction-small-size.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vabs.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/add_reduce.mir (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-loops.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/tail-fold-multiple-icmps.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reorder_repeated_ops.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-fmax.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/unpredicated-max.mir (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-propagate-sd-flags.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fmax.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-umin.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/lstp-insertion-position.mir (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/vectorize-reorder-reuse.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-inloop.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/gather-cost.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/reductions-vpt-liveout.mir (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fmin-nnan.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/varying-outer-2d-reduction.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR40310.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-scatter-tailpred.ll (diff)
The file was addedllvm/test/Instrumentation/MemorySanitizer/reduce.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-smin.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/reductions.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fadd-fast.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-umax.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/tp-multiple-vpst.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fadd-legalization.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-and.ll (diff)
The file was modifiedllvm/test/Assembler/invalid-vecreduce.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-gather-scatter-tailpred.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll (diff)
The file was modifiedllvm/docs/ReleaseNotes.rst (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction_loads.ll (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fadd.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll (diff)
The file was modifiedmlir/integration_test/Dialect/LLVMIR/CPU/test-vector-reductions-int.mlir (diff)
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir (diff)
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fadd-legalization-soft-float.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-and-legalization.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fmul-fast.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-umax.ll (diff)
The file was modifiedllvm/docs/LangRef.rst (diff)
The file was removedllvm/test/Instrumentation/MemorySanitizer/experimental-reduce.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/scheduling.ll (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/vecreduce.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mul.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/tail_loop_folding.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-umin.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fadd-legalization-strict.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fmax-fmin-fast.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/vector-reductions.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR35628_2.ll (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll (diff)
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-fp-reduce.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fmul-legalization-strict.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vaddv.mir (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/pr33053.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-reduce-mve-tail.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-scatter-optimisation.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmaxv.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-minmaxv.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll (diff)
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp (diff)
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fmin-legalization-soft-float.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-2.mir (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-vctp-operand-liveout.mir (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-1.mir (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/invariant-qreg.mir (diff)
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-addv.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction-predselect.ll (diff)
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-umin.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-bool.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-reduce.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fmin-legalization.ll (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp (diff)
The file was modifiedllvm/test/Analysis/CostModel/AArch64/vector-reduce.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wlstp.mir (diff)
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fmax-legalization-soft-float.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/haddsub.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-smin.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/undef_vect.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-liveout-lsr-shift.mir (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/tail-folding-not-allowed.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fmax-nnan.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vaddv.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-bit.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-xor.ll (diff)
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-fmin.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-smax.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fmax-legalization-nan.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr35432.ll (diff)
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td (diff)
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-smax.ll (diff)
The file was modifiedllvm/test/Bitcode/upgrade-vecreduce-intrinsics.ll.bc (diff)
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h (diff)
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/vector-reductions.ll (diff)
The file was modifiedllvm/test/Bitcode/upgrade-vecreduce-intrinsics.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-smax.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/nested.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-reduction-types.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-reduction-predselect.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-add.ll (diff)
The file was modifiedllvm/lib/IR/IRBuilder.cpp (diff)
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-mul.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-load.mir (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR35628_1.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/remark_horcost.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-reduce.ll (diff)
The file was modifiedllvm/include/llvm/IR/Intrinsics.td (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fadd-legalization-strict.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-umax.ll (diff)
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/compare-reduce.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fadd.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fminmax.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fmul.ll (diff)
Commit 69daa368cad34c3cff7e170d2a32652ce31ca9e5 by sam.mccall
[clangd] Disambiguate overloads of std::move for header insertion.

Up until now, we relied on matching the filename.
This depends on unstable details of libstdc++ and doesn't work well on other
stdlibs. Also we'd like to remove it (see D88204).

Differential Revision: https://reviews.llvm.org/D88885
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp (diff)
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.h (diff)
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/unittests/CanonicalIncludesTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp (diff)
Commit e72cfd938f21bd194a2d2f45a4f8ee7d94d33bf8 by Amara Emerson
Rename the VECREDUCE_STRICT_{FADD,FMUL} SDNodes to VECREDUCE_SEQ_{FADD,FMUL}.

The STRICT was causing unnecessary confusion. I think SEQ is a more accurate
name for what they actually do, and the other obvious option of "ORDERED"
has the issue of already having a meaning in FP contexts.

Differential Revision: https://reviews.llvm.org/D88791
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h (diff)
Commit 7361ce73efcfba8ac12b7dc1f57a6291ea961c41 by Stanislav.Mekhanoshin
[AMDGPU] Use default zero flag operands in flat scratch

This is no-op so far because we do not select these yet.

Differential Revision: https://reviews.llvm.org/D88920
The file was modifiedllvm/lib/Target/AMDGPU/FLATInstructions.td (diff)
Commit a73166a45204378f6f8b4a6ff2d962f0ff56d51e by flo
[LAA] Use DL to get element size for bound computation.

Currently LAA uses getScalarSizeInBits to compute the size of an element
when computing the end bound of an access.

This does not work as expected for pointers to pointers, because
getScalarSizeInBits will return 0 for pointer types.

By using DataLayout to get the size of the element we can also correctly
handle pointer element types.

Note the changes to the existing test, which seems to also use the wrong
offset for the end.

Fixes PR47751.

Reviewed By: anemet

Differential Revision: https://reviews.llvm.org/D88953
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check-pointer-element-type.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr23997.ll (diff)
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp (diff)
Commit dd2f79ed4422860ea9507e17cc33f1262d09db50 by hubert.reinterpretcast
[test][MC] Use %python in llvm/test/MC/COFF/bigobj.py

... instead of the one on the $PATH.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D88986
The file was modifiedllvm/test/MC/COFF/bigobj.py (diff)
Commit 45014ce36f28698bb0e84ecad3a3ea7da4f476ad by Stanislav.Mekhanoshin
[AMDGPU] Add tied operand to d16 scratch loads

This is still no-op because there is no selection for these
opcodes.

Differential Revision: https://reviews.llvm.org/D88927
The file was modifiedllvm/lib/Target/AMDGPU/FLATInstructions.td (diff)
Commit c1247f0e74bff00ab9a896a8132318916f3e84a7 by Amara Emerson
[mlir] Fix build after 322d0afd875df66b36e4810a2b95c20a8f22ab9b due to change in intrinsic overloads.

I'd forgottent to run the mlir tests after removing the scalar input overload
on the fadd/fmul reductions. This is a quick fix for the mlir bot.
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td (diff)
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir (diff)