Changes

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

Summary

  1. [libc++] Remove build bots that are handled on BuildKite now (details)
Commit 8d8b4bb34168d53a4d0e3eba3614aa0ce9e7fd9e by Louis Dionne
[libc++] Remove build bots that are handled on BuildKite now

Those builders have been failing for months because they use a version
of Clang that we don't actively support anymore. Furthermore, all those
configurations (single-threaded, no exceptions, with LLVM's unwinder)
are being tested on BuildKite.

At this point, I think those builders are only adding noise and using
resources that could be repurposed to other tasks, so I think it is
reasonable to remove them.
The file was modifiedbuildbot/osuosl/master/config/builders.py

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

Summary

  1. [AArch64][SVE] Wire up vscale_range attribute to SVE min/max vector queries (details)
  2. [NFC] Fix typo (details)
  3. [ARM] Transform a fixed-point to floating-point conversion into a VCVT_fix (details)
  4. [clang-cl] Implement /external:I, /external:env, and EXTERNAL_INCLUDE support (PR36003) (details)
  5. [NFC][libomptarget] Remove redundant libelf dependency for elf_common. (details)
  6. [FuncSpec] Add minsize test. NFC. (details)
  7. [AArch64][SVE] Add missing target require to test (details)
  8. [mlir] Remove "getNumPayloadInductionVariables". (details)
  9. AMDGPU: Add missing tests for v_fma_mixlo (details)
  10. [InstCombine] fold ctlz/cttz-of-select with 1 or more constant arms (details)
  11. [mlir][NFC] Move SubTensorOp and SubTensorInsertOp to TensorDialect (details)
  12. [omp] Fix build without ITT after D103121 changes (details)
  13. Try to fix clang/test/Driver/cl-include.c failure (details)
  14. [OpenCL] Add support of __opencl_c_images feature macro (details)
  15. [SLP][AArch64] Add SLP vectorizer regression test. NFC (details)
  16. [InstCombine] move bitmanipulation-of-select folds (details)
  17. [libc++] Remove unused variable (details)
  18. [HIP] Add support functions for C++ polymorphic types (details)
  19. RegisterCoalescer: Fix iterating through use operands. (details)
  20. [lldb] Enable Rust v0 symbol demangling (details)
  21. [OpaquePtr] Return opaque pointer from opaque pointer GEP (details)
  22. Revert "[mlir][NFC] Move SubTensorOp and SubTensorInsertOp to TensorDialect" (details)
  23. [flang] Fold more reduction intrinsic function calls (details)
  24. Revert "[LoopDeletion] Handle Phis with similar inputs from different blocks" (details)
  25. Remove ML inlining model artifacts. (details)
  26. [lldb] Skip TestLimitDebugInfo for Clang<7 (details)
  27. [lldb] Add support for escaping zsh arguments (details)
  28. Revert "[lldb-vscode] attempt to fix flakiness" (details)
  29. Split a test for ease of auto update (details)
  30. [OpaquePtr] Support opaque constant expression GEP (details)
  31. [InstCombine] Remove unnecessary addres space check (NFC) (details)
  32. [RISCV] Add isel patterns to match vmacc/vmadd/vnmsub/vnmsac from add/sub and mul. (details)
  33. [Clang][Codegen] rename no_profile fn attr no_profile_instrument_function (details)
  34. [SystemZ]  Fix some typos in comments. (details)
  35. [llvm-profdata] Allow omission of -o for --text output (details)
  36. [InstCombine] Extract bitcast -> gep transform (details)
  37. [InstCombine] Don't try converting opaque pointer bitcast to GEP (details)
  38. [SLP]Improve vectorization of PHI instructions. (details)
  39. [LoopUnroll] Don't modify TripCount/TripMultiple in computeUnrollCount() (NFCI) (details)
  40. Revert "[InstCombine] Extract bitcast -> gep transform" (details)
  41. [libcxx][ranges] Add `indirectly_movable` and `indirectly_movable_storable`. (details)
  42. [llvm-reduce] Don't delete arguments of intrinsics (details)
  43. [SYCL][NFC] Ensure SYCL kernel for unique-stable-name is unqualified. (details)
  44. [RISCV] Remove extra character from a comment. NFC (details)
  45. [mlir][vector] Support distributing transfer op with permutation map (details)
  46. Add polynomial approximation for trigonometric sine and cosine functions (details)
  47. [InstCombine] Add test for bitcast of unsized pointer (NFC) (details)
  48. Reapply [InstCombine] Extract bitcast -> gep transform (details)
  49. Create install targets for scan-build-py. (details)
  50. Reapply [InstCombine] Don't try converting opaque pointer bitcast to GEP (details)
  51. [libc++] NFC: Fix outdated comment about secrets.env (details)
  52. Revert "[SYCL][NFC] Ensure SYCL kernel for unique-stable-name is unqualified." (details)
  53. [SLP][NFC]Rename functions in the tests, NFC. (details)
  54. [NFC][SimplifyCFG] Fix tests to use FileCheck instead of grep (details)
  55. [NFC][SimplifyCFG] Add basic test for debuginfo preservation of `ret` tail merging (details)
  56. [UpdateCCTestChecks] Fix --replace-value-regex across RUN lines (details)
  57. [DAGCombine] reassoc flag shouldn't enable contract (details)
  58. [AArch64][X86] Allow 64-bit label differences lower to IMAGE_REL_*_REL32 (details)
  59. [ARM] Make sure we don't transform unaligned store to stm on Thumb1. (details)
  60. [SampleFDO] Make FSDiscriminator flag part of function parameters (details)
  61. [DFSan][NFC] Refactor Origin Address Alignment code. (details)
  62. [IR] convert warn-stack-size from module flag to fn attr (details)
  63. Clarify the "env" launch configuration setting. (details)
  64. [mlir][tosa] Enable tosa.div for TosaMakeBroadcastable (details)
Commit 9e7329e37edee0b4e6e212c90c76014a09dc6d90 by bradley.smith
[AArch64][SVE] Wire up vscale_range attribute to SVE min/max vector queries

Differential Revision: https://reviews.llvm.org/D103702
The file was addedllvm/test/CodeGen/AArch64/sve-vscale-attr.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was addedclang/test/CodeGen/aarch64-sve-vector-bits-codegen.c
Commit 4684cd543cfa5df04c9242df17a50e74b22b08bc by sebastian.neubauer
[NFC] Fix typo
The file was modifiedllvm/include/llvm/CodeGen/LiveIntervalCalc.h
Commit bbe16b7af2d66d2abcf75ad72af6155d4da964cb by samuel.tebbs
[ARM] Transform a fixed-point to floating-point conversion into a VCVT_fix

Conversion from a fixed-point number to a floating-point number is done by
multiplying the fixed-point number by 2^(-n) where n is the number of
fractional bits. Currently this is lowered to a vcvt
(integer to floating-point) then a vmul, but it can instead be lowered
directly to a vcvt (fixed-point to floating-point). This patch enables
such transformations as long as the multiplication factor is a power of 2.

Differential Revision: https://reviews.llvm.org/D103903
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-vcvt-fixed.ll
Commit 3063a5472266f05add4e5b85f34141ba2e66fa2e by hans
[clang-cl] Implement /external:I, /external:env, and EXTERNAL_INCLUDE support (PR36003)

This patch does three things:

- Map the /external:I flag to -isystem

- Add support for the /external:env:<var> flag which reads system
  include paths from the <var> environment variable

- Pick up system include dirs EXTERNAL_INCLUDE in addition to the old
  INCLUDE environment variable.

Differential revision: https://reviews.llvm.org/D104387
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/test/Driver/cl-include.c
Commit aad9e48c5fc778bf2e0d622d55f295d847ae66a1 by vyacheslav.p.zakharin
[NFC][libomptarget] Remove redundant libelf dependency for elf_common.

Differential Revision: https://reviews.llvm.org/D104549
The file was modifiedopenmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
Commit 071dbaec875926a9ce03f82446096bfc28eb3c02 by sjoerd.meijer
[FuncSpec] Add minsize test. NFC.
The file was addedllvm/test/Transforms/FunctionSpecialization/function-specialization-minsize.ll
Commit ed31ff9c7a9e538ead1fa4feecf09987998621b4 by bradley.smith
[AArch64][SVE] Add missing target require to test

Differential revision: https://reviews.llvm.org/D104643
The file was modifiedclang/test/CodeGen/aarch64-sve-vector-bits-codegen.c
Commit 2e972e366a15b30ab14a743323975297b99a53e4 by pifon
[mlir] Remove "getNumPayloadInductionVariables".

This method always returns 0 after
https://reviews.llvm.org/rG7cddf56d608f07b8e49f7e2eeb4a20082611adb6

Differential Revision: https://reviews.llvm.org/D104645
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
Commit 4819cd162e92d44131444cb2b403028c0c5efe0a by Matthew.Arsenault
AMDGPU: Add missing tests for v_fma_mixlo
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
Commit 64b2676ca8290c7ff971c6f5b7a355b0ae7693de by spatel
[InstCombine] fold ctlz/cttz-of-select with 1 or more constant arms

Building on:
4c44b02d87
...and adding handling for the extra operand in these intrinsics.

This pattern is discussed in:
https://llvm.org/PR50140
The file was modifiedllvm/test/Transforms/InstCombine/intrinsic-select.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 83bf801f5f266c788f025a3efbb0c83817137c3b by springerm
[mlir][NFC] Move SubTensorOp and SubTensorInsertOp to TensorDialect

The main goal of this commit is to remove the dependency of Standard dialect on the Tensor dialect.

* Rename ops: SubTensorOp --> ExtractTensorOp, SubTensorInsertOp --> InsertTensorOp
* Some helper functions are (already) duplicated between the Tensor dialect and the MemRef dialect. To keep this commit smaller, this will be cleaned up in a separate commit.
* Additional dialect dependencies: Shape --> Tensor, Tensor --> Standard
* Remove dialect dependencies: Standard --> Tensor
* Move canonicalization test cases to correct dialect (Tensor/MemRef).

Differential Revision: https://reviews.llvm.org/D104499
The file was modifiedmlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-func-bufferize-analysis.mlir
The file was modifiedmlir/test/Dialect/Standard/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
The file was modifiedmlir/test/Dialect/Linalg/bufferize.mlir
The file was modifiedmlir/test/Dialect/Linalg/hoisting.mlir
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/test/Dialect/Linalg/hoist-padding.mlir
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
The file was modifiedmlir/test/Dialect/MemRef/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Conversion/TosaToStandard/TosaToStandardPass.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Dialect/Linalg/vectorization.mlir
The file was modifiedmlir/test/Dialect/Tensor/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/Tensor.h
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-and-pad-tensors.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorOps.cpp
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-func-bufferize.mlir
The file was modifiedmlir/test/Dialect/Linalg/subtensor-of-padtensor.mlir
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/test/Conversion/TosaToStandard/tosa-to-standard.mlir
The file was modifiedmlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
The file was modifiedmlir/lib/Conversion/TosaToStandard/TosaToStandard.cpp
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Hoisting.h
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir
The file was modifiedmlir/test/Dialect/Linalg/fusion-sequence.mlir
The file was modifiedmlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
The file was modifiedmlir/test/Dialect/Linalg/fusion-tensor-pattern.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-and-distribute.mlir
Commit eab1fd389b61d236bf8df4d09f62dd18253a10bc by vlad.vinogradov
[omp] Fix build without ITT after D103121 changes

Reviewed By: AndreyChurbanov

Differential Revision: https://reviews.llvm.org/D104638
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
Commit 5958dc75ced482228ae4489df1eb5e255e04e5eb by hans
Try to fix clang/test/Driver/cl-include.c failure

Somewhat speculative. Example failures:
https://lab.llvm.org/buildbot/#/builders/5/builds/8857/steps/9/logs/stdio
https://lab.llvm.org/buildbot/#/builders/123/builds/4621/steps/8/logs/stdio
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
Commit a4273905583559b613e1f23336978007af5849be by anton.zabaznov
[OpenCL] Add support of __opencl_c_images feature macro

Reviewed By: svenvh

Differential Revision: https://reviews.llvm.org/D103911
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was addedclang/test/SemaOpenCL/unsupported-image.cl
Commit 2251f33bef387572419679701c69e833a4a4567f by rosie.sumpter
[SLP][AArch64] Add SLP vectorizer regression test. NFC

This test is for a missed SLP vectorizer opportunity, reported here
https://bugs.llvm.org/show_bug.cgi?id=44593. This is due to a cost
modelling issue with vector reduction intrinsics which will be
fixed in a future commit (see https://reviews.llvm.org/D104538).
The file was addedllvm/test/Transforms/SLPVectorizer/AArch64/slp-or-reduction.ll
Commit 198b79caae4ff01f146e311d2db14bfe13f098ad by spatel
[InstCombine] move bitmanipulation-of-select folds

This is no outwardly-visible-difference-intended,
but it is obviously better to have all transforms
for an intrinsic housed together since we already
have helper functions in place.

It is also potentially more efficient to zap a
simple pattern match before trying to do expensive
computeKnownBits() calls.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit c02160c17b7fc770e57d5b065d8d28a7b2416443 by fanbo.meng
[libc++] Remove unused variable

Removing  `__current` as it becomes unused-but-set after 2cf78d4ead4a2ab5375bd6087724211d04119a28.

Reviewed By: ldionne, abhina.sreeskantharajan, #libc

Differential Revision: https://reviews.llvm.org/D104544
The file was modifiedlibcxx/include/regex
Commit 186f2ac612ad3cd551dee649e3097f4284774ba0 by Yaxun.Liu
[HIP] Add support functions for C++ polymorphic types

Add runtime functions to detect invalid calls to pure or deleted virtual
functions.

Patch by: Siu Chi Chan

Reviewed by: Yaxun Liu

Differential Revision: https://reviews.llvm.org/D104392
The file was modifiedclang/lib/Headers/__clang_hip_runtime_wrapper.h
The file was modifiedclang/test/Headers/hip-header.hip
Commit 96994427f2426e895c301be4e6002dc0ba3c4890 by hgreving
RegisterCoalescer: Fix iterating through use operands.

Fixes a minor bug when trying to iterate through use operands when
updating debug use operands.

Extends a test to include above.

Differential Revision: https://reviews.llvm.org/D104576
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/regcoalescer.mir
Commit 0a2d4f3f24a377dc7d3cbed16d30603dc27554a8 by Raphael Isemann
[lldb] Enable Rust v0 symbol demangling

Rust's v0 name mangling scheme [1] is easy to disambiguate from other
name mangling schemes because symbols always start with `_R`. The llvm
Demangle library supports demangling the Rust v0 scheme. Use it to
demangle Rust symbols.

Added unit tests that check simple symbols. Ran LLDB built with this
patch to debug some Rust programs compiled with the v0 name mangling
scheme. Confirmed symbol names were demangled as expected.

Note: enabling the new name mangling scheme requires a nightly
toolchain:

```
$ cat main.rs
fn main() {
    println!("Hello world!");
}
$ $(rustup which --toolchain nightly rustc) -Z symbol-mangling-version=v0 main.rs -g
$ /home/asm/hacking/llvm/build/bin/lldb ./main --one-line 'b main.rs:2'
(lldb) target create "./main"
Current executable set to '/home/asm/hacking/llvm/rust/main' (x86_64).
(lldb) b main.rs:2
Breakpoint 1: where = main`main::main + 4 at main.rs:2:5, address = 0x00000000000076a4
(lldb) r
Process 948449 launched: '/home/asm/hacking/llvm/rust/main' (x86_64)
warning: (x86_64) /lib64/libgcc_s.so.1 No LZMA support found for reading .gnu_debugdata section
Process 948449 stopped
* thread #1, name = 'main', stop reason = breakpoint 1.1
    frame #0: 0x000055555555b6a4 main`main::main at main.rs:2:5
   1    fn main() {
-> 2        println!("Hello world!");
   3    }
(lldb) bt
error: need to add support for DW_TAG_base_type '()' encoded with DW_ATE = 0x7, bit_size = 0
* thread #1, name = 'main', stop reason = breakpoint 1.1
  * frame #0: 0x000055555555b6a4 main`main::main at main.rs:2:5
    frame #1: 0x000055555555b78b main`<fn() as core::ops::function::FnOnce<()>>::call_once((null)=(main`main::main at main.rs:1), (null)=<unavailable>) at function.rs:227:5
    frame #2: 0x000055555555b66e main`std::sys_common::backtrace::__rust_begin_short_backtrace::<fn(), ()>(f=(main`main::main at main.rs:1)) at backtrace.rs:125:18
    frame #3: 0x000055555555b851 main`std::rt::lang_start::<()>::{closure#0} at rt.rs:49:18
    frame #4: 0x000055555556c9f9 main`std::rt::lang_start_internal::hc51399759a90501a [inlined] core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h04259e4a34d07c2f at function.rs:259:13
    frame #5: 0x000055555556c9f2 main`std::rt::lang_start_internal::hc51399759a90501a [inlined] std::panicking::try::do_call::hb8da45704d5cfbbf at panicking.rs:401:40
    frame #6: 0x000055555556c9f2 main`std::rt::lang_start_internal::hc51399759a90501a [inlined] std::panicking::try::h4beadc19a78fec52 at panicking.rs:365:19
    frame #7: 0x000055555556c9f2 main`std::rt::lang_start_internal::hc51399759a90501a [inlined] std::panic::catch_unwind::hc58016cd36ba81a4 at panic.rs:433:14
    frame #8: 0x000055555556c9f2 main`std::rt::lang_start_internal::hc51399759a90501a at rt.rs:34:21
    frame #9: 0x000055555555b830 main`std::rt::lang_start::<()>(main=(main`main::main at main.rs:1), argc=1, argv=0x00007fffffffcb18) at rt.rs:48:5
    frame #10: 0x000055555555b6fc main`main + 28
    frame #11: 0x00007ffff73f2493 libc.so.6`__libc_start_main + 243
    frame #12: 0x000055555555b59e main`_start + 46
(lldb)
```

[1]: https://github.com/rust-lang/rust/issues/60705

Reviewed By: clayborg, teemperor

Differential Revision: https://reviews.llvm.org/D104054
The file was modifiedlldb/include/lldb/Core/Mangled.h
The file was modifiedlldb/source/Core/Mangled.cpp
The file was modifiedlldb/unittests/Core/MangledTest.cpp
The file was modifiedlldb/source/Symbol/Symtab.cpp
Commit 9f779195d311c983031271d0243d6e6af988ce55 by nikita.ppv
[OpaquePtr] Return opaque pointer from opaque pointer GEP

For a GEP on an opaque pointer, also return an opaque pointer (or
vector of opaque pointer) result.

This requires explicitly enumerating the GEP source element type,
because it is now no longer implicitly enumerated as part of either
the source or result pointer types.

Differential Revision: https://reviews.llvm.org/D104652
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/Bitcode/Writer/ValueEnumerator.cpp
The file was modifiedllvm/test/Assembler/opaque-ptr.ll
Commit 60d97fb4cfa6164919f5ef5222b2afdd0ee04b1c by joker.eph
Revert "[mlir][NFC] Move SubTensorOp and SubTensorInsertOp to TensorDialect"

This reverts commit 83bf801f5f266c788f025a3efbb0c83817137c3b.

This breaks the build with -DBUILD_SHARED_LIBS=ON
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/hoist-padding.mlir
The file was modifiedmlir/test/Dialect/Standard/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/test/Dialect/Linalg/hoisting.mlir
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/test/Dialect/Linalg/fusion-sequence.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Conversion/TosaToStandard/TosaToStandard.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-and-distribute.mlir
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-and-pad-tensors.mlir
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-func-bufferize-analysis.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-func-bufferize.mlir
The file was modifiedmlir/test/Dialect/Linalg/bufferize.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/Tensor.h
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
The file was modifiedmlir/test/Dialect/MemRef/canonicalize.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/test/Dialect/Linalg/subtensor-of-padtensor.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/test/Dialect/Tensor/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/lib/Conversion/TosaToStandard/TosaToStandardPass.cpp
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h
The file was modifiedmlir/test/Dialect/Linalg/vectorization.mlir
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
The file was modifiedmlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/test/Conversion/TosaToStandard/tosa-to-standard.mlir
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
The file was modifiedmlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Hoisting.h
The file was modifiedmlir/test/Dialect/Linalg/fusion-tensor-pattern.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
Commit 503c085e3bcd0a031a363ee89c91b1f1e41bfa4b by pklausler
[flang] Fold more reduction intrinsic function calls

Refactor the recently-implemented MAXVAL/MINVAL folding so
that the parts that can be used to implement other reduction
transformational intrinsic function folding are exposed.

Use them to implement folding of IALL, IANY, IPARITY,
SUM. and PRODUCT.  Replace the folding of ALL & ANY to
use the new infrastructure and become able to handle DIM=
arguments.

Differential Revision: https://reviews.llvm.org/D104562
The file was modifiedflang/lib/Evaluate/fold-integer.cpp
The file was modifiedflang/lib/Evaluate/fold-logical.cpp
The file was modifiedflang/lib/Evaluate/fold-reduction.h
The file was modifiedflang/test/Evaluate/folding20.f90
The file was modifiedflang/lib/Evaluate/fold-complex.cpp
The file was modifiedflang/include/flang/Evaluate/real.h
The file was modifiedflang/lib/Evaluate/fold-character.cpp
The file was modifiedflang/lib/Evaluate/fold-real.cpp
Commit f52666985d7011b539f26f54e09a5c89b62dad56 by nathan
Revert "[LoopDeletion] Handle Phis with similar inputs from different blocks"

This reverts commit bb1dc876ebb8a2eef38d5183d00c2db1437f1c91.

This patch causes an assertion failure when building an arm64 defconfig
Linux kernel.

See https://reviews.llvm.org/D103959 for a link to the original bug
report and a reduced reproducer.
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
Commit f86d1f99b3e9c4819ee0a7b6b785b1ea5feb1627 by jacobhegna
Remove ML inlining model artifacts.

They are not conducive to being stored in git. Instead, we autogenerate
mock model artifacts for use in tests. Production models can be
specified with the cmake flag LLVM_INLINER_MODEL_PATH.

LLVM_INLINER_MODEL_PATH has two sentinel values:
- download, which will download the most recent compatible model.
- autogenerate, which will autogenerate a "fake" model for testing the
model uptake infrastructure.

Differential Revision: https://reviews.llvm.org/D104251
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
The file was addedllvm/lib/Analysis/models/generate_mock_model.py
The file was modifiedllvm/test/Transforms/Inline/ML/bounds-checks-rewards.ll
The file was modifiedllvm/test/Transforms/Inline/ML/development-training-log.ll
The file was modifiedllvm/test/Transforms/Inline/ML/ml-test-development-mode.ll
The file was removedllvm/lib/Analysis/models/inliner/output_spec.json
The file was removedllvm/lib/Analysis/models/inliner/variables/variables.data-00000-of-00001
The file was modifiedllvm/cmake/modules/TensorFlowCompile.cmake
The file was removedllvm/lib/Analysis/models/inliner/variables/variables.index
The file was addedllvm/lib/Analysis/models/inlining/config.py
The file was removedllvm/lib/Analysis/models/inliner/README.txt
The file was removedllvm/lib/Analysis/models/inliner/saved_model.pbtxt
Commit 1265f05c268f09c74a2ecaa3e2b3cea83ec10627 by Raphael Isemann
[lldb] Skip TestLimitDebugInfo for Clang<7

Without DW_CC_pass_by_* attributes that Clang 7 started to emit in this test
we don't properly read back the return value of the `get_*` functions and just
read bogus memory.

See also the TestReturnValue.py test.
The file was modifiedlldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py
Commit c197cddb16b3ed0de98f80566f8fc47f78aee64c by Raphael Isemann
[lldb] Add support for escaping zsh arguments

LLDB supports having globbing regexes in the process launch arguments that will
be resolved using the user's shell. This requires that we pass the launch args
to the shell and then read back the expanded arguments using LLDB's argdumper
utility.

As the shell will not just expand the globbing regexes but all special
characters, we need to escape all non-globbing charcters such as $, &, <, >,
etc. as those otherwise are interpreted and removed in the step where we expand
the globbing characters. Also because the special characters are shell-specific,
LLDB needs to maintain a list of all the characters that need to be escaped for
each specific shell.

This patch adds the list of special characters that need to be escaped for
`zsh`. Without this patch on systems where `zsh` is the user's shell (like on
all macOS systems) having any of these special characters in your arguments or
path to the binary will cause the process launch to fail. E.g., `lldb -- ./calc
1<2` is failing without this patch. The same happens if the absolute path to
`calc` is in a directory that contains for example parentheses or other special
characters.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D104627
The file was modifiedlldb/unittests/Utility/ArgsTest.cpp
The file was modifiedlldb/source/Utility/Args.cpp
Commit 28d9fd00d4b5711fb029e3e642e2d81eaf9fd510 by walter erquinigo
Revert "[lldb-vscode] attempt to fix flakiness"
Revert "[lldb-vscode] only report long running progress events"

This reverts commit f2c009dbcfd11fd1e8941513dcf49fffe43565a1.
This reverts commit aa4685c0fb3aab5acb90be5fd3eb5ba8bf1e3211.
The file was modifiedlldb/tools/lldb-vscode/ProgressEvent.cpp
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was modifiedlldb/tools/lldb-vscode/VSCode.h
The file was modifiedlldb/tools/lldb-vscode/VSCode.cpp
The file was modifiedlldb/tools/lldb-vscode/ProgressEvent.h
Commit 0c09e5bd74db90497a272e723213293981633a18 by listmail
Split a test for ease of auto update
The file was addedllvm/test/Transforms/LoopVersioning/wrapping-pointer-versioning.ll
The file was modifiedllvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
Commit d9fe96fe264e72c0a5c58cdd40b4efa14d18f475 by nikita.ppv
[OpaquePtr] Support opaque constant expression GEP

Adjust assertions to use isOpaqueOrPointeeTypeMatches() and make
it return an opaque pointer result for an opaque base pointer. We
also need to enumerate the element type, as it is no longer
implicitly enumerated through the pointer type.

Differential Revision: https://reviews.llvm.org/D104655
The file was modifiedllvm/test/Assembler/opaque-ptr.ll
The file was modifiedllvm/lib/Bitcode/Writer/ValueEnumerator.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
Commit a969bdc56f66a3c059f6d70e574d11fda8354e2a by nikita.ppv
[InstCombine] Remove unnecessary addres space check (NFC)

It's not possible to bitcast between different address spaces,
and this is ensured by the IR verifier. As such, this bitcast to
addrspacecast canonicalization can never be hit.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit 9080659ac730735c6233153fa2f666015a47b07e by craig.topper
[RISCV] Add isel patterns to match vmacc/vmadd/vnmsub/vnmsac from add/sub and mul.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D104163
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vnmsub-sdnode.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vremu-sdnode-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vrem-sdnode-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmulh-sdnode-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vrem-sdnode-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vremu-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vmadd-sdnode.ll
Commit a63d4f6cbab133b0f1ce9afb562546fcc5bb2680 by ndesaulniers
[Clang][Codegen] rename no_profile fn attr no_profile_instrument_function

GCC has had this function attribute since GCC 7.1 for this purpose. I
added "no_profile" last week in D104475; rename this to
"no_profile_instrument_function" to improve compatibility with GCC.

Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223#c11

Reviewed By: MaskRay, aaron.ballman

Differential Revision: https://reviews.llvm.org/D104658
The file was addedclang/test/Sema/no_profile_instrument_function-attribute.c
The file was modifiedclang/test/CodeGen/no_profile.c
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/include/clang/Basic/Attr.td
The file was removedclang/test/Sema/no_profile-attribute.c
Commit b2cd98d5fe7ab71415f2a87c741ebf62a7e3ba54 by paulsson
[SystemZ]  Fix some typos in comments.
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Commit ea23c38d0605514f68e33d319a6bdd858381257a by i
[llvm-profdata] Allow omission of -o for --text output

This makes it more convenient to get a text format profile.

Add an error for printing non-text format output to a terminal for instrumentation profile.
(It cannot be portably tested. For sample profile, raw_fd_ostream is hidden deeply so it's inconvenient to add a diagnostic.)

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D104600
The file was modifiedllvm/test/tools/llvm-profdata/text-dump.test
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
Commit d9f5d7b959de36085944d4a99a73f3053f953796 by nikita.ppv
[InstCombine] Extract bitcast -> gep transform

Move this into a separate function, to make sure that early
returns do not accidentally skip other transforms. There is
already one isSized() check that could run into this issue,
thus this change is not strictly NFC.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit 5780611d7e044ef56c4214df2c236ef5e15545ab by nikita.ppv
[InstCombine] Don't try converting opaque pointer bitcast to GEP

Bitcasts having opaque pointer source or result type cannot be
converted into a zero-index GEP, GEP source and result types
always have the same opaque-ness.
The file was addedllvm/test/Transforms/InstCombine/opaque-ptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit 908b7536615ee8694d949b60716833893c7f7049 by a.bataev
[SLP]Improve vectorization of PHI instructions.

Perform better analysis when trying to vectorize PHIs.
1. Do not try to vectorize vector PHIs.
2. Do deeper analysis for more profitable nodes for the vectorization.

Before we just tried to vectorize the PHIs of the same type. Patch
improves this and tries to vectorize PHIs with incoming values which
come from the same basic block, have the same and/or alternative
opcodes.

It allows to save the compile time and provides better vectorization
results in general.

Part of D57059.

Differential Revision: https://reviews.llvm.org/D103638
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/slp-max-phi-size.ll
Commit 862313cf59eef22023cc8c5d93bd368e661791d1 by nikita.ppv
[LoopUnroll] Don't modify TripCount/TripMultiple in computeUnrollCount() (NFCI)

As these are no longer passed to UnrollLoop(), there is no need to
modify them in computeUnrollCount(). Make them non-reference parameters.

Differential Revision: https://reviews.llvm.org/D104590
The file was modifiedllvm/include/llvm/Transforms/Utils/UnrollLoop.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit 6922ab73a5a5b0d6a65f0b8796e5fae4345dbbd9 by nikita.ppv
Revert "[InstCombine] Extract bitcast -> gep transform"

This reverts commit d9f5d7b959de36085944d4a99a73f3053f953796.
This reverts commit 5780611d7e044ef56c4214df2c236ef5e15545ab.

This causes a failure in Coroutine tests.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was removedllvm/test/Transforms/InstCombine/opaque-ptr.ll
Commit 075f2370c7fa5495649d09be8b1a9802b17a7f2b by zoecarver
[libcxx][ranges] Add `indirectly_movable` and `indirectly_movable_storable`.

Differential Revision: https://reviews.llvm.org/D102639
The file was modifiedlibcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/include/__iterator/concepts.h
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/re/re.iter/re.tokiter/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/include/iterator
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/stream.iterators/ostream.iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable.compile.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/iterator_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/stream.iterators/istream.iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.iter/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.set/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/unique.ptr/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/alg.req.ind.move/{ind.move.subsumption.compile.pass.cpp}
The file was addedlibcxx/test/std/iterators/iterator.requirements/alg.req.ind.move/indirectly_movable_storable.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/stream.iterators/istreambuf.iterator/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp
Commit a24035883356de2bf201835e72a15f6a22e5032d by aeubanks
[llvm-reduce] Don't delete arguments of intrinsics

The argument reduction pass shouldn't remove arguments of
intrinsics, because the resulting module is ill-formed, and so
inherently uninteresting.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D103129
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
The file was addedllvm/test/tools/llvm-reduce/remove-args-dbg-intrinsics.ll
Commit 5013131875402539a249dca47c58cca7c359baf8 by erich.keane
[SYCL][NFC] Ensure SYCL kernel for unique-stable-name is unqualified.

Discovered in our downstream, this function that is used to get the type
of the kernel parameter type needs to be unqualified, otherwise when our
downstream uses this function in a slightly different way, the kernel
types no longer match.
The file was modifiedclang/lib/Sema/SemaSYCL.cpp
Commit c2e01ee4a5e97b686c49cfc2193e660f3e6dda9c by craig.topper
[RISCV] Remove extra character from a comment. NFC
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Commit 1244bca53fb2ff2e6061ae43b830a645bf93cc6d by thomasraoux
[mlir][vector] Support distributing transfer op with permutation map

Differential Revision: https://reviews.llvm.org/D104263
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/Vector/vector-distribution.mlir
Commit 7e2d672a672c0559f6e5c417c5ee2514402cf18e by ataei
Add polynomial approximation for trigonometric sine and cosine functions

The approximation relays on range reduced version y \in [0, pi/2]. An input x will have
the property that sin(x) = sin(y), -sin(y), cos(y), -cos(y) depends on which quadrable x
is in, where sin(y) and cos(y) are approximated with 5th degree polynomial (of x^2).
As a result a single pattern can be used to compute approximation for both sine and cosine.

Reviewed By: ezhulenev

Differential Revision: https://reviews.llvm.org/D104582
The file was modifiedmlir/test/mlir-cpu-runner/math_polynomial_approx.mlir
The file was modifiedmlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
Commit 403792f91e822e580dd5dc65ad80d0977d4fd9e3 by nikita.ppv
[InstCombine] Add test for bitcast of unsized pointer (NFC)

The bitcast should get folded into the select, but currently isn't
due to an incorrect early bailout.
The file was modifiedllvm/test/Transforms/InstCombine/bitcast.ll
Commit e2c2124a4b5bad9cf2a1e23a6aef1b2ad753f504 by nikita.ppv
Reapply [InstCombine] Extract bitcast -> gep transform

Relative to the original patch, an InstCombine test has been
added to show a previously missed pattern, and the Coroutine
test that resulted in the revert has been regenerated.

-----

Move this into a separate function, to make sure that early
returns do not accidentally skip other transforms. This previously
happened for the isSized() check, which skipped folds like
distributing a bitcast over a select.
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-once-value.ll
The file was modifiedllvm/test/Transforms/InstCombine/bitcast.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit d9cf8291e7ef26317c13ed9a4e9bd88855166d5d by mvanotti
Create install targets for scan-build-py.

A new revision identical to https://reviews.llvm.org/D101139
The parent revision of aforementioned revision seems to cause pre-merge checks to fail opaquely. Seeing if creating a new revision will work.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D104138
The file was modifiedclang/tools/scan-build-py/bin/scan-build
The file was addedclang/tools/scan-build-py/libexec/analyze-c++
The file was removedclang/tools/scan-build-py/bin/intercept-c++
The file was addedclang/tools/scan-build-py/lib/libscanbuild/resources/scanview.css
The file was addedclang/tools/scan-build-py/libexec/intercept-c++
The file was addedclang/tools/scan-build-py/CMakeLists.txt
The file was removedclang/tools/scan-build-py/libear/config.h.in
The file was modifiedclang/tools/scan-build-py/tests/unit/test_analyze.py
The file was removedclang/tools/scan-build-py/libscanbuild/report.py
The file was removedclang/tools/scan-build-py/bin/analyze-cc
The file was removedclang/tools/scan-build-py/libscanbuild/resources/selectable.js
The file was addedclang/tools/scan-build-py/libexec/analyze-cc
The file was modifiedclang/tools/scan-build-py/bin/intercept-build
The file was removedclang/tools/scan-build-py/libscanbuild/clang.py
The file was removedclang/tools/scan-build-py/libscanbuild/intercept.py
The file was addedclang/tools/scan-build-py/libexec/intercept-cc
The file was modifiedclang/tools/scan-build-py/tests/functional/cases/test_from_cdb.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/__init__.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/intercept.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/analyze.py
The file was removedclang/tools/scan-build-py/libscanbuild/resources/scanview.css
The file was removedclang/tools/scan-build-py/bin/intercept-cc
The file was addedclang/tools/scan-build-py/lib/libear/config.h.in
The file was removedclang/tools/scan-build-py/libscanbuild/arguments.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/shell.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/compilation.py
The file was removedclang/tools/scan-build-py/libscanbuild/shell.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/arguments.py
The file was removedclang/tools/scan-build-py/libscanbuild/analyze.py
The file was addedclang/tools/scan-build-py/lib/libear/ear.c
The file was removedclang/tools/scan-build-py/bin/analyze-c++
The file was removedclang/tools/scan-build-py/libscanbuild/__init__.py
The file was addedclang/tools/scan-build-py/lib/libear/__init__.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/resources/selectable.js
The file was modifiedclang/tools/scan-build-py/tests/functional/cases/test_exec_anatomy.py
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
The file was addedclang/tools/scan-build-py/lib/libscanbuild/clang.py
The file was modifiedclang/tools/CMakeLists.txt
The file was removedclang/tools/scan-build-py/libear/__init__.py
The file was modifiedclang/tools/scan-build-py/tests/functional/cases/__init__.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/report.py
The file was modifiedclang/tools/scan-build-py/tests/__init__.py
The file was modifiedclang/tools/scan-build-py/tests/functional/cases/test_from_cmd.py
The file was addedclang/tools/scan-build-py/lib/libscanbuild/resources/sorttable.js
The file was removedclang/tools/scan-build-py/libscanbuild/compilation.py
The file was removedclang/tools/scan-build-py/libear/ear.c
The file was modifiedclang/tools/scan-build-py/bin/analyze-build
Commit 39796e1ad02a45b09ac3ef9e3dc1906f28804a91 by nikita.ppv
Reapply [InstCombine] Don't try converting opaque pointer bitcast to GEP

Reapplied without changes -- this was reverted together with an
underlying patch.

-----

Bitcasts having opaque pointer source or result type cannot be
converted into a zero-index GEP, GEP source and result types
always have the same opaque-ness.
The file was addedllvm/test/Transforms/InstCombine/opaque-ptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit 9b371f5da4e5df8d392390aec049528a6a08c3b1 by Louis Dionne
[libc++] NFC: Fix outdated comment about secrets.env

That file (secrets.env) has now been removed, so the comment was
referencing something that didn't exist anymore.
The file was modifiedlibcxx/utils/ci/Dockerfile
Commit b3634d3e88b7f26534a5057bff182b7dced584fc by erich.keane
Revert "[SYCL][NFC] Ensure SYCL kernel for unique-stable-name is unqualified."

This reverts commit 5013131875402539a249dca47c58cca7c359baf8.

This patch didn't end up being the solution to the problem.  It "fixed"
our issue but the actual correct solution is something else.  Reverting
as this ends up being unnecessary/extra noise.
The file was modifiedclang/lib/Sema/SemaSYCL.cpp
Commit c5bbc737e8c6a78867c8e0d0481e25824563bc3d by a.bataev
[SLP][NFC]Rename functions in the tests, NFC.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/operandorder.ll
Commit 3e98b88797e52914ca67aa173aad97595fa61c73 by lebedev.ri
[NFC][SimplifyCFG] Fix tests to use FileCheck instead of grep
The file was modifiedllvm/test/Transforms/SimplifyCFG/PhiNoEliminate.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/dbginfo.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/branch-cond-merge.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/branch-phi-thread.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/return-merge.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/BrUnwind.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/branch-cond-prop.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/2008-12-16-DCECond.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/PhiBlockMerge2.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/branch-fold-test.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/duplicate-phis.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/2008-05-16-PHIBlockMerge.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/UncondBranchToReturn.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/2009-05-12-externweak.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/PhiEliminate.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/iterative-simplify.ll
Commit 4cf74469a0f58c01a7fcf140a028b2a68f71df58 by lebedev.ri
[NFC][SimplifyCFG] Add basic test for debuginfo preservation of `ret` tail merging
The file was modifiedllvm/test/Transforms/SimplifyCFG/return-merge.ll
Commit 2bfe0536e5143caad80f7a9691fa775cf451317b by jdenny.ornl
[UpdateCCTestChecks] Fix --replace-value-regex across RUN lines

Without this patch, llvm/utils/update_cc_test_checks.py fails to
perform `--replace-value-regex` replacements when two RUN lines
produce the same output and use the same single FileCheck prefix.  The
problem is that replacements in a RUN line's output are not performed
until after comparing against previous RUN lines' output, where
replacements have already been performed.  This patch fixes that.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D104566
The file was addedclang/test/utils/update_cc_test_checks/Inputs/replace-value-regex-across-runs.c
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was addedclang/test/utils/update_cc_test_checks/Inputs/replace-value-regex-across-runs.c.expected
The file was addedclang/test/utils/update_cc_test_checks/replace-value-regex-across-runs.test
Commit 3996311ee1b0a3c29a3ffcf9400e12ca76a846d9 by Jinsong Ji
[DAGCombine] reassoc flag shouldn't enable contract

According to IR LangRef, the FMF flag:

contract
Allow floating-point contraction (e.g. fusing a multiply followed by an
addition into a fused multiply-and-add).

reassoc
Allow reassociation transformations for floating-point instructions.
This may dramatically change results in floating-point.

My understanding is that these two flags shouldn't imply each other,
as we might have a SDNode that can be reassociated with others, but
not contractble.

eg: We may want following fmul/fad/fsub to freely reassoc, but don't
want fma being generated here.

   %F = fmul reassoc double %A, %B         ; <double> [#uses=1]
   %G = fmul reassoc double %C, %D         ; <double> [#uses=1]
   %H = fadd reassoc double %F, %G         ; <double> [#uses=1]
   %I = fsub reassoc double %H, %E         ; <double> [#uses=1]

Before https://reviews.llvm.org/D45710, `reassoc` flag actually
did not imply isContratable either.

The current implementation also only check the flag in fadd node,
ignoring fmul node, this patch update that as well.

Reviewed By: spatel, qiucf

Differential Revision: https://reviews.llvm.org/D104247
The file was modifiedllvm/test/CodeGen/AMDGPU/fmuladd.f32.ll
The file was modifiedllvm/test/CodeGen/PowerPC/register-pressure-reduction.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AArch64/fadd-combines.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-combine.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fmf-propagation.ll
The file was modifiedllvm/test/CodeGen/X86/machine-combiner.ll
The file was modifiedllvm/test/CodeGen/PowerPC/combine-fneg.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-aggr-FMF.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-precision.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-combiner.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fdiv.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-negate.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-mutate.ll
The file was modifiedllvm/test/CodeGen/X86/sqrt-fastmath.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fmuladd.f64.ll
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-assoc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fmuladd.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fmuladd.v2f16.ll
The file was modifiedllvm/test/CodeGen/PowerPC/repeated-fp-divisors.ll
Commit c618692218d16e88fa20df56b29a8dd09c9e9db7 by i
[AArch64][X86] Allow 64-bit label differences lower to IMAGE_REL_*_REL32

`IMAGE_REL_ARM64_REL64/IMAGE_REL_AMD64_REL64` do not exist and `.quad a - .` is
currently not representable.

For instrumentation, `.quad a - .` is useful representing a cross-section
reference in a metadata section, to allow ELF medium/large code models. The COFF
limitation makes such generic instrumentations inconvenient. I plan to make a
PGO/coverage metadata section field relative in D104556.

Differential Revision: https://reviews.llvm.org/D104564
The file was modifiedllvm/test/MC/COFF/cross-section-relative.s
The file was modifiedllvm/test/MC/COFF/cross-section-relative-err.s
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
The file was modifiedllvm/test/MC/AArch64/coff-relocations.s
Commit bf0d0671a1062aec973c14522d6accf0c438b92e by efriedma
[ARM] Make sure we don't transform unaligned store to stm on Thumb1.

This isn't likely to come up in practice; the combination of compiler
flags required to hit this issue should be rare. Found by inspection.
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb/ldm-stm-postinc.ll
Commit 8c68eb83065cc531fde28fc743a7278190f9eb65 by xur
[SampleFDO] Make FSDiscriminator flag part of function parameters

Add a parameter of IsFSDiscriminator to function
getBaseDiscriminatorFromDiscriminator().

This function currently checks the internal flag of
--enable-fs-discriminator. This is not good because we might
change the default value of the internal flag.

Note that we have a default parameter. This is just
because create_afdo_tool has a call-site to it.
I will remove the default parameter in a later patch.

Differential Revision: https://reviews.llvm.org/D104584
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
The file was modifiedllvm/tools/llvm-profgen/ProfiledBinary.cpp
Commit 759e7977679299296a0074bc3aba693d3386eb1c by browneee
[DFSan][NFC] Refactor Origin Address Alignment code.

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D104565
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
Commit 8ace12130526f450c822ca232d1f865b247d7434 by ndesaulniers
[IR] convert warn-stack-size from module flag to fn attr

Otherwise, this causes issues when building with LTO for object files
that use different values.

Link: https://github.com/ClangBuiltLinux/linux/issues/1395

Reviewed By: dblaikie, MaskRay

Differential Revision: https://reviews.llvm.org/D104342
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/CodeGen/ARM/warn-stack.ll
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was removedllvm/test/Linker/warn-stack-frame.ll
The file was addedllvm/test/Verifier/invalid-warn-stack-size.ll
The file was modifiedllvm/test/CodeGen/X86/warn-stack.ll
The file was addedclang/test/Frontend/fwarn-stack-size.c
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/include/llvm/IR/Module.h
The file was modifiedllvm/lib/IR/Module.cpp
Commit 4181bfe6888fdc6f24dc42d4ebb295920826de2b by gclayton
Clarify the "env" launch configuration setting.

A few users recently were trying to set environment values when using lldb-vscode and were unsure of the format of the "env" launch configuration setting. Clarify the exact format as when users add the "env" launch config setting, they can see this help string in the IDE.

Differential Revision: https://reviews.llvm.org/D104578
The file was modifiedlldb/tools/lldb-vscode/package.json
Commit ad1a9d629b759f43c8c1ea5d4c710c5c5b4b1e6b by rob.suderman
[mlir][tosa] Enable tosa.div for TosaMakeBroadcastable

TosaMakeBroadcastable needs to include tosa.div, which was added later in the
specification.

Reviewed By: sjarus, NatashaKnk

Differential Revision: https://reviews.llvm.org/D104157
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/TosaMakeBroadcastable.cpp