SuccessChanges

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

Summary

  1. [libc++] Fix broken Lit features based on __config_site macros (details)
  2. [X86] getFauxShuffle - remove (unused) ISD::TRUNCATE shuffle decoding. (details)
  3. [X86] Use getConstantOperandVal helper in a few places. NFC. (details)
  4. [Clang][BPF] implement __builtin_btf_type_id() builtin function (details)
  5. [x86][NFC] Apply clang-format to X86ISelLowering.h (details)
  6. [X86] Move expansion of MASKPAIR16LOAD and MASKPAIR16STORE from X86MCInstLower to X86ExpandPseudo. (details)
  7. [libc++] Do not rely on use_system_cxx_lib to specify the path of the library to run against (details)
  8. [x86][CGP] add more tests for PR37426; NFC (details)
  9. [IR] Trivial cleanups in Use. NFC. (details)
  10. [X86] Remove some duplicate ConstantSDNode casts. NFC. (details)
  11. [MLIR] Allow unreachable blocks to violate dominance property. (details)
  12. [IR] Convert null-pointer-is-valid into an enum attribute (details)
  13. Fixed arm build bot failure after ab699d78a26f (details)
  14. [WebAssembly] Fixed debugloc in DebugFixup pass (details)
  15. [mlir] Fix incorrect indexing of subview in DimOp folding. (details)
  16. [WebAssembly] Update latest implemented SIMD instructions (details)
  17. [libc++] Remove workaround for DYLD_LIBRARY_PATH being passed to the compiler (details)
  18. Fixed arm build bot failure after 4042ada1c1fe (details)
  19. [mlir] [VectorOps] Implement vector.create_mask lowering to LLVM IR (details)
  20. [ELF] Enforce two dashes for Flag options not supported by GNU ld (i.e. no compatibility burden) (details)
  21. [libc] Consolidate floating point utils into a single utils library. (details)
  22. [libc++] Do not set the runtime library path with DYLD_LIBRARY_PATH (details)
  23. [libc] Add implementation of fabs and fabsf. (details)
  24. [libc++] Remove -ftemplate-depth when running tests (details)
  25. [compiler-rt][CMAKE] Only add cmake link flags in standalone build (details)
  26. [NFC] Whitespace fix inside OptParserEmitter (details)
  27. IR: Remove extra name mangling from llvm.ptrmask (details)
  28. [SVE] Restore broken LLVM-C ABI compatability (details)
  29. [AArch64][SVE] Implement AArch64ISD::SETCC_PRED (details)
  30. [LLD][ELF] Use offset in thin archives to disambiguate thinLTO members (details)
  31. [WebAssembly] Optimize splats of bitcasted vectors (details)
  32. [NFC] Deduplicate comment in PromoteMemoryToRegister.cpp (details)
  33. [clang][slh] Add test for SLH feature checking macro (details)
  34. StoreInst should store Align, not MaybeAlign (details)
  35. Revert "Revert "[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs"" (details)
  36. [SVE] Remove usages of VectorType::getNumElements() from PowerPC (details)
  37. [libc] Move implementations of expf and exp2f from the AOR to src/math. (details)
  38. [SVE] Remove usages of VectorType::getNumElements() from ARM (details)
  39. [clang-format] [PR44345] Long namespace closing comment is duplicated endlessly (details)
  40. [lldb/Dataformatter] Add support to CF{Dictionary,Set}Ref types (details)
  41. [lldb/Commands] Add ability to run shell command on the host. (details)
  42. [gn build] Put HAVE_LIBZ and HAVE_ZLIB_H behind llvm_enable_zlib too. (details)
  43. [NFC,StackSafety] Rename local function (details)
  44. [CMake] -gen-dag-isel: add -omit-comments if neither Debug nor RelWithDebInfo (details)
  45. [MLIR] LinalgToStandard: use LINK_LIBS rather than target_link_libraries. (details)
  46. [tests][Driver] Set `--sysroot=""` to allow `DEFAULT_SYSROOT` build (details)
  47. [test][ARM][CMSE] Use clang_cc1 in arm_cmse.h tests (details)
  48. [CMake][AIX] Add `-bcdtors:mbr` option when building with IBM XL (details)
  49. [MLIR] Update intrinsic test, because ptrmask changed. (details)
  50. [MLIR] Continue renaming of "SideEffects" (details)
  51. [MLIR][cmake] refactor lib/Interfaces/CMakeLists.txt (details)
  52. [MLIR] Move JitRunner to live with ExecutionEngine (details)
  53. unwind: fix unwind build without heap (details)
  54. [ARM] Change more triples to arm-none-none-eabi. NFC (details)
  55. Fix polly tests after D79968. (details)
  56. Cleanup some test issues: (details)
  57. Fix flang build after mlir SideEffects.h -> SideEffectInterfaces.h change. (details)
  58. [test] Improve FileCheck's numeric-expression.txt (details)
  59. Prevent register coalescing in functions whith setjmp (details)
  60. Fix go bindings after FixedVectorType -> VectorType change. (details)
  61. [clang-tidy] Transformer checks now store IncludeStyle option (details)
Commit 1a68b5f048c63f94b71e8aacb5507445c446c9d2 by Louis Dionne
[libc++] Fix broken Lit features based on __config_site macros

Because of Python's funny scoping rules with lambdas, we were always
using the value of `macro` as set in the last iteration of the loop.
This problem was introduced by e7bdfba4f00d.
The file was modifiedlibcxx/utils/libcxx/test/features.py
Commit 4580b0f5b65c18b3029ca0936762dcec727274c4 by llvm-dev
[X86] getFauxShuffle - remove (unused) ISD::TRUNCATE shuffle decoding.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9825d3daa80c19872326d8e137ada39a1727cfe8 by llvm-dev
[X86] Use getConstantOperandVal helper in a few places. NFC.

Avoid raw cast<ConstantSDNode> calls.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 072cde03aaa13a2c57acf62d79876bf79aa1919f by yhs
[Clang][BPF] implement __builtin_btf_type_id() builtin function

Such a builtin function is mostly useful to preserve btf type id
for non-global data. For example,
   extern void foo(..., void *data, int size);
   int test(...) {
     struct t { int a; int b; int c; } d;
     d.a = ...; d.b = ...; d.c = ...;
     foo(..., &d, sizeof(d));
   }

The function "foo" in the above only see raw data and does not
know what type of the data is. In certain cases, e.g., logging,
the additional type information will help pretty print.

This patch implemented a BPF specific builtin
  u32 btf_type_id = __builtin_btf_type_id(param, flag)
which will return a btf type id for the "param".
flag == 0 will indicate a BTF local relocation,
which means btf type_id only adjusted when bpf program BTF changes.
flag == 1 will indicate a BTF remote relocation,
which means btf type_id is adjusted against linux kernel or
future other entities.

Differential Revision: https://reviews.llvm.org/D74668
The file was modifiedclang/include/clang/Basic/BuiltinsBPF.def
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was addedclang/test/Sema/builtin-bpf-btf-type-id.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CodeGen/builtin-bpf-btf-type-id.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsBPF.td
Commit da30c3796aee4c0955babe65f567472c5c24ffa3 by a.v.lapshin
[x86][NFC] Apply clang-format to X86ISelLowering.h

Summary:
  Apply clang-format to X86ISelLowering.h

Reviewed by: aeubanks

Differential Revision: https://reviews.llvm.org/D80005
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
Commit e288e243769d58e817f1ad5442dcdad3d199899b by craig.topper
[X86] Move expansion of MASKPAIR16LOAD and MASKPAIR16STORE from X86MCInstLower to X86ExpandPseudo.

It makes more sense to turn these into real instructions
a little earlier in the pipeline.

I've made sure to adjust the memoperand so the spill/reload
comments are printed correctly.
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp
The file was modifiedllvm/test/CodeGen/X86/vp2intersect_multiple_pairs.ll
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
Commit 21b0ec2fc6e17a0ba3921ed8146b7d410ce250c9 by Louis Dionne
[libc++] Do not rely on use_system_cxx_lib to specify the path of the library to run against

This is already handled by setting cxx_runtime_root instead -- I don't
see a reason to have two ways of setting the runtime path of the library
we're running against.
The file was modifiedlibcxx/docs/TestingLibcxx.rst
The file was modifiedlibcxx/utils/libcxx/test/target_info.py
The file was modifiedlibcxx/utils/ci/macos-backdeployment.sh
The file was modifiedlibcxx/docs/DesignDocs/AvailabilityMarkup.rst
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit dfb99e1a28f4968516df7678481ab963ca73f8c3 by spatel
[x86][CGP] add more tests for PR37426; NFC

This broke when we started canonicalizing more code to funnel shift.
See D79718 and D79827 for related test/transforms.
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/vec-shift.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-256.ll
Commit 91ef7cb508b66ad937d2357e155be2c7850490b9 by jay.foad
[IR] Trivial cleanups in Use. NFC.

Remove Use::setPrev. It provided no value because it had the same
accessibility as the underlying field Prev, and there was no
corresponding setNext anyway.

Simplify Use::removeFromList.
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/include/llvm/IR/Value.h
The file was modifiedllvm/include/llvm/IR/Use.h
Commit 330b7491d573c0357a07b7ed21f30af167ce5d8a by llvm-dev
[X86] Remove some duplicate ConstantSDNode casts. NFC.

Avoid repeated isa<> and cast<> by just performing a dyn_cast<ConstantSDNode>
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9de4ee3815db2b49960e931bcc3c0cc6a28ad0de by stephen.neuendorffer
[MLIR] Allow unreachable blocks to violate dominance property.

It is possible for optimizations to create SSA code which violates
the dominance property in unreachable blocks.  Equivalently, dominance
computed using normal mechanisms is undefined in unreachable blocks.

See discussion here: https://llvm.discourse.group/t/rfc-allowing-dialects-to-relax-the-ssa-dominance-condition/833/51

This patch only checks the dominance condition inside blocks which are
reachable from the the entry block of their region.  Note that the
dominance conditions of regions contained in an unreachable block are
still checked.

Differential Revision: https://reviews.llvm.org/D79922
The file was modifiedmlir/include/mlir/IR/Dominance.h
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/lib/IR/Verifier.cpp
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/lib/IR/Dominance.cpp
Commit f89f7da999f362e4213c69923328dd1033276e59 by nikita.ppv
[IR] Convert null-pointer-is-valid into an enum attribute

The "null-pointer-is-valid" attribute needs to be checked by many
pointer-related combines. To make the check more efficient, convert
it from a string into an enum attribute.

In the future, this attribute may be replaced with data layout
properties.

Differential Revision: https://reviews.llvm.org/D78862
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-1.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/MallocSROA-section-no-null-opt.ll
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/test/Transforms/LoopIdiom/pr28196.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-4.ll
The file was modifiedllvm/test/Transforms/InstCombine/memcpy-addrspace.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/PR26044.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-3-no-null-opt.ll
The file was modifiedllvm/test/Transforms/Inline/attributes.ll
The file was modifiedllvm/test/Transforms/InstCombine/strchr-1.ll
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/test/Transforms/InstCombine/strrchr-1.ll
The file was modifiedllvm/test/Transforms/GVN/PRE/2018-06-08-pre-load-dbgloc-no-null-opt.ll
The file was modifiedllvm/test/Transforms/InstCombine/memchr.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-2-no-null-opt.ll
The file was modifiedllvm/test/Transforms/InstCombine/load.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-phi-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/load-store-global-no-null-opt.ll
The file was modifiedclang/test/CodeGen/delete-null-pointer-checks.c
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
The file was modifiedllvm/test/Transforms/InstSimplify/compare.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-2.ll
The file was modifiedllvm/include/llvm/IR/AutoUpgrade.h
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Bitcode/attributes.ll
The file was modifiedllvm/test/Transforms/InstCombine/strncat-2.ll
The file was modifiedllvm/test/Transforms/InstCombine/invoke.ll
The file was modifiedllvm/test/Transforms/InstCombine/strncmp-1.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-phi.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
The file was modifiedllvm/test/Transforms/Attributor/undefined_behavior.ll
The file was modifiedllvm/test/Transforms/InstCombine/memrchr.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-no-null-opt.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcpy_chk-64.ll
The file was modifiedllvm/test/Transforms/InstCombine/store.ll
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/test/Transforms/InstCombine/mem-deref-bytes.ll
The file was modifiedllvm/test/Transforms/InstCombine/strlen-1.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-3.ll
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-2-no-null-opt.ll
The file was modifiedllvm/test/Transforms/InstCombine/wcslen-1.ll
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/non-null.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-4-no-null-opt.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nocapture.ll
The file was modifiedllvm/test/Transforms/LoopVersioning/lcssa.ll
The file was modifiedllvm/include/llvm/IR/Attributes.td
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
The file was modifiedllvm/test/Transforms/InstCombine/memcpy-from-global.ll
The file was modifiedllvm/test/Transforms/InstCombine/strstr-1.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-1-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/trap-no-null-opt-debugloc.ll
The file was modifiedllvm/test/Transforms/Attributor/nocapture-1.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-1-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/phi-undef-loadstore.ll
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Analysis/ValueTracking/assume.ll
The file was modifiedllvm/test/Transforms/InstCombine/atomic.ll
The file was modifiedllvm/test/Transforms/InstCombine/invariant.group.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-compare-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-1.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-2.ll
The file was modifiedllvm/test/Transforms/Util/assume-builder.ll
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/invoke.ll
The file was modifiedmlir/test/Target/llvmir.mlir
The file was modifiedllvm/test/Transforms/Attributor/norecurse.ll
The file was modifiedllvm/test/Analysis/MemorySSA/cyclicphi.ll
Commit 2c81508728168f119023cc697300d3ca7489b3d2 by SourabhSingh.Tomar
Fixed arm build bot failure after ab699d78a26f

This fixes bot failure seen in
http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l/builds/7378
by adding `REQUIRES: x86_64-linux` to the test case
The file was modifiedllvm/test/DebugInfo/dwarfdump-pushobjectaddress.ll
Commit 62efd1eca2011258f6e784d529c076770a76f3a6 by aardappel
[WebAssembly] Fixed debugloc in DebugFixup pass

BuildMI requires this debug loc to be from the same sub program as the variable metadata passed in.

Differential Revision:  https://reviews.llvm.org/D80019
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
Commit 8b78c50e82db0a21c0c9e3ca9635625f29889ea6 by ntv
[mlir] Fix incorrect indexing of subview in DimOp folding.

DimOp folding is using bare accesses to underlying SubViewOp operands.
This is generally incorrect and is fixed in this revision.

Differential Revision: https://reviews.llvm.org/D80017
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
Commit c702d4bf4110b65ba7a00daf3af3353ea5b74787 by tlively
[WebAssembly] Update latest implemented SIMD instructions

Summary:
Move instructions that have recently been implemented in V8 from the
`unimplemented-simd128` target feature to the `simd128` target
feature. The updated instructions match the update at
https://github.com/WebAssembly/simd/pull/223.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D79973
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-build-vector.ll
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedclang/lib/Headers/wasm_simd128.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-offset.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
Commit 93e8164546c384f91bfbfa27852e1f6d63a73809 by Louis Dionne
[libc++] Remove workaround for DYLD_LIBRARY_PATH being passed to the compiler

Since we're using the new testing format, DYLD_LIBRARY_PATH is not passed
to the compiler -- it's only passed to the programs we run as an argument
to the %{exec} substitution.
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit a76055322209f139a91712a88b5c403021bb7d1f by SourabhSingh.Tomar
Fixed arm build bot failure after 4042ada1c1fe

This fixes bot failure seen in
http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l/builds/7378
by adding `REQUIRES: x86_64-linux` to the test case
The file was modifiedllvm/test/DebugInfo/dwarfdump-dataLocationVar.ll
The file was modifiedllvm/test/DebugInfo/dwarfdump-dataLocationExp.ll
Commit b1c688dbae696e30ae5fb22677bfbfa255117f9f by ajcbik
[mlir] [VectorOps] Implement vector.create_mask lowering to LLVM IR

Summary:
First, compact implementation of lowering to LLVM IR. A bit more
challenging than the constant mask due to the dynamic indices, of course.
I like to hear if there are more efficient ways of doing this in LLVM,
but this for now at least gives us a functional reference implementation.

Reviewers: nicolasvasilache, ftynse, bkramer, reidtatge, andydavis1, mehdi_amini

Reviewed By: nicolasvasilache

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79954
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/test/Target/vector-to-llvm-ir.mlir
The file was modifiedmlir/test/Dialect/Vector/vector-contract-transforms.mlir
Commit e36223c85cd49858a808a2420144b64cad37839f by maskray
[ELF] Enforce two dashes for Flag options not supported by GNU ld (i.e. no compatibility burden)

Announced on https://lists.llvm.org/pipermail/llvm-dev/2020-May/141416.html

Similar to D79371, but for `multiclass B` (convenience helper for defining --foo and --no-foo)

Some changed options are also used by gold, but I haven't seen their
one-dash use cases outside of lld's testsuite.
The file was modifiedlld/test/ELF/segments.s
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/test/ELF/elf-header.s
The file was modifiedlld/test/ELF/gdb-index-no-debug.s
The file was modifiedlld/test/ELF/eh-frame-padding-no-rosegment.s
The file was modifiedlld/test/ELF/debug-gnu-pubnames.s
The file was modifiedlld/test/ELF/dynstr-no-rosegment.s
The file was modifiedlld/test/ELF/execute-only.s
The file was modifiedlld/test/ELF/sort-norosegment.s
The file was modifiedlld/test/ELF/execute-only-mixed-data.s
The file was modifiedlld/test/ELF/invalid/invalid-debug-relocations.test
Commit 32a22a423c71c8dc479cdbd5d6de98772431b10d by sivachandra
[libc] Consolidate floating point utils into a single utils library.

A new utils library named 'fputil' is added. This library is used in
math tests and the MPFR wrapper. The math implementations will be
modified to use this library in a later round.

Reviewers: phosek

Differential Revision: https://reviews.llvm.org/D79724
The file was modifiedlibc/test/src/math/cosf_test.cpp
The file was addedlibc/utils/FPUtil/FloatProperties.h
The file was modifiedlibc/test/src/math/sdcomp26094.h
The file was addedlibc/utils/FPUtil/CMakeLists.txt
The file was modifiedlibc/utils/CMakeLists.txt
The file was modifiedlibc/test/src/math/sinf_test.cpp
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
The file was addedlibc/utils/FPUtil/FloatOperations.h
The file was removedlibc/test/src/math/float.h
The file was addedlibc/utils/FPUtil/BitPatterns.h
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was modifiedlibc/test/src/math/sincosf_test.cpp
The file was modifiedlibc/utils/MPFRWrapper/CMakeLists.txt
Commit ddacd370c568da6629a6664452a672b95dc539d5 by Louis Dionne
[libc++] Do not set the runtime library path with DYLD_LIBRARY_PATH

We already set it using -rpath when linking test executables, and using
DYLD_LIBRARY_PATH causes problems when running other commands that
shouldn't run against the just-built libc++ (e.g. `ls` in a ShTest).

rdar://63241847
The file was modifiedlibcxx/utils/libcxx/test/target_info.py
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 4a39a33d44f2f95dd95af9d8c1d95f21a65394f6 by sivachandra
[libc] Add implementation of fabs and fabsf.

Reviewers: phosek

Differential Revision: https://reviews.llvm.org/D79725
The file was addedlibc/src/math/fabsf.h
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
The file was addedlibc/src/math/fabs.h
The file was addedlibc/src/math/fabs.cpp
The file was modifiedlibc/lib/CMakeLists.txt
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was modifiedlibc/utils/FPUtil/FloatOperations.h
The file was addedlibc/src/math/fabsf.cpp
The file was modifiedlibc/config/linux/api.td
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.h
The file was modifiedlibc/src/math/CMakeLists.txt
The file was modifiedlibc/spec/stdc.td
The file was addedlibc/test/src/math/fabsf_test.cpp
The file was addedlibc/test/src/math/fabs_test.cpp
Commit 16f5ce5a74cac5e76001f66afd8f0f3bc118af3c by Louis Dionne
[libc++] Remove -ftemplate-depth when running tests

It doesn't appear to be needed anymore with the Clang on our build bots.
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 853b5cbadc22476a73e31f07884a1bdb352b6260 by Jinsong Ji
[compiler-rt][CMAKE] Only add cmake link flags in standalone build

Only add CMAKE_EXE_LINKER_FLAGS when in a standalone bulid.
Or else CMAKE_EXE_LINKER_FLAGS contains flags for build compiler of Clang/llvm.
This might not be the same as what the COMPILER_RT_TEST_COMPILER supports.
eg: the build compiler use lld linker and we use it to build clang with
default ld linker then to be tested clang will complain about lld
options like --color-diagnostics.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D78373
The file was modifiedcompiler-rt/cmake/Modules/AddCompilerRT.cmake
Commit 558db27c4971cedde1a5915f390a7897e3038e10 by Duncan P. N. Exon Smith
[NFC] Whitespace fix inside OptParserEmitter
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp
Commit adda9c0a4f6323f7d5c4b324b6dccea1e06d0fee by Matthew.Arsenault
IR: Remove extra name mangling from llvm.ptrmask

This should not be allowed to change the address space of the source
and result, so the pointer types should match. The only emitter of
this seems to be a disable clang change, so no tests to update.
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
Commit 015e297a37761d874317c1e79dfb4bd84a5e48f1 by ctetreau
[SVE] Restore broken LLVM-C ABI compatability

Reviewers: deadalnix, efriedma, rengolin, jyknight, joerg

Reviewed By: joerg

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79915
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/tools/llvm-c-test/echo.cpp
The file was modifiedllvm/include/llvm-c/Core.h
Commit a1ce88b4e32ed64935a0ce8df25819a51f06b7dd by efriedma
[AArch64][SVE] Implement AArch64ISD::SETCC_PRED

This unifies SETCC operations along the lines of other operations.

Differential Revision: https://reviews.llvm.org/D79975
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 90af55d8a972b268d1b30feec8fb407ca856e110 by hoy
[LLD][ELF] Use offset in thin archives to disambiguate thinLTO members

This is fixing a thinLTO module collision issue for thin archives. The problem is that we always use a zero offset to name members in a thin archive and that causes the following build error:

    ld.lld: error: Expected at most one ThinLTO module per bitcode file

which happens to a thin archive that has two members with the same object file name (whose paths will be ignored by thinLTO driver)

The fix here is to use real member offset instead as is done for non-thin archives.

Differential Revision: https://reviews.llvm.org/D79880
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/test/ELF/lto/thinlto.ll
The file was addedlld/test/ELF/lto/thinlto-thin-archive-collision.ll
Commit 40af48101b1c65693dee289a960c381e0a993238 by tlively
[WebAssembly] Optimize splats of bitcasted vectors

Summary:
This new custom DAG combine fixes a codegen issue with the
wasm_simd128.h intrinsics. Clang lowers the

  return (v128_t)(__f32x4){__a, __a, __a, __a};

body of f32x4_splat to a splat shuffle of a bitcasted vector, as seen
in the new simd-shuffle-bitcast.ll test. The bitcast interfered with
the target-independent DAG combine that combines splat shuffles into
BUILD_VECTOR nodes, so this patch introduces a new custom DAG combine
to hoist the bitcast out of the shuffle, allowing the
target-independent combine to work as intended.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80021
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
The file was addedllvm/test/CodeGen/WebAssembly/simd-shuffle-bitcast.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Commit 03c44c7584b43059010b1b80c8e38d6fdb2c1658 by scott.linder
[NFC] Deduplicate comment in PromoteMemoryToRegister.cpp

This has been duplicated since before
2372a193ba904fdc85de3cc559e0bc162f14f144, but that commit has it
appearing twice in the space of 10 lines of the same function body. It
could also be hoisted up to the point just after where the last
special-case is considered, but I want to keep the intent of the
original authors.

Committed as obvious without a review.
The file was modifiedllvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
Commit 18a855da431e74499695ce43a8db23a1755ba632 by zbrid
[clang][slh] Add test for SLH feature checking macro

Summary:
I forgot to include a test in this commit:
https://reviews.llvm.org/rG379e68a763097bed55556c6dc7453e4b732e3d68

Here's the test. It passes after that commit and fails before that commit.

Reviewed By: mattdr

Differential Revision: https://reviews.llvm.org/D79894
The file was addedclang/test/Lexer/has_feature_speculative_load_hardening.cpp
Commit 11aa3707e30fe2dae214e1299b951fe908def14c by efriedma
StoreInst should store Align, not MaybeAlign

This is D77454, except for stores.  All the infrastructure work was done
for loads, so the remaining changes necessary are relatively small.

Differential Revision: https://reviews.llvm.org/D79968
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/schedule_budget.ll
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/msan_kernel_basic.ll
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/invariant.group.ll
The file was modifiedllvm/lib/Transforms/Scalar/GVNHoist.cpp
The file was modifiedllvm/test/Transforms/EarlyCSE/invariant-loads.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/non-null.ll
The file was modifiedllvm/lib/CodeGen/GCRootLowering.cpp
The file was modifiedllvm/test/Transforms/LoopIdiom/X86/unordered-atomic-memcpy.ll
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-multipath.ll
The file was modifiedllvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
The file was modifiedllvm/test/Analysis/MemorySSA/invariant-groups.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/test/Transforms/Attributor/nocapture-2.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/merge-stores.ll
The file was modifiedllvm/examples/ThinLtoJIT/ThinLtoInstrumentationLayer.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/test/Transforms/NewGVN/pr31613.ll
The file was modifiedllvm/test/Transforms/GVN/invariant.group.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Transforms/Util/assume-builder.ll
The file was modifiedllvm/lib/CodeGen/SjLjEHPrepare.cpp
The file was modifiedllvm/test/Transforms/LoopUnroll/complete_unroll_profitability_with_assume.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-2.ll
The file was modifiedllvm/test/Transforms/NewGVN/pr31594.ll
The file was modifiedllvm/test/Transforms/NewGVN/pr33720.ll
The file was modifiedllvm/test/Transforms/EarlyCSE/invariant.start.ll
The file was modifiedllvm/test/Transforms/NewGVN/pr33204.ll
The file was modifiedllvm/test/Transforms/InstCombine/store.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/test/Transforms/InstCombine/storemerge-dbg.ll
The file was modifiedllvm/test/Verifier/tbaa.ll
The file was modifiedllvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-partial.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-multipath-throwing.ll
The file was modifiedllvm/test/Transforms/GVN/vscale.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/store.ll
The file was modifiedllvm/test/Transforms/EarlyCSE/guards.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/Bitcode/memInstructions.3.2.ll
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-simple.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple-preservation.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/combined-partial-overwrites.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/Feature/md_on_instruction.ll
The file was modifiedllvm/test/Transforms/GVN/non-integral-pointers.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
Commit 08e2386dee3f51c0085f87ca909f533681609bd0 by mtrofin
Revert "Revert "[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs""

This reverts commit 454de99a6fec705e76ed7743bf538f7a77296f59.

The problem was that one of the ctor arguments of CallAnalyzer was left
to be const std::function<>&. A function_ref was passed for it, and then
the ctor stored the value in a function_ref field. So a std::function<>
would be created as a temporary, and not survive past the ctor
invocation, while the field would.

Tested locally by following https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

Original Differential Revision: https://reviews.llvm.org/D79917
The file was modifiedllvm/include/llvm/Analysis/InlineCost.h
The file was modifiedllvm/lib/Transforms/IPO/InlineSimple.cpp
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Cloning.h
The file was modifiedllvm/lib/Transforms/IPO/AlwaysInliner.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
Commit 0d5d5a75e21fea2154fab87cafb76024bf3858e6 by ctetreau
[SVE] Remove usages of VectorType::getNumElements() from PowerPC

Reviewers: efriedma, sdesmalen, c-rhodes, hfinkel

Reviewed By: c-rhodes

Subscribers: wuzish, nemanjai, tschuett, hiraditya, kbarton, rkruppe, psnobl, shchenz, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79821
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
Commit 96d85726b0fc3c5154265cea156483a3f63ebe21 by sivachandra
[libc] Move implementations of expf and exp2f from the AOR to src/math.

Reviewers: phosek

Differential Revision: https://reviews.llvm.org/D79149
The file was addedlibc/src/math/exp2f.cpp
The file was modifiedlibc/src/math/cosf.cpp
The file was addedlibc/src/math/exp2f.h
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.h
The file was modifiedlibc/lib/CMakeLists.txt
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was modifiedlibc/src/math/CMakeLists.txt
The file was addedlibc/src/math/expf.h
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/src/math/math_utils.h
The file was modifiedlibc/src/math/sinf.cpp
The file was modifiedlibc/config/linux/api.td
The file was addedlibc/src/math/math_utils.cpp
The file was addedlibc/src/math/exp_utils.cpp
The file was addedlibc/test/src/math/exp2f_test.cpp
The file was addedlibc/src/math/exp_utils.h
The file was addedlibc/src/math/expf.cpp
The file was addedlibc/test/src/math/expf_test.cpp
The file was modifiedlibc/src/math/sincosf.cpp
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
Commit 245679b62ea90eeeb36521f575073ec7fdf56b45 by ctetreau
[SVE] Remove usages of VectorType::getNumElements() from ARM

Reviewers: efriedma, fpetrogalli, kmclaughlin, grosbach, dmgreen

Reviewed By: dmgreen

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, dmgreen, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79816
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
Commit e8ea35e63f50486fe497d8565abb8cd5b2820a96 by mydeveloperday
[clang-format] [PR44345] Long namespace closing comment is duplicated endlessly

Summary:
https://bugs.llvm.org/show_bug.cgi?id=44345

When namespaces get long the namespace end comment wraps onto the next line

```
namespace would::it::save::you::a::lot::of::time::if_::i::just::gave::up::and_::
    went::mad::now {
void foo();
void bar();
} // namespace
  // would::it::save::you::a::lot::of::time::if_::i::just::gave::up::and_::went::mad::now
```

If clang-format it applied successively it will duplicate the end comment

```
namespace would::it::save::you::a::lot::of::time::if_::i::just::gave::up::and_::
    went::mad::now {
void foo();
void bar();
} // namespace
  // would::it::save::you::a::lot::of::time::if_::i::just::gave::up::and_::went::mad::now
  // would::it::save::you::a::lot::of::time::if_::i::just::gave::up::and_::went::mad::now
```

This revision checks to ensure the end comment is not on the next line before adding yet another comment

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D79935
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/NamespaceEndCommentsFixer.cpp
Commit 0eba9de71e2add37dce165f3f3c9447772c3f65a by medismail.bennani
[lldb/Dataformatter] Add support to CF{Dictionary,Set}Ref types

This patch improves data formatting for CFDictionaryRef and CFSetRef.
It uses the same data-formatter as NSCFDictionaries and NSCFSets introduced
previously but did require some adjustments in Core::ValueObject.

Since the "Ref" types are opaque pointers to the actual CF containers, if the
value object has a synthetic value, lldb will use the opaque pointer's pointee
type to create the new ValueObjectChild needed to dereference the ValueObject.
This allows the "Ref" types to behaves the same as CF containers when used with
the `frame variable` command, the SBAPI or in Xcode's variable inspector.

This patch also adds support for incomplete types in ValueObject.

rdar://53104287

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSSet.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
The file was modifiedlldb/source/Core/ValueObjectSyntheticFilter.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m
The file was modifiedlldb/source/Plugins/Language/ObjC/NSDictionary.cpp
Commit 4e9e0488ab67c54be57e303ce3085466fbc8e886 by medismail.bennani
[lldb/Commands] Add ability to run shell command on the host.

This patch introduces the `(-h|--host)` option to the `platform shell`
command. It allows the user to run shell commands from the host platform
(always available) without putting lldb in the background.

Since the default behaviour of `platform shell` is to run the command of
the selected platform, having such a choice can be quite handy when
debugging remote targets, for instances.

This patch also introduces a `shell` alias, to improve the command
discoverability and make it more convenient to use for the user.

rdar://62856024

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/test/API/commands/platform/basic/TestPlatformCommand.py
Commit d5e9b76253d978dcf321e4f3c7c629d0f4dcd507 by thakis
[gn build] Put HAVE_LIBZ and HAVE_ZLIB_H behind llvm_enable_zlib too.

In the CMake build, the HAVE_ vars are set based on system inspection,
and LLVM_ENABLE_ZLIB is set to false if neither's found. The GN build
doesn't do autodetection like this.

With this change, people can set llvm_enable_zlib=true on Windows
and as long as they provide a zlib.lib things should actually work.

(https://reviews.llvm.org/D79219 will remove 2 of the 3 config.h
values, hopefully soon. This change here just makes things a tiny
bit easier until that change is in.)
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
Commit 6512cc77350b4d155e9d789d838107e3dcf6dbb5 by Vitaly Buka
[NFC,StackSafety] Rename local function
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit a63eedd049bfde97f1d73caa61d27df600501c54 by maskray
[CMake] -gen-dag-isel: add -omit-comments if neither Debug nor RelWithDebInfo

Omitting comments can make the output much smaller. Size/time impact on
my machine:

* lib/Target/AArch64/AArch64GenDAGISel.inc, 10MiB (8.89s) -> 5MiB (3.20s)
* lib/Target/X86/X86GenDAGISel.inc, 20MiB (6.48s) -> 8.5MiB (4.18s)

In total, this change decreases lib/Target/*/*GenDAGISel.inc from
71.4MiB to 30.1MiB.

As rnk suggested, we can consider an option next to LLVM_OPTIMIZED_TABLEGEN
once we have more needs like this.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D78884
The file was modifiedllvm/cmake/modules/TableGen.cmake
Commit 1cff8e8de79f0308536fd78c81055c4452eb5c28 by stephen.neuendorffer
[MLIR] LinalgToStandard: use LINK_LIBS rather than target_link_libraries.

Also, missing MLIRTransforms as a dependency.  This breaks BUILD_SHARED_LIBS=on

Differential Revision: https://reviews.llvm.org/D80035
The file was modifiedmlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
Commit 15f0f824b36ea06fcb17bc56ecd181520b4bfbcf by hubert.reinterpretcast
[tests][Driver] Set `--sysroot=""` to allow `DEFAULT_SYSROOT` build

Summary:
If `DEFAULT_SYSROOT` is configured to some path, some tests would fail.
This patch overrides `sysroot` to be the empty string in the style of
D66834 so that the tests will pass even when the build is configured
with a `DEFAULT_SYSROOT`.

Reviewed By: mstorsjo

Differential Revision: https://reviews.llvm.org/D79694
The file was modifiedclang/test/Driver/darwin-header-search-libcxx.cpp
The file was modifiedclang/test/Driver/darwin-header-search-system.cpp
The file was modifiedclang/test/Driver/mingw-sysroot.cpp
Commit 3f5fc73a9d52fc7f128dc4e53ccc63b88fc44fb6 by hubert.reinterpretcast
[test][ARM][CMSE] Use clang_cc1 in arm_cmse.h tests

Summary:
The `arm_cmse.h` header includes standard headers, but some tests that
include this header explicitly specify a target. The standard headers
found via the standard include paths need not be compatible with the
explicitly-specified target from the tests. In order to avoid test
failures caused by such incompatibility, this patch uses `%clang_cc1`,
which doesn't pick up the host system headers.

Reviewed By: chill

Differential Revision: https://reviews.llvm.org/D79693
The file was modifiedclang/test/CodeGen/arm-cmse-nonsecure.c
The file was modifiedclang/test/CodeGen/arm-cmse-secure.c
Commit e3e0367f9ba142b5a3d4c2362f11b3fcbacfc98d by hubert.reinterpretcast
[CMake][AIX] Add `-bcdtors:mbr` option when building with IBM XL

Summary:
The `-bcdtors:mbr` option causes processing for constructors and
destructors to omit otherwise-unreferenced members of static libraries,
matching the processing done on Linux, where `--whole-archive` is not
the default. Applying this option is desirable for reducing the
footprint of an installation.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D79749
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
Commit 802b427f20679298efaa5d2236709acf2550970e by stephen.neuendorffer
[MLIR] Update intrinsic test, because ptrmask changed.

See adda9c0a4f63.

Differential Revision: https://reviews.llvm.org/D80036
The file was modifiedmlir/test/mlir-tblgen/llvm-intrinsics.td
Commit eb623ae8320e9e37fcf888cb6b6197b7e8ab423d by stephen.neuendorffer
[MLIR] Continue renaming of "SideEffects"

MLIRSideEffects -> MLIRSideEffectInterfaces
SideEffects.h -> SideEffectInterfaces.h
SideEffects.cpp -> SideEffectInterface.cpp

Note that I haven't renamed TableGen/SideEffects.h or TableGen/SideEffects.cpp

find -name "*.h" -exec sed -i "s/SideEffects.h/SideEffectInterfaces.h/" "{}" \;
find -name "CMakeLists.txt" -exec sed -i "s/MLIRSideEffects/MLIRSideEffectInterfaces/" "{}" \;

Differential Revision: https://reviews.llvm.org/D79890
The file was modifiedmlir/examples/toy/Ch4/include/toy/Dialect.h
The file was modifiedmlir/examples/toy/Ch2/include/toy/Dialect.h
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.h
The file was removedmlir/lib/Interfaces/SideEffects.cpp
The file was modifiedmlir/examples/toy/Ch7/include/toy/Dialect.h
The file was modifiedmlir/lib/Interfaces/CMakeLists.txt
The file was modifiedmlir/examples/standalone/include/Standalone/StandaloneOps.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
The file was modifiedmlir/lib/Dialect/GPU/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch7/CMakeLists.txt
The file was removedmlir/include/mlir/Interfaces/SideEffects.h
The file was modifiedmlir/examples/toy/Ch3/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/Inliner.cpp
The file was modifiedmlir/lib/Transforms/SCCP.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUDialect.h
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.h
The file was modifiedmlir/lib/Transforms/Utils/RegionUtils.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h
The file was modifiedmlir/examples/toy/Ch5/include/toy/Dialect.h
The file was modifiedmlir/include/mlir/Dialect/SCF/SCF.h
The file was modifiedmlir/lib/Dialect/AVX512/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch6/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMDialect.h
The file was modifiedmlir/lib/Dialect/Affine/EDSC/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Vector/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch5/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Quant/CMakeLists.txt
The file was addedmlir/lib/Interfaces/SideEffectInterfaces.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/IR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/StandardOps/CMakeLists.txt
The file was addedmlir/include/mlir/Interfaces/SideEffectInterfaces.h
The file was modifiedmlir/lib/Dialect/SCF/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Shape/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch2/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch4/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/ROCDLDialect.h
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/Shape.h
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantOps.h
The file was modifiedmlir/examples/toy/Ch3/include/toy/Dialect.h
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.h
The file was modifiedmlir/lib/Dialect/Affine/IR/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch6/include/toy/Dialect.h
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVOps.h
The file was modifiedmlir/lib/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/AVX512/AVX512Dialect.h
The file was modifiedmlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Commit 444720c250d50e13cc99a3dc2cd29606889c94e7 by stephen.neuendorffer
[MLIR][cmake] refactor lib/Interfaces/CMakeLists.txt

Reduce the boilerplate here

Differential Revision: https://reviews.llvm.org/D79896
The file was modifiedmlir/lib/Interfaces/CMakeLists.txt
Commit ec44e08940f872a71c6445bcaa65708db23ed7f4 by stephen.neuendorffer
[MLIR] Move JitRunner to live with ExecutionEngine

The JitRunner library is logically very close to the execution engine,
and shares similar dependencies.

find -name "*.cpp" -exec sed -i "s/Support\/JitRunner/ExecutionEngine\/JitRunner/" "{}" \;

Differential Revision: https://reviews.llvm.org/D79899
The file was modifiedmlir/lib/ExecutionEngine/CMakeLists.txt
The file was addedmlir/lib/ExecutionEngine/JitRunner.cpp
The file was modifiedmlir/lib/Support/CMakeLists.txt
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
The file was removedmlir/include/mlir/Support/JitRunner.h
The file was removedmlir/lib/Support/JitRunner.cpp
The file was addedmlir/include/mlir/ExecutionEngine/JitRunner.h
The file was modifiedmlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp
Commit b31cb3aa5ee7ea92d830b06a0a7e42c7f2791dd4 by Saleem Abdulrasool
unwind: fix unwind build without heap

Add a missing guard for `_LIBUNWIND_NO_HEAP` around code dealing with the
`.cfi_remember_state` and `.cfi_restore_state` instructions.

Patch by Amanieu d'Antras!
The file was modifiedlibunwind/src/DwarfParser.hpp
Commit 675d5543d423e8ce9e3eeaa3f6a74ce1804e4cb3 by david.green
[ARM] Change more triples to arm-none-none-eabi. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/mve-be.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-loadstore.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-postinc.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-preinc.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst-offset.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmovimm.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-scatter-increment.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-offset.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-spill.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-bitcast.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst-preinc.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-load.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmovn.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-widen-narrow.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-loadstore.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst-postinc.ll
Commit 1a6e4a2cf68b6cd6f3e18200b437a8317f653d95 by efriedma
Fix polly tests after D79968.
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_cross-referencing-phi1.ll
The file was modifiedpolly/test/ForwardOpTree/forward_readonly.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load.ll
The file was modifiedpolly/test/ForwardOpTree/forward_from_region.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep.ll
The file was modifiedpolly/test/ForwardOpTree/forward_synthesizable_indvar.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_epilogue.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_noepilogue.ll
The file was modifiedpolly/test/ForwardOpTree/forward_instruction.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_tripleuse.ll
The file was modifiedpolly/test/ForwardOpTree/forward_synthesizable_useinloop.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_unrelatedunusual.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_fromloop.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_memset_before.ll
The file was modifiedpolly/test/ForwardOpTree/forward_synthesizable_definloop.ll
The file was modifiedpolly/test/ForwardOpTree/forward_hoisted.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_epilogue_last.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_ordered-2.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_cross-referencing-phi2.ll
The file was modifiedpolly/test/ForwardOpTree/forward_phi_load.ll
The file was modifiedpolly/test/ScopInfo/granularity_scalar-indep_ordered.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_double_write.ll
The file was modifiedpolly/test/ForwardOpTree/forward_transitive.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_differentarray.ll
The file was modifiedpolly/test/ForwardOpTree/forward_store.ll
The file was modifiedpolly/test/ForwardOpTree/forward_load_indirect.ll
Commit 634a0acb307ddad21c5542dc313e02b4df9b216e by Casey
Cleanup some test issues:

* improve coverage in `span`'s "conversion from `std::array`" test, while eliminating MSVC diagnostics about `testConstructorArray<T>() && testConstructorArray<const T, T>()` being redundant when `T` is already `const`.

* Remove use of `is_assignable` that triggers UB due to an insufficiently-complete type argument in `std::function`'s assignment operator test.

* Don't test that `shared_ptr` initialization from an rvalue triggers the lvalue aliasing constructor on non-libc++; this is not the case for Standard Libraries that implement LWG-2996. (Ditto, I'd simply remove this but it's your library ;).)

Differential Revision: https://reviews.llvm.org/D80030
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_pointer.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/stdarray.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_assign.pass.cpp
Commit b1ae13b4e9798ecfe8803513490b9034bda2e693 by echristo
Fix flang build after mlir SideEffects.h -> SideEffectInterfaces.h change.
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.h
Commit 0c2c6fce07e43b90e2bc44004710e10192ab3b83 by thomasp
[test] Improve FileCheck's numeric-expression.txt

Summary:
Various improvement for FileCheck's numeric-expression.txt test:
- remove unused values in USE DEF FMT IMPL MATCH section
- replace 14 literal for 0xe and 0xE to have example of hex literals
- rename variable to be more self-descriptive
- move CHECK as comment of the values being matched to help readability
- add conversion tests
- simplify test for use of several numeric variables by using existing
  variable
- adjust position of error message check to match the alignment of the
  error message wrt. the output matched by the previous check

Reviewed By: jhenderson, jdenny

Differential Revision: https://reviews.llvm.org/D79820
The file was modifiedllvm/test/FileCheck/numeric-expression.txt
Commit 6c68f75ee4d94710821b0d5041e1fb0441db144e by diogo.sampaio
Prevent register coalescing in functions whith setjmp

Summary:
In the the given example, a stack slot pointer is merged
between a setjmp and longjmp. This pointer is spilled,
so it does not get correctly restored, addinga undefined
behaviour where it shouldn't.

Change-Id: I60ec010844f2a24ce01ceccf12eb5eba5ab94abb

Reviewers: eli.friedman, thanm, efriedma

Reviewed By: efriedma

Subscribers: MatzeB, qcolombet, tpr, rnk, efriedma, hiraditya, llvm-commits, chill

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77767
The file was addedllvm/test/CodeGen/ARM/no-register-coalescing-in-returnsTwice.mir
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/test/CodeGen/X86/speculative-load-hardening-call-and-ret.ll
Commit 80af39ead81e621f1938c5266e9a0bd9e36b1b3c by echristo
Fix go bindings after FixedVectorType -> VectorType change.
The file was modifiedllvm/bindings/go/llvm/string.go
The file was modifiedllvm/bindings/go/llvm/ir.go
Commit 7af0c8559b6d9426dd5e977370516d2baa4c206f by n.james93
[clang-tidy] Transformer checks now store IncludeStyle option
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.h
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp