Changes

Summary

  1. Enable python tests on LLDB WoA buildbot (details)
Commit 305d747ad9910c6254e1cdc23655ef129355db23 by omair.javaid
Enable python tests on LLDB WoA buildbot
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [clang-tidy] Reject invalid enum initializers in C files (details)
  2. [libc++] Make to_chars base 10 header only. (details)
  3. [libc++][doc] Fixes unwanted list nesting. (details)
  4. [gn build] Port a15ae4139cea (details)
  5. [NFC][workflow] Fix issue where the workflow would say all PR's already exists (details)
  6. [LoongArch] Fix register type in FCMP_*_D instructions definition (details)
  7. [mlir][Arithmetic] Add constant folder for RemF. (details)
  8. [BOLT][UTILS] Add dot2html helper tool to embed dot into html (details)
  9. [BOLT][NFC] Print block instructions in dumpGraph as part of node label (details)
  10. [LoongArch] Add the missing ld.d instruction definition (details)
  11. [lldb, test]  Fix typos in the lldb tests (details)
  12. [BOLT][NFC] Use colors in CFG dumps (details)
  13. [IR] Enable opaque pointers by default (details)
  14. [IRTests] With opaque ptrs we can test that there is no bitcast inserted (details)
  15. [clang][dataflow] Add transfer functions for structured bindings (details)
  16. [clang-format] Handle do-while loops for RemoveBracesLLVM (details)
  17. [mlir][complex] Sanity check for tan operation in complex dialect (details)
  18. [llvm-ocaml] Add LLVMBuildCall2 binding (details)
  19. [mlir][complex] Lower complex.sin/cos to libm (details)
  20. [LegalizeTypes][VP] Add widen and split support for VP FP integer casting op. (details)
  21. [ARM] Add SEH opcodes in frame lowering (details)
  22. [ARM] Adjust the frame pointer when it's needed for SEH unwinding (details)
  23. [ARM] Implement lowering of the sponentry intrinsic (details)
  24. [clang] [ARM] Add __builtin_sponentry like on aarch64 (details)
  25. [analyzer][NFC] Move overconstrained check from reAssume to assumeDualImpl (details)
  26. [llvm-ocaml] Add and use opaque pointer compatible bindings (details)
Commit b418ef5cb90b32657dee46b068ac367787a8d2d6 by richard
[clang-tidy] Reject invalid enum initializers in C files

C requires that enum values fit into an int.  Scan the macro tokens
present in an initializing expression and reject macros that contain
tokens that have suffixes making them larger than int.

C forbids the comma operator in enum initializing expressions, so
optionally reject comma operator.

Differential Revision: https://reviews.llvm.org/D125622

Fixes #55467
The file was modifiedclang-tools-extra/clang-tidy/modernize/MacroToEnumCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/IntegralLiteralExpressionMatcher.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-macro-to-enum.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/modernize-macro-to-enum.c
The file was modifiedclang-tools-extra/clang-tidy/modernize/IntegralLiteralExpressionMatcher.h
The file was modifiedclang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp
Commit a15ae4139ceaa03c74089b727d91e39e772a94fb by koraq
[libc++] Make to_chars base 10 header only.

The functions to_chars and from_chars should offer 128-bit support. This
is the first step to implement 128-bit version of to_chars. Before
implementing 128-bit support the current code will be polished.

This moves the code from the dylib to the header in prepartion of

P2291 "Add Constexpr Modifiers to Functions to_chars and from_chars for
Integral Types in <charconv> Header"

Note some more cleanups will be done in follow-up commits
- Remove the _LIBCPP_AVAILABILITY_TO_CHARS from to_chars. With all code
  in the header the availablilty macro is no longer needed. This
  requires enabling the unit tests for additional platforms.
- The code in the dylib can switch to using the header implementation.
  This allows removing the code duplicated in the header and the dylib.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D125704
The file was addedlibcxx/include/__charconv/to_chars_base_10.h
The file was addedlibcxx/include/__charconv/tables.h
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp
The file was modifiedlibcxx/include/charconv
The file was modifiedlibcxx/src/charconv.cpp
The file was modifiedlibcxx/include/module.modulemap
The file was modifiedlibcxx/include/CMakeLists.txt
Commit b3d1142d09f17feacc74ee422375243e35bb32c8 by koraq
[libc++][doc] Fixes unwanted list nesting.
The file was modifiedlibcxx/docs/ReleaseNotes.rst
Commit 11d8bc98d1bba2e1194dc65f70a21ca2d113ff01 by llvmgnsyncbot
[gn build] Port a15ae4139cea
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit fde9ef5214dcc40afbf480e9cce4a3517544ee18 by tobias
[NFC][workflow] Fix issue where the workflow would say all PR's already exists
The file was modifiedllvm/utils/git/github-automation.py
Commit 8a1250f958cfa53cf104f1d5359f086b4e01286a by luweining
[LoongArch] Fix register type in FCMP_*_D instructions definition

The correct type is FPR64 but not FPR32.
The file was modifiedllvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
Commit 19e285477ed818ebe6b8a8749a37fc8dd6f4be19 by jacquesguan
[mlir][Arithmetic] Add constant folder for RemF.

This patch adds the constant folder for RemF.

Differential Revision: https://reviews.llvm.org/D126045
The file was modifiedmlir/test/Dialect/Arithmetic/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td
Commit 51c20e5804a2371aeade317038db85affa8d9a38 by aaupov
[BOLT][UTILS] Add dot2html helper tool to embed dot into html

To be rendered in browser using d3-graphviz.
Example: {F23169510}

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D126218
The file was addedbolt/utils/dot2html/d3-graphviz-template.html
The file was addedbolt/utils/dot2html/dot2html.py
Commit cc23c64ff1af8ed4cc4ca60dc62208df3963285d by aaupov
[BOLT][NFC] Print block instructions in dumpGraph as part of node label

Reuse the option `-dot-tooltip-code` to put block instructions into the label.
This way, the instructions are displayed by default when used with dot viewer.

When the .dot file is used with dot2html, instructions are hidden by default,
and are shown by clicking on a node.

{F23169510}

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D126237
The file was modifiedbolt/lib/Core/BinaryFunction.cpp
Commit cfeacec833f25cfb3ea52eec4e0a9930e3194d3f by luweining
[LoongArch] Add the missing ld.d instruction definition
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.td
The file was modifiedllvm/test/MC/LoongArch/Basic/Integer/invalid64.s
The file was modifiedllvm/test/MC/LoongArch/Basic/Integer/memory.s
Commit c6ad6901734f8fa7c1ecd3aeb7de651b07ab21a6 by VenkataRamanaiah.Nalamothu
[lldb, test]  Fix typos in the lldb tests

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D126596
The file was modifiedlldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py
The file was modifiedlldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py
The file was modifiedlldb/test/API/lang/cpp/dynamic-value-same-basename/TestDynamicValueSameBase.py
The file was modifiedlldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
The file was modifiedlldb/test/API/functionalities/history/TestHistoryRecall.py
The file was modifiedlldb/test/API/commands/frame/language/TestGuessLanguage.py
The file was modifiedlldb/test/API/commands/expression/dont_allow_jit/TestAllowJIT.py
The file was modifiedlldb/test/API/commands/target/stop-hooks/TestStopHooks.py
The file was modifiedlldb/test/API/commands/frame/var/TestFrameVar.py
The file was modifiedlldb/test/API/sample_test/TestSampleTest.py
The file was modifiedlldb/test/API/functionalities/var_path/TestVarPath.py
The file was modifiedlldb/test/API/lang/c/find_struct_type/TestFindStructTypes.py
The file was modifiedlldb/test/API/macosx/version_zero/TestGetVersionZeroVersion.py
Commit 6333e5dde9872ae56d7979432a76f83cf7ac6820 by aaupov
[BOLT][NFC] Use colors in CFG dumps

Use color coding to distinguish nodes:
- Entry nodes have bold border
- Scalar (non-loopy) code is milk white
- Outer loops are light yellow
- Innermost loops are light blue

`-print-loops` needs to be enabled to provide BinaryLoopInfo.
Examples:
{F23170673}
{F23170680}

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D126248
The file was modifiedbolt/lib/Rewrite/RewriteInstance.cpp
The file was modifiedbolt/lib/Core/BinaryFunction.cpp
Commit 41d5033eb162cb92b684855166cabfa3983b74c6 by npopov
[IR] Enable opaque pointers by default

This enabled opaque pointers by default in LLVM. The effect of this
is twofold:

* If IR that contains *neither* explicit ptr nor %T* types is passed
  to tools, we will now use opaque pointer mode, unless
  -opaque-pointers=0 has been explicitly passed.
* Users of LLVM as a library will now default to opaque pointers.
  It is possible to opt-out by calling setOpaquePointers(false) on
  LLVMContext.

A cmake option to toggle this default will not be provided. Frontends
or other tools that want to (temporarily) keep using typed pointers
should disable opaque pointers via LLVMContext.

Differential Revision: https://reviews.llvm.org/D126689
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/preselect-process-phis.mir
The file was modifiedllvm/test/CodeGen/SystemZ/regcoal-undef-lane-4-rm-cp-commuting-def.mir
The file was modifiedllvm/test/Transforms/LowerTypeTests/export-inline.ll
The file was modifiedllvm/test/Transforms/LowerTypeTests/export-single.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_64.ll
The file was modifiedllvm/test/Transforms/Util/add-TLI-mappings.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/select.ll
The file was modifiedllvm/test/Transforms/LowerTypeTests/export-allones.ll
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/odr-check-ignore.ll
The file was modifiedmlir/test/Target/LLVMIR/llvmir-types.mlir
The file was modifiedllvm/test/Transforms/GCOVProfiling/function-numbering.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/PartialInlineVarArgsDebug.ll
The file was modifiedpolly/test/CodeGen/non-affine-region-implicit-store.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/inline-8bit-counters.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-divrem.mir
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/X86/vararg-too-large.ll
The file was modifiedllvm/test/ThinLTO/X86/globals-import-const-fold.ll
The file was modifiedllvm/test/Transforms/FunctionImport/funcimport_alias.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fmf-propagation.ll
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
The file was modifiedllvm/test/ThinLTO/X86/deadstrip.ll
The file was modifiedpolly/test/CodeGen/non-affine-exit-node-dominance.ll
The file was modifiedllvm/test/Linker/funcimport.ll
The file was modifiedllvm/test/Instrumentation/JustMyCode/jmc-instrument-elf.ll
The file was modifiedllvm/test/Transforms/IROutliner/phi-node-exit-path-order.ll
The file was modifiedmlir/test/Target/LLVMIR/openacc-llvm.mlir
The file was modifiedmlir/test/Target/LLVMIR/llvmir.mlir
The file was modifiedllvm/test/Transforms/LowerTypeTests/export-alias.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/bmi.ll
The file was modifiedllvm/test/ThinLTO/X86/personality-local.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-flat-load-store.mir
The file was modifiedllvm/test/Transforms/HotColdSplit/phi-with-distinct-outlined-values.ll
The file was modifiedllvm/test/Verifier/jumptable.ll
The file was modifiedllvm/test/Transforms/PGOProfile/counter_promo.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/simplifycfg-late.ll
The file was modifiedllvm/test/Linker/ctors2.ll
The file was modifiedllvm/test/ThinLTO/X86/weak_globals_import.ll
The file was modifiedllvm/test/ThinLTO/X86/funcimport-debug.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_call.ll
The file was modifiedllvm/test/Linker/comdat-any.ll
The file was modifiedllvm/test/Transforms/IROutliner/different-order-phi-merges.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-flat-with-global-load-store.mir
The file was modifiedllvm/test/Linker/2008-07-06-AliasWeakDest.ll
The file was modifiedllvm/test/Verifier/llvm.used-invalid-type.ll
The file was modifiedclang/test/Driver/clang-offload-wrapper.c
The file was modifiedllvm/test/Transforms/FunctionImport/funcimport.ll
The file was modifiedllvm/test/Transforms/IROutliner/no-external-block-entries.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-ldst.ll
The file was modifiedllvm/test/Instrumentation/JustMyCode/jmc-instrument-x86.ll
The file was modifiedllvm/unittests/IR/ValueTest.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/combine-shift-immed-mismatch-crash.mir
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/funcimport.ll
The file was modifiedmlir/test/Target/LLVMIR/nvvmir.mlir
The file was modifiedmlir/test/Target/LLVMIR/openmp-nested.mlir
The file was modifiedllvm/docs/OpaquePointers.rst
The file was modifiedllvm/test/Transforms/IROutliner/exit-block-phi-node-value-attribution.ll
The file was modifiedmlir/test/Target/LLVMIR/amx.mlir
The file was modifiedllvm/test/Bindings/llvm-c/globals.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_phi.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/array_types.ll
The file was modifiedllvm/test/Instrumentation/HWAddressSanitizer/X86/globals.ll
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/deopt-lowering-attrs.ll
The file was modifiedpolly/test/CodeGen/out-of-scop-phi-node-use.ll
The file was modifiedclang/test/Driver/linker-wrapper-image.c
The file was modifiedllvm/test/Verifier/get-active-lane-mask.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/SystemZ/vararg-kernel.ll
The file was modifiedllvm/test/Transforms/GCOVProfiling/atomic-counter.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/import-ro-constant-bar.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/switch-table-bug.ll
The file was modifiedllvm/lib/IR/LLVMContextImpl.cpp
The file was modifiedllvm/test/Transforms/LowerTypeTests/export-icall.ll
The file was modifiedllvm/test/Transforms/PGOProfile/loop1.ll
The file was modifiedllvm/test/Transforms/PGOProfile/instr_entry_bb.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll
The file was modifiedllvm/unittests/IR/TypesTest.cpp
The file was modifiedllvm/test/Transforms/NewGVN/pr42422-phi-of-ops.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-static.mir
The file was modifiedllvm/test/CodeGen/X86/bug47278.mir
The file was modifiedllvm/test/Transforms/LowerTypeTests/pr37625.ll
The file was modifiedllvm/test/Transforms/PGOProfile/branch1.ll
The file was modifiedllvm/test/Transforms/PGOProfile/single_bb.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/origin_select.ll
The file was modifiedllvm/test/Linker/AppendingLinkage.ll
The file was modifiedllvm/test/Transforms/PGOProfile/loop2.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll
The file was modifiedllvm/test/tools/llvm-link/archive-only-needed.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/missing_origin.ll
The file was modifiedllvm/test/Verifier/llvm.used-invalid-type2.ll
The file was modifiedllvm/test/tools/llvm-extract/extract-blocks-with-groups.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
The file was modifiedmlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/test/Linker/Inputs/2003-01-30-LinkerRename.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coff-comdat.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/module_asm.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-globals-ropi-rwpi.mir
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/call-gc-result.ll
The file was modifiedllvm/test/Linker/wrong-addrspace-gv-declaration.ll
The file was modifiedllvm/test/Transforms/IROutliner/one-external-incoming-block-phi-node.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/phi.ll
The file was modifiedllvm/test/Instrumentation/InstrOrderFile/basic.ll
The file was modifiedllvm/test/Transforms/PGOProfile/preinline.ll
The file was modifiedllvm/test/Transforms/IROutliner/duplicate-merging-phis.ll
The file was modifiedllvm/test/Assembler/comment.ll
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
The file was modifiedllvm/test/Transforms/BlockExtractor/extract-blocks-with-groups.ll
The file was modifiedllvm/test/Transforms/PGOProfile/branch2.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-ropi-rwpi.mir
The file was modifiedllvm/test/Linker/2008-07-06-AliasFnDecl.ll
The file was modifiedllvm/test/Linker/Inputs/only-needed-debug-metadata.ll
The file was modifiedllvm/test/Instrumentation/JustMyCode/jmc-instrument.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/abs-vector.ll
The file was modifiedpolly/test/CodeGen/synthesizable_phi_write_after_loop.ll
The file was modifiedclang/test/CodeGen/thinlto_backend.ll
The file was modifiedllvm/test/Assembler/invalid-vecreduce.ll
The file was modifiedllvm/test/Linker/alias-2.ll
The file was modifiedllvm/test/Linker/2003-01-30-LinkerRename.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll
The file was modifiedmlir/test/Target/LLVMIR/openmp-llvm.mlir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-globals-static.mir
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/clmul.ll
The file was modifiedllvm/test/Linker/ctors3.ll
The file was modifiedmlir/test/Target/LLVMIR/openmp-reduction.mlir
The file was modifiedllvm/test/Verifier/byval-1.ll
The file was modifiedclang/test/CodeGenCUDA/amdgpu-asan.cu
The file was modifiedllvm/test/Linker/Inputs/pr26037.ll
The file was modifiedllvm/test/Transforms/IROutliner/exit-phi-nodes-incoming-value-constant-argument.ll
The file was modifiedllvm/test/Transforms/NewGVN/phi-of-ops-simplified-to-existing-value-then-changes-again.ll
The file was modifiedllvm/test/Verifier/llvm.compiler_used-invalid-type.ll
The file was modifiedllvm/unittests/IR/VerifierTest.cpp
The file was modifiedllvm/test/Verifier/metadata-function-dbg.ll
The file was modifiedllvm/test/ThinLTO/X86/import-dsolocal.ll
The file was modifiedllvm/test/CodeGen/MIR/Generic/aligned-memoperands.mir
The file was modifiedllvm/test/Transforms/RewriteStatepointsForGC/deopt-intrinsic-cconv.ll
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper2.ll
The file was modifiedllvm/test/Transforms/HotColdSplit/split-phis-in-exit-blocks.ll
The file was modifiedllvm/test/Linker/ifunc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-global-load-store.mir
The file was modifiedpolly/test/ScopInfo/out-of-scop-use-in-region-entry-phi-node-nonaffine-subregion.ll
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/no-globals.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/shadow-args-zext.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-comdat.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/rangereduce.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/PartialInlineDebug.ll
The file was modifiedllvm/test/Transforms/GCOVProfiling/noprofile.ll
The file was modifiedllvm/test/Transforms/PGOProfile/criticaledge.ll
The file was modifiedllvm/test/CodeGen/AArch64/stp-opt-with-renaming-undef-assert.mir
The file was modifiedllvm/test/ThinLTO/X86/import-ro-constant.ll
The file was modifiedllvm/test/ThinLTO/X86/referenced_by_constant.ll
The file was modifiedllvm/test/Transforms/LowerTypeTests/export-bytearray.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/funnel_shift.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_32.ll
The file was modifiedllvm/test/Transforms/PGOProfile/switch.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/switch-tracing.ll
The file was modifiedllvm/test/CodeGen/Mips/cstmaterialization/isel-materialization.ll
The file was modifiedllvm/test/ThinLTO/X86/autoupgrade.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/PartialInlineAttributes.ll
The file was modifiedmlir/test/Target/LLVMIR/arm-sve.mlir
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
The file was modifiedllvm/test/CodeGen/AArch64/taildup-inst-dup-loc.mir
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/inline-bool-flag.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/arith.ll
The file was modifiedllvm/test/Transforms/GCOVProfiling/reset.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-full-lto.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll
The file was modifiedllvm/test/Linker/alias-threadlocal.ll
Commit 5b2a7348b7e7de1ebfabb6df2cbf98c938172e8b by benny.kra
[IRTests] With opaque ptrs we can test that there is no bitcast inserted
The file was modifiedllvm/unittests/IR/ValueTest.cpp
Commit 0e286b77cf7bebca568b60ac81c1717291040bc3 by sgatev
[clang][dataflow] Add transfer functions for structured bindings

This is part of the implementation of the dataflow analysis framework.
See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev.

Differential Revision: https://reviews.llvm.org/D120495

Reviewed-by: ymandel, xazax.hun
The file was modifiedclang/unittests/Analysis/FlowSensitive/TransferTest.cpp
The file was modifiedclang/lib/Analysis/FlowSensitive/Transfer.cpp
Commit db15e31212436ae51c04e8b5fcc2f140db4d6626 by owenca
[clang-format] Handle do-while loops for RemoveBracesLLVM

Also updates the unit tests to match the updated LLVM Coding
Standards.

Differential Revision: https://reviews.llvm.org/D126758
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.h
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
Commit 4b13b061ae53e84fcfb1dd7d2d5e87ca80c4ca6f by pifon
[mlir][complex] Sanity check for tan operation in complex dialect

Add a sanity check for newly added tan operation in complex dialect. It follows-up to https://reviews.llvm.org/D126685.

Differential Revision: https://reviews.llvm.org/D126858
The file was modifiedmlir/test/Dialect/Complex/ops.mlir
Commit 3ed6fc9a697e59efbb2ed7bb3f029ca0c312924a by npopov
[llvm-ocaml] Add LLVMBuildCall2 binding

Add binding for the opaque pointer compatible LLVMBuildCall2
API and use it in tests.
The file was modifiedllvm/bindings/ocaml/llvm/llvm_ocaml.c
The file was modifiedllvm/test/Bindings/OCaml/ipo.ml
The file was modifiedllvm/test/Bindings/OCaml/debuginfo.ml
The file was modifiedllvm/test/Bindings/OCaml/executionengine.ml
The file was modifiedllvm/test/Bindings/OCaml/core.ml
The file was modifiedllvm/bindings/ocaml/llvm/llvm.ml
The file was modifiedllvm/bindings/ocaml/llvm/llvm.mli
Commit 9f0869a61dc8d8227956b56cdb0c5c877bb8718a by pifon
[mlir][complex] Lower complex.sin/cos to libm

Lower sin/cos operation in complex dialect to libm as a baseline. This follows up to https://reviews.llvm.org/D125550.

Reviewed By: pifon2a

Differential Revision: https://reviews.llvm.org/D126755
The file was modifiedmlir/test/Conversion/ComplexToLibm/convert-to-libm.mlir
The file was modifiedmlir/lib/Conversion/ComplexToLibm/ComplexToLibm.cpp
Commit 5482ae632895c1b4647724f87b22188c2efb03d6 by jacquesguan
[LegalizeTypes][VP] Add widen and split support for VP FP integer casting op.

This patch adds widen and split support for VP_FPTOSI, VP_FPTOUI, VP_SITOFP and VP_UITOFP.

Differential Revision: https://reviews.llvm.org/D126847
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfptosi-vp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fptoui-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsitofp-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfptoui-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vuitofp-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-sitofp-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fptosi-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-uitofp-vp.ll
Commit d8e67c1cccd8fcb62230166caea744592288da17 by martin
[ARM] Add SEH opcodes in frame lowering

Skip inserting regular CFI instructions if using WinCFI.

This is based a fair amount on the corresponding ARM64 implementation,
but instead of trying to insert the SEH opcodes one by one where
we generate other prolog/epilog instructions, we try to walk over the
whole prolog/epilog range and insert them. This is done because in
many cases, the exact number of instructions inserted is abstracted
away deeper.

For some cases, we manually insert specific SEH opcodes directly where
instructions are generated, where the automatic mapping of instructions
to SEH opcodes doesn't hold up (e.g. for __chkstk stack probes).

Skip Thumb2SizeReduction for SEH prologs/epilogs, and force
tail calls to wide instructions (just like on MachO), to make sure
that the unwind info actually matches the width of the final
instructions, without heuristics about what later passes will do.

Mark SEH instructions as scheduling boundaries, to make sure that they
aren't reordered away from the instruction they describe by
PostRAScheduler.

Mark the SEH instructions with the NoMerge flag, to avoid doing
tail merging of functions that have multiple epilogs that all end
with the same sequence of "b <other>; .seh_nop_w, .seh_endepilogue".

Differential Revision: https://reviews.llvm.org/D125648
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was addedllvm/test/CodeGen/ARM/Windows/wineh-opcodes.ll
The file was modifiedllvm/test/DebugInfo/COFF/ARMNT/arm-register-variables.ll
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was addedllvm/test/CodeGen/ARM/Windows/wineh-tailmerge.ll
The file was modifiedllvm/test/CodeGen/ARM/Windows/dllimport.ll
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
The file was modifiedllvm/lib/Target/ARM/Thumb2SizeReduction.cpp
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
Commit 2ab19bfa4125d803c16e60b5df4df9d03838e0ea by martin
[ARM] Adjust the frame pointer when it's needed for SEH unwinding

For functions that require restoring SP from FP (e.g. that need to
align the stack, or that have variable sized allocations), the prologue
and epilogue previously used to look like this:

    push {r4-r5, r11, lr}
    add r11, sp, #8
    ...
    sub r4, r11, #8
    mov sp, r4
    pop {r4-r5, r11, pc}

This is problematic, because this unwinding operation (restoring sp
from r11 - offset) can't be expressed with the SEH unwind opcodes
(probably because this unwind procedure doesn't map exactly to
individual instructions; note the detour via r4 in the epilogue too).

To make unwinding work, the GPR push is split into two; the first one
pushing all other registers, and the second one pushing r11+lr, so that
r11 can be set pointing at this spot on the stack:

    push {r4-r5}
    push {r11, lr}
    mov r11, sp
    ...
    mov sp, r11
    pop {r11, lr}
    pop {r4-r5}
    bx lr

For the same setup, MSVC generates code that uses two registers;
r11 still pointing at the {r11,lr} pair, but a separate register
used for restoring the stack at the end:

    push {r4-r5, r7, r11, lr}
    add r11, sp, #12
    mov r7, sp
    ...
    mov sp, r7
    pop {r4-r5, r7, r11, pc}

For cases with clobbered float/vector registers, they are pushed
after the GPRs, before the {r11,lr} pair.

Differential Revision: https://reviews.llvm.org/D125649
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
The file was addedllvm/test/CodeGen/ARM/Windows/wineh-framepointer.ll
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/Target/ARM/ARMCallingConv.td
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
Commit 668bb96379fef1bfa85da699c681265053673987 by martin
[ARM] Implement lowering of the sponentry intrinsic

This is needed for SEH based setjmp on Windows.

Differential Revision: https://reviews.llvm.org/D126763
The file was modifiedllvm/docs/LangRef.rst
The file was addedllvm/test/CodeGen/ARM/sponentry.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
Commit f730749e8584fe7ea3927d0359f20d167d281e80 by martin
[clang] [ARM] Add __builtin_sponentry like on aarch64

This is used for calling the SEH aware setjmp on MinGW.

Differential Revision: https://reviews.llvm.org/D126764
The file was modifiedclang/include/clang/Basic/BuiltinsARM.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/builtin-sponentry.c
Commit 81e44414aa925f5dcaf05ef658d1bffd8937ef4c by gabor.marton
[analyzer][NFC] Move overconstrained check from reAssume to assumeDualImpl

Depends on D126406. Checking of the overconstrained property is much
better suited here.

Differential Revision: https://reviews.llvm.org/D126707
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ConstraintManager.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
Commit 42358b686cfd7394a453cc9c86680376adc7f208 by npopov
[llvm-ocaml] Add and use opaque pointer compatible bindings

Add bindings for LLVMConstGEP2, LLVMAddAlias2, LLVMBuildLoad2,
LLVMBuildInvoke2, LLVMBuildGEP2, LLVMBuildInBoundsGEP2,
LLVMBuildStructGEP2, LLVMBuildPtrDiff2 and use these in tests.
The file was modifiedllvm/bindings/ocaml/llvm/llvm_ocaml.c
The file was modifiedllvm/bindings/ocaml/llvm/llvm.mli
The file was modifiedllvm/test/Bindings/OCaml/core.ml
The file was modifiedllvm/bindings/ocaml/llvm/llvm.ml