SuccessChanges

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

Summary

  1. added scripts to debug running deployment (details)
Commit 9b4bb77f44a813f7b92512df83b7ddc187d3bac9 by kuhnel
added scripts to debug running deployment

Summary: Logging into a running deployment via the Google
Cloud UI is quite slow also for getting the logs. It's
faster and more convenient to do that from the shell.

This can be used to debug a running deployment

Differential Revision: https://reviews.llvm.org/D82156
The file was addedbuildbot/google/docker/pod_logs.sh
The file was addedbuildbot/google/docker/pod_login.sh

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

Summary

  1. [SVE] Remove calls to VectorType::getNumElements from Bitcode (details)
  2. [IR] Remove MSVC warning workaround (NFC) (details)
  3. fix test failure for clang/test/CodeGen/builtin-expect-with-probability.cpp (details)
  4. Add missing string conversions to fix a compile error in Local.h (details)
  5. Preserve GlobalsAA analysis result in InjectTLIMappings (details)
  6. test/msan/sigwait: Don't silently ignore assertion failures (details)
  7. [lldb/Lua] Fix typo: s/stdout/stderr/ (details)
  8. [ASan][MSan] Remove EmptyAsm and set the CallInst to nomerge to avoid from merging. (details)
  9. [ARM] Cortex-M4 integer instructions scheduler info test. NFC (details)
  10. [SVE] Remove calls to VectorType::getNumElements from AsmParser (details)
  11. [mlir] [VectorOps] Improve vector.create_mask lowering (details)
  12. When performing a substitution into a dependent alias template, mark the (details)
  13. [ARM] Mark more integer instructions as not having side effects. (details)
  14. [flang] add RTBuilder.h (details)
  15. [RISCV][NFC] Add tests for folds of ADDIs into load/stores (details)
  16. [lldb] Fix the modules build (details)
  17. [clang][driver] allow macOS 11 OS version in the driver (details)
  18. Remove clang::Codegen::EHPadEndScope as unused (details)
  19. [mlir] [integration-test] Let target check-mlir imply target check-mlir-integration too (details)
  20. [WebAssembly] Fix for use of uninitialized member in WasmObjectWriter.cpp (details)
  21. Move late-parsed class member attribute handling adjacent to all the (details)
  22. [AMDGPU] Update AMD GPU processor information (details)
  23. [ELF] Add -z start-stop-visibility= to set __start_/__stop_ symbol visibility (details)
  24. [lld][ELF][AArch64] Handle R_AARCH64_PLT32 relocation (details)
  25. [IR] Prefer scalar type for struct indexes in GEP constant expressions. (details)
  26. [AArch64][SVE] Add legalization support for i32/i64 vector srem/urem (details)
  27. [NFC] Remove outdated comment in llvm-symbolizer test case. (details)
  28. DR458: Search template parameter scopes in the right order. (details)
  29. [clang codegen] Fix alignment of "Address" for incomplete array pointer. (details)
  30. [MLIR] [NFC] Add new line and empty line before printing modified loop (details)
  31. [WebAssebmly] Fully disable 'protected' visibility (details)
  32. AMDGPU/GlobalISel: Fix fixed ABI special VGPR function arguments (details)
  33. [SimplifyCFG] Drop debug loc in SpeculativelyExecuteBB (details)
  34. Remove GlobalValue::getAlignment(). (details)
  35. [AArch64][GlobalISel] Improve codegen for some constant vectors by using constant pool loads. (details)
  36. [PowerPC] Add support for vector bool __int128 for Power10 (details)
  37. [BitcodeReader] Fix DelayedShuffle handling for ConstantExpr shuffles. (details)
  38. Add option to symbolize inline frames for InternalSymbolizer (details)
  39. [NFC][MLIR] Undo anonymous namespace change from https://reviews.llvm.org/D82417 (details)
  40. [cmake] configure the host triple on an Apple Silicon machine correctly (details)
  41. [clang][driver] set macOS as the target OS for -arch arm64 when clang (details)
  42. test fix: add missing system-darwin REQUIRES (details)
  43. [lldb/Test] Temporarily disable TestSimulatorPlatform.py (details)
  44. [X86] Add mayLoad/mayStore flags to some X87 instructions that don't have isel patterns to infer them from. (details)
  45. [libc] Add long double flavors of the floating point manipulation functions. (details)
  46. [libc][Obvious] Remove a debug #include of iostream. (details)
  47. [X86] Speculatively fix to X86AvoidStoreForwardingBlocks not deference a machine mem operand if there isn't one present. (details)
  48. [libc] Enable copysignl, frexpl, logbl and modfl on aarch64. (details)
  49. [VE] Clang toolchain for VE (details)
  50. [AST][RecoveryExpr] Fix a crash: don't attach error-type base specifiers. (details)
  51. [gn build] Port 96d4ccf00c8 (details)
  52. [AST][RecoveryExpr] Populate error-bit from Type to Expr. (details)
  53. [ARM][BFloat] Legalize bf16 type even without fullfp16. (details)
  54. [AMDGPU] Enable compare operations to be selected by divergence (details)
  55. [DSE,MSSA] Precommit small test changes for D72631. (details)
  56. [lldb] fix typo in docs: withing -> within (details)
  57. [ARM] Improve diagnostics message when Neon is unsupported (details)
  58. [AArch64][SVE] Add bfloat16 support to load intrinsics (details)
  59. [AArch64][SVE] Add bfloat16 support to perm and select intrinsics (details)
  60. [AArch64][SVE] Add bfloat16 support to svlen intrinsic (details)
  61. [AArch64][SVE2] Add bfloat16 support to whilerw/whilewr intrinsics (details)
  62. [libclang] Extend clang_Cursor_Evaluate(). (details)
  63. [llvm-readelf] - Don't crash when e_shstrndx==SHN_XINDEX, but there is no section header. (details)
  64. [clang-format] restore indent in conditionals when AlignOperands is DontAlign (details)
  65. Don't install clang-import-test (details)
  66. StackLifetime.h - remove unused AliasAnalysis.h include. NFC. (details)
  67. ObjCARC.h - remove unnecessary includes. NFC. (details)
  68. [OpenMP] NFC: Create OpenMP release notes file (details)
  69. [OpenMPOpt] ICV macro definitions (details)
  70. [DSE] Eliminate stores at the end of the function. (details)
Commit e6d8636935e13f57b52c7dcf81f5c4576e2446f5 by ctetreau
[SVE] Remove calls to VectorType::getNumElements from Bitcode

Reviewers: efriedma, evgeny777, tejohnson, david-arm, kmclaughlin

Reviewed By: david-arm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82209
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Commit 6904c7129b26373eb33489b43538ab580829655e by nikita.ppv
[IR] Remove MSVC warning workaround (NFC)

While LLVM does fold this to x+1, GCC does not. As this is hot
code, let's try to avoid that.

According to
https://developercommunity.visualstudio.com/content/problem/211134/unsigned-integer-overflows-in-constexpr-functionsa.html
this spurious warning in MSVC has been fixed in Visual Studio 2019
Version 16.4. Let's see if there are any build bots running old
MSVC versions with warnings treated as errors...
The file was modifiedllvm/lib/IR/Attributes.cpp
Commit 47fb21d2ea903fc4cce38f8da8160cf0eacc16d0 by erich.keane
fix test failure for clang/test/CodeGen/builtin-expect-with-probability.cpp

Fix test case added by D79830
Rewrite the test case, which did similar thing as builtin-expect.c
does(test generated llvm intrinsic instead of test branch weights).
Currently pass by "-disable-llvm-passes" option.

Differential Revision: https://reviews.llvm.org/D82403
The file was modifiedclang/test/CodeGen/builtin-expect-with-probability.cpp
Commit e07a8b5efd60f25de84ac89783a5e326dc414cef by Adrian Prantl
Add missing string conversions to fix a compile error in Local.h
The file was modifiedllvm/include/llvm/Analysis/Utils/Local.h
Commit f64dc4e6866c2ab88148abb7d8a27e3828f978e4 by flo
Preserve GlobalsAA analysis result in InjectTLIMappings

InjectTLIMappings fails to preserve the analysis result of GlobalsAA. Not preserving the analysis might affect benchmark performance. This change fixes this issue.

Patch by: Ryan Santhiraraja <rsanthir@quicinc.com>

Reviewers: fpetrogalli, joerg, fhahn

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D82343
The file was modifiedllvm/lib/Transforms/Utils/InjectTLIMappings.cpp
Commit 16784c0558c43ccbc0242c7429bc065c68163cbd by eugenis
test/msan/sigwait: Don't silently ignore assertion failures

Summary: As the parent process would return 0 independent of whether the child succeeded, assertions in the child would be ignored.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D82400
The file was modifiedcompiler-rt/test/msan/sigwait.cpp
Commit be494adb30ec76e1b6738b8bfc22040bfc31ce98 by Jonas Devlieghere
[lldb/Lua] Fix typo: s/stdout/stderr/

This wasn't caught by the existing test, but will be covered by the
extended test that's part of D82412.
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp
Commit 6a822e20ce700f2f98e80c6ce8dda026099c39b7 by zequanwu
[ASan][MSan] Remove EmptyAsm and set the CallInst to nomerge to avoid from merging.

Summary: `nomerge` attribute was added at D78659. So, we can remove the EmptyAsm workaround in ASan the MSan and use this attribute.

Reviewers: vitalybuka

Reviewed By: vitalybuka

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82322
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coverage.ll
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-comdat.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-nocomdat.ll
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
Commit 887c0b5665629866c8798e47a799e6922b2f6735 by david.green
[ARM] Cortex-M4 integer instructions scheduler info test. NFC

Most useful at the moment for showing where unpredicatable instructions are.
The file was addedllvm/test/tools/llvm-mca/ARM/m4-int.s
Commit 433c9adf7b2bea8577a15b5e8c38f2844b965be8 by ctetreau
[SVE] Remove calls to VectorType::getNumElements from AsmParser

Reviewers: efriedma, RKSimon, c-rhodes, fpetrogalli

Reviewed By: fpetrogalli

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82208
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
Commit 55d09dfc7b147dbb74ae62173f4d5b078b19e328 by ajcbik
[mlir] [VectorOps] Improve vector.create_mask lowering

Use vector compares for the 1-D case. This approach scales much better
than generating insertion operations, and exposes SIMD directly to backend.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D82402
The file was modifiedmlir/test/Dialect/Vector/vector-contract-transforms.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit a6308c0ad954a08645d9abf0a5e77dc488b8ca28 by richard
When performing a substitution into a dependent alias template, mark the
outer levels as retained rather than omitting their arguments.

This better reflects what's going on (we're performing a substitution
while still inside a template), and in theory is more correct, but I've
not found a testcase where it matters in practice (largely because we
don't allow alias templates to be declared inside a function).

Fixed AST dumping of SubstNonTypeTemplateParm[Pack]Expr to demonstrate
that we're properly substituting through dependent alias templates. (We
can't deduce properly through these yet, but we can at least produce the
right input to template argument deduction.)

No functionality change intended.
The file was modifiedclang/test/AST/ast-dump-openmp-begin-declare-variant_template_1.cpp
The file was modifiedclang/test/SemaTemplate/alias-templates.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/unittests/AST/ASTTraverserTest.cpp
The file was modifiedclang/test/SemaTemplate/deduction-guide.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit d604cc6e9a41aa6cf1759b8c58c8d02e5c87dda2 by david.green
[ARM] Mark more integer instructions as not having side effects.

LDRD and STRD along with UBFX and SBFX are selected from DAGToDAG
transforms, so do not have tblgen patterns. They don't get marked as
having side effects so cannot be scheduled as efficiently as you would
like.

This specifically marks then as not having side effects.

Differential Revision: https://reviews.llvm.org/D82358
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
The file was modifiedllvm/test/tools/llvm-mca/ARM/m4-int.s
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
Commit 84f380580531d4f44fb3e4a2d17b5033e1e9bb0b by eschweitz
[flang] add RTBuilder.h

This is a set of type building models that is specific to the lowering
process. It provides the mechanism of mapping C(++) header file interfaces
to the MLIR+FIR type system.

It also provides some macros to build a constexpr evaluated table to
runtime functions. This code is used to build the interface tables to
various runtime support libraries.

Differential revision: https://reviews.llvm.org/D82387
The file was addedflang/lib/Lower/RTBuilder.h
Commit 0947a8ca9824e15780075dc3525e30bada4bccdd by luismarques
[RISCV][NFC] Add tests for folds of ADDIs into load/stores

This patch adds tests for folds of ADDIs into load/stores, focusing on
load/stores with nonzero offsets. When the offset is nonzero we currently
don't do the fold. A follow-up patch will improve on that.

Differential Revision: https://reviews.llvm.org/D79689
The file was addedllvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
Commit ba05bf5fc854176c1235a3c1cce4787268e1ba6b by Jonas Devlieghere
[lldb] Fix the modules build

Fixes error: invalid operands to binary expression ('llvm::StringRef'
and 'const char [6]')
The file was modifiedllvm/include/llvm/Analysis/Utils/Local.h
Commit f724ce0d73eb3f85364e346a036588825bc47567 by Alex Lorenz
[clang][driver] allow macOS 11 OS version in the driver
The file was modifiedclang/test/Driver/darwin-version.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
Commit 4935419d779bdc6cc2f1c2f9e78821ad550d3b56 by dblaikie
Remove clang::Codegen::EHPadEndScope as unused

Unused since r255423 / D15140 /  4e52d6f811a2269e946c19e77245148bd9221f99

Found indirectly by assessing -debug-info-kind=constructors and
observing the EHPadEndScope type was never emitted because the
constructor is never called. (all credit to Amy Huang for identifying
this issue)
The file was modifiedclang/lib/CodeGen/CGCleanup.h
The file was modifiedclang/lib/CodeGen/CGException.cpp
Commit ba690195d1c68b135680194b378e357f6d6e3f4a by ajcbik
[mlir] [integration-test] Let target check-mlir imply target check-mlir-integration too

Note that this does not mean that check-mlir will run check-mlir-integration
tests for all configurations. You still need to do a set up with the flag
MLIR_INCLUDE_INTEGRATION_TESTS set to ON in order to activate the integration test.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D82413
The file was modifiedmlir/integration_test/CMakeLists.txt
Commit e49584a34a1242e4f9f0b6e65f19e3cbec43d906 by sbc
[WebAssembly] Fix for use of uninitialized member in WasmObjectWriter.cpp

Currently, section indices may be passed uninitialized by value if
writing the section fails. Removes section indices form class
initialization and returns them from the write{Code,Data}Section
function calls instead.

Patch by Gui Andrade!

Differential Revision: https://reviews.llvm.org/D81702
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
Commit 4f5f6c1b83cb60354b7b4dea8fc7da561b6758fd by richard
Move late-parsed class member attribute handling adjacent to all the
other late-parsed class component handling.

No functionality change intended.
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
Commit ea6df2fb8fa57d5f75de284b490ceb1123b78178 by Tony.Tye
[AMDGPU] Update AMD GPU processor information

Summary:
- Add product names for some processors.
- Correct XNACK support for a processor.

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82348
The file was modifiedllvm/docs/AMDGPUUsage.rst
Commit fffd05d52526e0718acf23b4dd34f200e2c79f67 by phosek
[ELF] Add -z start-stop-visibility= to set __start_/__stop_ symbol visibility

This matches the equivalent flag implemented in GNU linkers, see
https://sourceware.org/pipermail/binutils/2020-June/111685.html for
the associated discussion.

Differential Revision: https://reviews.llvm.org/D55682
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Driver.cpp
The file was addedlld/test/ELF/startstop-visibility.s
The file was modifiedlld/ELF/Writer.cpp
Commit 723b5a1785426245e3c56b4666ef526b32be84a9 by leonardchan
[lld][ELF][AArch64] Handle R_AARCH64_PLT32 relocation

This is the followup to D77647 which implements handling for the new
R_AARCH64_PLT32 relocation type in lld. This relocation would benefit the
PIC-friendly vtables feature described in D72959.

Differential Revision: https://reviews.llvm.org/D81184
The file was addedlld/test/ELF/aarch64-reloc-plt32.s
The file was modifiedlld/ELF/Thunks.cpp
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/test/ELF/aarch64-undefined-weak.s
The file was addedlld/test/ELF/aarch64-range-thunk-extension-plt32.s
The file was modifiedlld/ELF/Arch/AArch64.cpp
Commit 90ad786947cc861756c95238f96c267b2a3c4849 by efriedma
[IR] Prefer scalar type for struct indexes in GEP constant expressions.

This has two advantages: one, it's simpler, and two, it doesn't require
heroic pattern matching with scalable vectors.

Also includes a small fix to DataLayout to allow the scalable vector
testcase to work correctly.

Differential Revision: https://reviews.llvm.org/D82061
The file was modifiedllvm/test/Analysis/ConstantFolding/vectorgep-crash.ll
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/gep.ll
The file was modifiedllvm/lib/IR/DataLayout.cpp
Commit e9d4e34ab8a4223de41fbf1881fd6a531880dda9 by efriedma
[AArch64][SVE] Add legalization support for i32/i64 vector srem/urem

Implement them on top of sdiv/udiv, similar to what we do for integer
types.

Potential future work: implementing i8/i16 srem/urem, optimizations for
constant divisors, optimizing the mul+sub to mls.

Differential Revision: https://reviews.llvm.org/D81511
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/llvm-ir-to-intrinsic.ll
Commit c2bb88cc025cd16efee33a46cc0547e51f56bfd0 by akhuang
[NFC] Remove outdated comment in llvm-symbolizer test case.
The file was modifiedllvm/test/tools/llvm-symbolizer/pdb/pdb-native.test
Commit d1446017f3fdc2f6a9efba222008d20afa1e26cc by richard
DR458: Search template parameter scopes in the right order.

C++ unqualified name lookup searches template parameter scopes
immediately after finishing searching the entity the parameters belong
to. (Eg, for a class template, you search the template parameter scope
after looking in that class template and its base classes and before
looking in the scope containing the class template.) This is complicated
by the fact that scope lookup within a template parameter scope looks in
a different sequence of places prior to reaching the end of the
declarator-id in the template declaration.

We used to approximate the proper lookup rule with a hack in the scope /
decl context walk inside name lookup. Now we instead compute the lookup
parent for each template parameter scope.

In order to get this right, we now make sure to enter a distinct Scope
for each template parameter scope, and make sure to re-enter the
enclosing class scopes properly when handling delay-parsed regions
within a class.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/Sema/Scope.h
The file was modifiedclang/test/SemaCXX/lambda-expressions.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/test/CXX/drs/dr4xx.cpp
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/CXX/temp/temp.res/temp.local/p8.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/www/cxx_dr_status.html
Commit bf8b63ed296c1ecad03c83b798ffbfa039cbceb4 by efriedma
[clang codegen] Fix alignment of "Address" for incomplete array pointer.

The code was assuming all incomplete types don't have meaningful
alignment, but incomplete arrays do have meaningful alignment.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45710

Differential Revision: https://reviews.llvm.org/D79052
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGenCXX/alignment.cpp
Commit e7f7137cd7119b93bf2a0fa2049dbc38068ee20c by jurahul
[MLIR] [NFC] Add new line and empty line before printing modified loop
             to make the debug output readable.

Differential Revision: https://reviews.llvm.org/D82417
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
Commit 5804a8b1228ba890d48f4085a3a192ef83c73e00 by sbc
[WebAssebmly] Fully disable 'protected' visibility

Emscripten doesn't use protected visibility either.

Differential Revision: https://reviews.llvm.org/D82346
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
Commit a162048a47b7e1c7e83fca82f09876944307dd2f by Matthew.Arsenault
AMDGPU/GlobalISel: Fix fixed ABI special VGPR function arguments

I forgot to copy the new fixed function ABI into GlobalISel, so this
was mismatched with the DAG compiled calling function. This was
allocating part of the argument list to v31, which was supposed to be
reserved for the workitem IDs.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-fixed-function-abi-vgpr-args.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
Commit f8bd6a75edac7560deb5fdcb31041b454dd9d7e0 by Vedant Kumar
[SimplifyCFG] Drop debug loc in SpeculativelyExecuteBB

Summary:
According to HowToUpdateDebugInfo.rst:

```
Preserving the debug locations of speculated instructions can make
it seem like a condition is true when it's not (or vice versa), which
leads to a confusing single-stepping experience
```

This patch follows the recommendation to drop debug locations on
speculated instructions.

Reviewers: aprantl, davide

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82420
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was addedllvm/test/Transforms/SimplifyCFG/drop-debug-loc-when-speculating.ll
Commit a2caa3b61497b6be8c8b77823d0fd62b4be1f177 by efriedma
Remove GlobalValue::getAlignment().

This function is deceptive at best: it doesn't return what you'd expect.
If you have an arbitrary GlobalValue and you want to determine the
alignment of that pointer, Value::getPointerAlignment() returns the
correct value.  If you want the actual declared alignment of a function
or variable, GlobalObject::getAlignment() returns that.

This patch switches all the users of GlobalValue::getAlignment to an
appropriate alternative.

Differential Revision: https://reviews.llvm.org/D80368
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/LTO/LTOModule.cpp
The file was modifiedllvm/include/llvm/IR/GlobalValue.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/atomics-constant.ll
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
The file was modifiedllvm/lib/Object/IRSymtab.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AArch64/funcptr_cast.ll
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
The file was modifiedllvm/lib/IR/Globals.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreISelLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZSubtarget.cpp
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/AArch64/global-alignment.ll
Commit fceadbcb335da23d0a9beba8c4080a3e4222a385 by Amara Emerson
[AArch64][GlobalISel] Improve codegen for some constant vectors by using constant pool loads.

There's more smarts in AArch64ISelLowering that we don't have yet, but this
change incrementally improves some of the more common patterns. I think future
iterations will want to use some combination of PostLegalizerCombiner and the
selector to catch the other cases.

Differential Revision: https://reviews.llvm.org/D82340
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-vector-icmp.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-vector-shift.mir
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-const-vector.mir
The file was modifiedllvm/test/CodeGen/AArch64/combine-loads.ll
Commit f4c337ab85c0b7ec206da0f2c6576730eefb36c2 by saghir
[PowerPC] Add support for vector bool __int128 for Power10

Summary:
This patch adds support for `vector bool __int128` type for Power10.

Reviewers: #powerpc, hfinkel, lei, stefanp, amyk

Reviewed By: #powerpc, lei, amyk

Subscribers: lei, amyk, wuzish, nemanjai, shchenz, cfe-commits

Tags: #llvm, #powerpc, #clang

Differential Revision: https://reviews.llvm.org/D81816
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/Parser/cxx-altivec-bool-128.cpp
The file was addedclang/test/Parser/p10-vector-bool-128.c
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was addedclang/test/Parser/altivec-bool-128.c
Commit b5740105d270a2d76da8812cafb63e4b799ada73 by efriedma
[BitcodeReader] Fix DelayedShuffle handling for ConstantExpr shuffles.

The indexing was messed up, so the result was completely broken.

Shuffle constant exprs are rare in practice; without vscale types,
constant folding generally elminates them. So sort of hard to trip over.

Fixes regression from D72467.

Differential Revision: https://reviews.llvm.org/D80330
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was addedllvm/test/Bitcode/vscale-shuffle.ll
Commit 8df3e1fd86fce6fd39954021bd7501842216dbe8 by Vitaly Buka
Add option to symbolize inline frames for InternalSymbolizer

Summary:
Currently, there is no way to let the `InternalSymbolizer` implemented
functions know if inline frames should be symbolized. This patch updates
the function `__sanitizer_symbolize_code` to include a parameter for
this ASAN option and toggle between LLVM symbolization functions when
appropriate.

Fixes the following two failing tests when internal symbolization is
enabled:
```
SanitizerCommon-*-x86_64-Linux :: print-stack-trace.cpp
SanitizerCommon-*-x86_64-Linux :: symbolize_pc_inline.cpp
```

Reviewers: vitalybuka, kcc, filcab

Reviewed By: vitalybuka

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79280
The file was modifiedcompiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
Commit 60f914e5b191b1afcd9fb41fa8ede4b67d9735bb by jurahul
[NFC][MLIR] Undo anonymous namespace change from https://reviews.llvm.org/D82417

Undo as it does not conform to LLVM coding style
(https://llvm.org/docs/CodingStandards.html#anonymous-namespaces)
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
Commit 050ed9720f84343d859c530b8b692eb6141e6a63 by Alex Lorenz
[cmake] configure the host triple on an Apple Silicon machine correctly

The cmake build of LLVM now uses the appropriate arm64 arch for the
host triple when building llvm-project on an Apple Silicon mac.

Differential Revision: https://reviews.llvm.org/D82428
The file was modifiedllvm/cmake/config.guess
Commit 565603cc94d79a8d0de6df840fd53714899fb890 by Alex Lorenz
[clang][driver] set macOS as the target OS for -arch arm64 when clang
is running on an Apple Silicon mac

This change allows users to use `-arch arm64` to build for mac when
running it on Apple Silicon mac without explicit `-target` option.

Differential Revision: https://reviews.llvm.org/D82428
The file was addedclang/test/Driver/apple-arm64-arch.c
The file was addedclang/test/Driver/apple-silicon-arch.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/test/lit.cfg.py
Commit 1a342ff3753d0354bab3d82fa8e493e21d50c79f by Alex Lorenz
test fix: add missing system-darwin REQUIRES

The test should only run with a Darwin driver only.
The file was modifiedclang/test/Driver/apple-arm64-arch.c
Commit 6507bc56216ba4441790bc581a5b76d9c2ad9774 by Jonas Devlieghere
[lldb/Test] Temporarily disable TestSimulatorPlatform.py
The file was modifiedlldb/test/API/macosx/simulator/TestSimulatorPlatform.py
Commit 31c40f2d6bcf5945da76cda70c088399adb1b3cb by craig.topper
[X86] Add mayLoad/mayStore flags to some X87 instructions that don't have isel patterns to infer them from.

Should remove part of the differences in D81833 due to some
some of these getting isel patterns.
The file was modifiedllvm/test/tools/llvm-mca/X86/Atom/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-x87.s
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeClient/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Broadwell/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Haswell/resources-x87.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-x87.s
Commit a00fb593b4ed3e7e6313b9afcd3657d4650e509f by sivachandra
[libc] Add long double flavors of the floating point manipulation functions.

Specifically: copysignl, frexpl, logbl and modfl have been added.

Reviewers: asteinhauser

Differential Revision: https://reviews.llvm.org/D82357
The file was addedlibc/test/src/math/copysignl_test.cpp
The file was addedlibc/src/math/frexpl.cpp
The file was addedlibc/test/src/math/logbl_test.cpp
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was addedlibc/src/math/modfl.cpp
The file was addedlibc/src/math/copysignl.cpp
The file was modifiedlibc/spec/spec.td
The file was addedlibc/test/src/math/frexpl_test.cpp
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/utils/FPUtil/ManipulationFunctions.h
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/src/math/CMakeLists.txt
The file was addedlibc/src/math/logbl.cpp
The file was addedlibc/src/math/frexpl.h
The file was addedlibc/src/math/logbl.h
The file was addedlibc/src/math/modfl.h
The file was modifiedlibc/config/linux/api.td
The file was addedlibc/test/src/math/modfl_test.cpp
The file was addedlibc/src/math/copysignl.h
Commit 7abdb2b948fa3f86510debed8c760d14fd78f35f by sivachandra
[libc][Obvious] Remove a debug #include of iostream.
The file was modifiedlibc/test/src/math/frexpl_test.cpp
Commit 8172ed91f8ff753fb3042f39b0d43aed89fdd3e6 by craig.topper
[X86] Speculatively fix to X86AvoidStoreForwardingBlocks not deference a machine mem operand if there isn't one present.

Eric Christopher informed me that FastISel memcpy handling creates
load/store instructions without mem operands. We should fix that,
but I doubt that's the only case of missed mem operands so seems
better to be defensive here.

I don't have a test case yet, but I'll try to add one if i get a
test from Eric.
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
Commit 25ac19de4b46cb40b3c55a5a84504460c8f82818 by sivachandra
[libc] Enable copysignl, frexpl, logbl and modfl on aarch64.
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
Commit 96d4ccf00c8f746aebb549288fac33dcbb15bc4b by simon.moll
[VE] Clang toolchain for VE

Summary:
This patch enables compilation of C code for the VE target with Clang.

Differential Revision: https://reviews.llvm.org/D79411
The file was addedclang/lib/Basic/Targets/VE.h
The file was addedclang/lib/Driver/ToolChains/VE.h
The file was addedclang/lib/Basic/Targets/VE.cpp
The file was modifiedclang/lib/Basic/CMakeLists.txt
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was addedclang/lib/Driver/ToolChains/Arch/VE.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.h
The file was modifiedclang/include/clang/Basic/TargetBuiltins.h
The file was modifiedclang/lib/Driver/CMakeLists.txt
The file was addedclang/test/CodeGen/ve-abi.c
The file was modifiedclang/lib/Basic/Targets.cpp
The file was addedclang/lib/Driver/ToolChains/Arch/VE.h
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was addedclang/lib/Driver/ToolChains/VE.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit f0084c3bcbc2f2e17ab1a24d19ac6738eb4c4263 by hokein.wu
[AST][RecoveryExpr] Fix a crash: don't attach error-type base specifiers.

Summary:
otherwise we'll run into code path which expects a good base specifiers,
and lead to crashes.

The crash only occurs in template instantiations (in non-template case,
the bad base specifiers are dropped during parsing.)

crash stacktrace:

```
clang: llvm-project/clang/lib/Sema/SemaInit.cpp:7864: clang::ExprResult clang::InitializationSequence::Perform(clang::Sema &, const clang::InitializedEntity &, const clang::InitializationKind &, clang::MultiExprArg, clang::QualType *): Assertion `Kind.getKind() == InitializationKind::IK_Copy || Kind.isExplicitCast() || Kind.getKind() == InitializationKind::IK_DirectList' failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
```

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82086
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was addedclang/test/SemaCXX/invalid-template-base-specifier.cpp
Commit 9df3e6e24d610b36e125affb341cecffb63db46e by llvmgnsyncbot
[gn build] Port 96d4ccf00c8
The file was modifiedllvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
Commit bfec030e69afc73b29aa1b66902ae802a448fc19 by hokein.wu
[AST][RecoveryExpr] Populate error-bit from Type to Expr.

Summary: Looks like this is a fallout when we introduce the error-bit in Type.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82099
The file was modifiedclang/include/clang/AST/DependenceFlags.h
The file was modifiedclang/test/SemaCXX/invalid-template-base-specifier.cpp
Commit b769eb02b526e3966847351e15d283514c2ec767 by simon.tatham
[ARM][BFloat] Legalize bf16 type even without fullfp16.

Summary:
This change permits scalar bfloats to be loaded, stored, moved and
used as function call arguments and return values, whenever the bf16
feature is supported by the subtarget.

Previously that was only supported in the presence of the fullfp16
feature, because the code generation strategy depended on instructions
from that extension. This change adds alternative code generation
strategies so that those operations can be done even without fullfp16.

The strategy for loads and stores is to replace VLDRH/VSTRH with
integer LDRH/STRH plus a move between register classes. I've written
isel patterns for those, conditional on //not// having the fullfp16
feature (so that in the fullfp16 case, the existing patterns will
still be used).

For function arguments and returns, instead of writing isel patterns
to match `VMOVhr` and `VMOVrh`, I've avoided generating those SDNodes
in the first place, by factoring out the code that constructs them
into helper functions `MoveToHPR` and `MoveFromHPR` which have a
fallback for non-fullfp16 subtargets.

The current output code is not especially pretty: in the new test file
you can see unnecessary store/load pairs implementing no-op bitcasts,
and lots of pointless moves back and forth between FP registers and
GPRs. But it at least works, which is an improvement on the previous
situation.

Reviewers: dmgreen, SjoerdMeijer, stuij, chill, miyuki, labrinea

Reviewed By: dmgreen, labrinea

Subscribers: labrinea, kristof.beyls, hiraditya, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82372
The file was modifiedllvm/lib/Target/ARM/ARMPredicates.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrVFP.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was addedllvm/test/CodeGen/ARM/arm-bf16-pcs.ll
Commit 521ac0b5cea02f629d035f807460affbb65ae7ad by alex-t
[AMDGPU] Enable compare operations to be selected by divergence

Summary: Details: This patch enables SETCC to be selected to S_CMP_* if uniform and V_CMP_* if divergent.

Reviewers: rampitec, arsenm

Reviewed By: rampitec

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82194
The file was modifiedllvm/test/CodeGen/AMDGPU/cndmask-no-def-vcc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/icmp64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn.private-memory.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uint_to_fp.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select-vectors.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shift-i128.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/uniform-cfg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sad.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vselect.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/setcc64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/setcc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-extract-insert.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/zero_extend.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/udivrem.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-select-ptr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/i1-copy-from-loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uint_to_fp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sign_extend.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fshr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_vector_elt-i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.is.shared.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/selectcc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extractelt-to-trunc.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/or.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.icmp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.mulo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sint_to_fp.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_cndmask.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_vector_elt-f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ctlz_zero_undef.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-negated-cond.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fshl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/saddo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdiv64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/control-flow-optnone.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/udiv64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/srem64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sint_to_fp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.is.private.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/min.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select-opt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ctlz.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/setcc-opt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/selectcc-opt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.round.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/addrspacecast.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/loop_break.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/urem64.ll
Commit 7b72cb47e6cd9d67f7d4b5ef4d66db6c516f80a9 by flo
[DSE,MSSA] Precommit small test changes for D72631.
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memintrinsics.ll
Commit 4bfa43809fe6780159a4980cf601c504cbec6f32 by kkleine
[lldb] fix typo in docs: withing -> within
The file was modifiedlldb/docs/resources/caveats.rst
Commit 1b090db0df47f3ebf6acab0316180267e6b96f43 by victor.campos
[ARM] Improve diagnostics message when Neon is unsupported

Summary:
Whenever Neon is not supported, a generic message is printed:

  error: "NEON support not enabled"

Followed by a series of other error messages that are not useful once
the first one is printed.

This patch gives a more precise message in the case where Neon is
unsupported because an invalid float ABI was specified: the soft float
ABI.

  error: "NEON intrinsics not available with the soft-float ABI. Please
  use -mfloat-abi=softfp or -mfloat-abi=hard"

This message is the same one that GCC gives, so it is also making their
diagnostics more compatible with each other.

Also, by rearranging preprocessor directives, these "unsupported" error
messages are now the only ones printed out, which is also GCC's
behaviour.

Differential Revision: https://reviews.llvm.org/D81847
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
Commit 3d6cab271c7cecf105b77834d837ccd4406700d7 by kerry.mclaughlin
[AArch64][SVE] Add bfloat16 support to load intrinsics

Summary:
Bfloat16 support added for the following intrinsics:
- LD1
- LD1RQ
- LDNT1
- LDNF1
- LDFF1

Reviewers: sdesmalen, c-rhodes, efriedma, stuij, fpetrogalli, david-arm

Reviewed By: fpetrogalli

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

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D82298
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ld1.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-loads.ll
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-loads-ff.ll
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-imm.ll
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1-bfloat.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-reg.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-loads-nf.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-masked-ldst-nonext.ll
Commit 26502ad609222321f6384e3317fc03165c844be1 by cullen.rhodes
[AArch64][SVE] Add bfloat16 support to perm and select intrinsics

Summary:
Added for following intrinsics:

  * zip1, zip2, zip1q, zip2q
  * trn1, trn2, trn1q, trn2q
  * uzp1, uzp2, uzp1q, uzp2q
  * splice
  * rev
  * sel

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D82182
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-fp64-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-fp64-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64-bfloat.c
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-fp64-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-fp64-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice-bfloat.c
Commit fd2c4b8999322031b6cd555007ca69fd83270958 by cullen.rhodes
[AArch64][SVE] Add bfloat16 support to svlen intrinsic

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D82186
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len-bfloat.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 05e10ee0aee02dd3ff30f59a0b5e1faa2d5a21a0 by cullen.rhodes
[AArch64][SVE2] Add bfloat16 support to whilerw/whilewr intrinsics

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D82399
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
The file was modifiedllvm/test/CodeGen/AArch64/sve2-intrinsics-contiguous-conflict-detection.ll
Commit 72131423cc952ccbd6d8e021ff7c04fa22297fe3 by flo
[libclang] Extend clang_Cursor_Evaluate().

Let this function (try to) evaluate expressions, in addition to
declarations and compound statements.

Patch by Christian Kandeler <christian.kandeler@qt.io>

Reviewers: nik, akyrtzi, arphaman, jkorous

Reviewed By: jkorous

Differential Revision: https://reviews.llvm.org/D80279
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/test/Index/evaluate-cursor.cpp
Commit 31fe8c2763a8982e16646f85ac09f2362341306c by grimar
[llvm-readelf] - Don't crash when e_shstrndx==SHN_XINDEX, but there is no section header.

Currently we crash when trying to print --sections and the SHN_XINDEX escape value
is used for the e_shstrndx field, but there is no section header at index 0 to
read the value from.

Differential revision: https://reviews.llvm.org/D82374
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/test/tools/llvm-readobj/ELF/many-sections.s
Commit 0fad648b65b99b68040fa26c5da9c0bec5b0aa1d by krasimir
[clang-format] restore indent in conditionals when AlignOperands is DontAlign

Summary:
After D50078, we're experiencing unexpected un-indent using a style combining `AlignOperands: DontAlign` with `BreakBeforeTernaryOperators: false`, such as Google's JavaScript style:
```
% bin/clang-format -style=google ~/test.js
aaaaaaaaaaa = bbbbbbbb ? cccccccccccccccccc() :
dddddddddd             ? eeeeeeeeeeeeee :
                         fffff;
```
The issue lies with the interaction of `AlignOperands: DontAlign` and the edited code section in ContinuationIndenter.cpp, which de-dents the intent by `Style.ContinuationIndentWidth`. From [[ https://github.com/llvm/llvm-project/blob/ac3e5c4d93fbe7fb2db3c745c721aff41cc1b851/clang/include/clang/Format/Format.h#L170 | the documentation ]] of AlignOperands: DontAlign:
> The wrapped lines are indented `ContinuationIndentWidth` spaces from the start of the line.
So the de-dent effectively erases the necessary `ContinuationIndentWidth` in that case.

This patch restores the `AlignOperands: DontAlign` behavior, producing:
```
% bin/clang-format -style=google ~/test.js
aaaaaaaaaaa = bbbbbbbb ? cccccccccccccccccc() :
    dddddddddd         ? eeeeeeeeeeeeee :
                         fffff;
```

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82199
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/ContinuationIndenter.cpp
Commit 2ace69339ffe3d3432b1fb930f51b490bb8856c8 by Alexander.Richardson
Don't install clang-import-test

I have been trying to reduce the installed size of our CHERI toolchain and
noticed that this tool was being installed even with -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON.
This appears to be a test binary that should not be installed.

Reviewed By: v.g.vassilev
Differential Revision: https://reviews.llvm.org/D82169
The file was modifiedclang/tools/clang-import-test/CMakeLists.txt
Commit 7ebcb489e93ee0475626f6dacac118eff497fe5e by llvm-dev
StackLifetime.h - remove unused AliasAnalysis.h include. NFC.
The file was modifiedllvm/include/llvm/Analysis/StackLifetime.h
Commit 90ad37646f94c504f4b39de727be6650989a3486 by llvm-dev
ObjCARC.h - remove unnecessary includes. NFC.

Add implicit InstIterator.h dependency in ObjCARCContract.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARC.h
Commit 73b7ff4e16c6c806adca57998cf4144a3be59c49 by protze
[OpenMP] NFC: Create OpenMP release notes file
The file was addedopenmp/docs/ReleaseNotes.rst
Commit 0f426935bb5ff26c0383b76d7986ca04183ff1ab by sstipanovic
[OpenMPOpt] ICV macro definitions

Summary:
This defines some basic information about ICVs in `OMPKinds.def`.
We also emit remarks with initial values for each function (which are default for now)
as a way to test this.

Reviewers: jdoerfert, JonChesterfield, hamax97, jhuber6

Subscribers: yaxunl, hiraditya, guansong, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82193
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was addedllvm/test/Transforms/OpenMP/icv_remarks.ll
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
Commit 4e62c6359c7f9c0939c2a9072f8f1c41b2628412 by flo
[DSE] Eliminate stores at the end of the function.

This patch add support for eliminating MemoryDefs that do not have any
aliasing users, which indicates that there are no reads/writes to the
memory location until the end of the function.

To eliminate such defs, we have to ensure that the underlying object is
not visible in the caller and does not escape via returning. We need a
separate check for that, as InvisibleToCaller does not consider returns.

Reviewers: dmgreen, rnk, efriedma, bryant, asbirlea, Tyker, george.burgess.iv

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D72631
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-captures.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-multipath.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/libcalls.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-memintrinsics.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/operand-bundles.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memintrinsics.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-simple.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/2011-09-06-EndOfFunction.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-malloc-free.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/mda-with-dbg-values.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-exceptions.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple-todo.ll