SuccessChanges

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

Summary

  1. [X86] Pre-commit test cases for D87863. NFC (details)
  2. [X86] Make reduceMaskedLoadToScalarLoad/reduceMaskedStoreToScalarStore work for avx512 after type legalization. (details)
  3. [clangd] Fix typo in field name (details)
  4. [llvm-profdata]Fix llvm-profdata crash on compact binary profile (details)
  5. [XRay] Change mips to use version 2 sled (PC-relative address) (details)
  6. [Polly][NewPM] Port Simplify to the new pass manager (details)
  7. [PowerPC] Pass nofpexcept flag to custom lowered constrained ops (details)
  8. [c++20] For P1907R1: Add checking for structural types for non-type (details)
  9. [lld-macho] Mark weak symbols in symbol table (details)
  10. [lld-macho] Export trie addresses should be relative to the image base (details)
  11. [EHStreamer] Fix a "Continue to action" -fverbose-asm comment when multi-byte LEB128 encoding is needed (details)
  12. [docs][flang] Fix typos (details)
  13. Add missing new line after debug logging in MLIRContext (NFC) (details)
  14. [c++20] Consistent with the intent to allow all plausible types in (details)
  15. [SyntaxTree][Synthesis] Improve testing `createLeaf` (details)
  16. [AST] Fix dependence-bits for CXXDefaultInitExpr. (details)
  17. [SyntaxTree] Test for '\' inside token. (details)
  18. [clang][AArch64] Correct return type of Neon vqmovun intrinsics (details)
Commit c89b3af0e3e970820ed35798ab2516459a8d829d by craig.topper
[X86] Pre-commit test cases for D87863. NFC
The file was modifiedllvm/test/CodeGen/X86/masked_load.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll
Commit a74b1faba242e0ca4608e5d90495766a272758f0 by craig.topper
[X86] Make reduceMaskedLoadToScalarLoad/reduceMaskedStoreToScalarStore work for avx512 after type legalization.

The scalar elements of the vXi1 build_vector will have been type legalized to i8 by padding with 0s. So we can't check for all ones. Instead we should just look at bit 0 of the constant.

Differential Revision: https://reviews.llvm.org/D87863
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll
The file was modifiedllvm/test/CodeGen/X86/masked_load.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 90a8c44d92b217eccba2467a11d0658675b5fe80 by zeratul976
[clangd] Fix typo in field name

Differential Revision: https://reviews.llvm.org/D87995
The file was modifiedclang-tools-extra/clangd/index/FileIndex.cpp
The file was modifiedclang-tools-extra/clangd/index/FileIndex.h
Commit a8b8a9374a3c555ac8528fc37b92935554083b9f by aktoon
[llvm-profdata]Fix llvm-profdata crash on compact binary profile

llvm-profdata `show` and `overlap` will crash in `getFuncName` on compact binary profile. This change fixed this by switching to use `getName`.

`getFuncName` is misused in llvm-profdata. As showed below, `GUIDToFuncNameMap` is only supported in compilation mode, there is no initialization in llvm-profdata. Compact profile whose MD5 is true would try to query `GUIDToFuncNameMap` then caused the crash. So fix this by switching to `getName`

Reviewed By: MaskRay, wmi, wenlei, weihe, hoy

Differential Revision: https://reviews.llvm.org/D87740
The file was modifiedllvm/test/tools/llvm-profdata/compact-sample.proftext
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
Commit d06485685d421c944afeffc3ad59f6f6f78afd72 by i
[XRay] Change mips to use version 2 sled (PC-relative address)

Follow-up to D78590. All targets use PC-relative addresses now.

Reviewed By: atanasyan, dberris

Differential Revision: https://reviews.llvm.org/D87977
The file was modifiedllvm/test/CodeGen/Mips/xray-mips-attribute-instrumentation.ll
The file was modifiedcompiler-rt/lib/xray/xray_mips64.cpp
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedcompiler-rt/lib/xray/xray_mips.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/Mips/xray-section-group.ll
Commit deb00cf0b5abd45e160f1e0ff3e3dcce97b071e5 by pzheng
[Polly][NewPM] Port Simplify to the new pass manager

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D87328
The file was modifiedpolly/test/Simplify/notredundant_synthesizable_unknownit.ll
The file was modifiedpolly/lib/Transform/Simplify.cpp
The file was modifiedpolly/test/Simplify/overwritten.ll
The file was modifiedpolly/test/Simplify/overwritten_loadbetween.ll
The file was modifiedpolly/test/Simplify/notdead_region_exitphi.ll
The file was modifiedpolly/test/Simplify/dead_access_phi.ll
The file was modifiedpolly/test/Simplify/dead_instruction.ll
The file was modifiedpolly/test/Simplify/redundant.ll
The file was modifiedpolly/test/Simplify/redundant_storebetween.ll
The file was modifiedpolly/test/Simplify/notdead_region_innerphi.ll
The file was modifiedpolly/test/Simplify/phi_in_regionstmt.ll
The file was modifiedpolly/lib/Support/PollyPasses.def
The file was modifiedpolly/test/Simplify/dead_access_load.ll
The file was modifiedpolly/test/Simplify/redundant_differentindex.ll
The file was modifiedpolly/test/Simplify/overwritten_3store.ll
The file was modifiedpolly/include/polly/Simplify.h
The file was modifiedpolly/test/Simplify/notredundant_region_middle.ll
The file was modifiedpolly/test/Simplify/pass_existence.ll
The file was modifiedpolly/lib/Support/RegisterPasses.cpp
The file was modifiedpolly/test/Simplify/dead_access_value.ll
Commit 1d782c29872ce3dcc4b64bfde97e197e9042fbfb by qiucofan
[PowerPC] Pass nofpexcept flag to custom lowered constrained ops

This is a follow-up of D86605. For strict DAG FP node, if its FP
exception behavior metadata is ignore, it should have nofpexcept flag.
But during custom lowering, this flag isn't passed down.

This is also seen on X86 target.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D87390
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-conv.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
Commit 0cd73dbe2c0d169ec2cdd9a8264f4ee1695b53b7 by richard
[c++20] For P1907R1: Add checking for structural types for non-type
template parameters.

No support for the new kinds of non-type template argument yet.

This is not entirely NFC for prior language modes: we have historically
incorrectly accepted rvalue references as the types of non-type template
parameters. Such invalid code is now rejected.
The file was modifiedclang/include/clang/AST/CXXRecordDeclDefinitionBits.def
The file was modifiedclang/test/CXX/temp/temp.param/p7.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/Type.cpp
The file was addedclang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/test/SemaCXX/invalid-template-params.cpp
Commit 0a7e56f74c2adde9a4bc2c1163e7ed3aff984584 by jezng
[lld-macho] Mark weak symbols in symbol table

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D86908
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/test/MachO/symtab.s
Commit abd70fb3983f342bc1c90f9c70a7b59790ad5206 by jezng
[lld-macho] Export trie addresses should be relative to the image base

We didn't notice this earlier this we were only testing the export trie
encoded in a dylib, whose image base starts at zero. But a regular
executable contains `__PAGEZERO`, which means it has a non-zero image
base. This bug was discovered after attempting to run some programs that
performed `dlopen` on an executable.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D87780
The file was modifiedlld/MachO/ExportTrie.cpp
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/test/MachO/export-trie.s
The file was modifiedlld/MachO/ExportTrie.h
Commit dbc616e9825080f617865f7698647985d7c24e5e by i
[EHStreamer] Fix a "Continue to action" -fverbose-asm comment when multi-byte LEB128 encoding is needed

This only happens with more than 64 action records and it is difficult to construct a test.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
Commit 000eb1f314c1fc194454ad6c128f3c110eb8a34d by SourabhSingh.Tomar
[docs][flang] Fix typos

Reviewed By: SouraVX

Differential Revision: https://reviews.llvm.org/D87885
The file was modifiedflang/docs/Calls.md
Commit dabe67948841542d14823976c65baecaaabb9bf1 by joker.eph
Add missing new line after debug logging in MLIRContext (NFC)
The file was modifiedmlir/lib/IR/MLIRContext.cpp
Commit aa769358d8c80d06963d7bc529dd6edd76d3f0de by richard
[c++20] Consistent with the intent to allow all plausible types in
non-type template parameters, permit vector types.
The file was modifiedclang/test/CXX/temp/temp.param/p7.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/AST/Type.cpp
Commit bb5b28f12fbd029773dc93d18a82ef42f4889b2a by ecaldas
[SyntaxTree][Synthesis] Improve testing `createLeaf`

The new test shows that `createLeaf` depends on the C++ version.

Differential Revision: https://reviews.llvm.org/D87896
The file was modifiedclang/unittests/Tooling/Syntax/SynthesisTest.cpp
Commit f8f1e5fb39d20985974658fb3d4401a80c0fcccd by hokein.wu
[AST] Fix dependence-bits for CXXDefaultInitExpr.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D87382
The file was modifiedclang/test/SemaCXX/invalid-constructor-init.cpp
The file was modifiedclang/include/clang/AST/ComputeDependence.h
The file was modifiedclang/lib/AST/ComputeDependence.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit e616a4259889b55ed1bf5bf095f0e59658c6e311 by ecaldas
[SyntaxTree] Test for '\' inside token.

Differential Revision: https://reviews.llvm.org/D87895
The file was modifiedclang/unittests/Tooling/Syntax/BuildTreeTest.cpp
Commit 349af8054218017a2ac0c4bfeddd63e6ccbf4a21 by david.spickett
[clang][AArch64] Correct return type of Neon vqmovun intrinsics

Neon intrinsics vqmovunh_s16, vqmovuns_s32, vqmovund_s64
should have unsigned return types.

See https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics?search=vqmovun

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

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D85118
The file was modifiedclang/test/CodeGen/aarch64-neon-intrinsics.c
The file was modifiedclang/test/Sema/arm64-neon-header.c
The file was modifiedclang/include/clang/Basic/arm_neon.td
The file was modifiedclang/test/CodeGen/aarch64-neon-misc.c