SuccessChanges

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)
Commit c89b3af0e3e970820ed35798ab2516459a8d829d by craig.topper
[X86] Pre-commit test cases for D87863. NFC
The file was modifiedllvm/test/CodeGen/X86/masked_load.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll (diff)
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/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/masked_load.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll (diff)
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 (diff)
The file was modifiedclang-tools-extra/clangd/index/FileIndex.h (diff)
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 (diff)
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp (diff)
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 modifiedcompiler-rt/lib/xray/xray_mips64.cpp (diff)
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp (diff)
The file was modifiedllvm/test/CodeGen/Mips/xray-mips-attribute-instrumentation.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/xray-section-group.ll (diff)
The file was modifiedcompiler-rt/lib/xray/xray_mips.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (diff)
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/notdead_region_exitphi.ll (diff)
The file was modifiedpolly/lib/Support/RegisterPasses.cpp (diff)
The file was modifiedpolly/test/Simplify/dead_instruction.ll (diff)
The file was modifiedpolly/test/Simplify/notdead_region_innerphi.ll (diff)
The file was modifiedpolly/test/Simplify/overwritten_3store.ll (diff)
The file was modifiedpolly/test/Simplify/pass_existence.ll (diff)
The file was modifiedpolly/test/Simplify/phi_in_regionstmt.ll (diff)
The file was modifiedpolly/test/Simplify/redundant_differentindex.ll (diff)
The file was modifiedpolly/test/Simplify/redundant.ll (diff)
The file was modifiedpolly/test/Simplify/overwritten.ll (diff)
The file was modifiedpolly/lib/Support/PollyPasses.def (diff)
The file was modifiedpolly/lib/Transform/Simplify.cpp (diff)
The file was modifiedpolly/test/Simplify/dead_access_phi.ll (diff)
The file was modifiedpolly/test/Simplify/overwritten_loadbetween.ll (diff)
The file was modifiedpolly/include/polly/Simplify.h (diff)
The file was modifiedpolly/test/Simplify/notredundant_region_middle.ll (diff)
The file was modifiedpolly/test/Simplify/notredundant_synthesizable_unknownit.ll (diff)
The file was modifiedpolly/test/Simplify/dead_access_load.ll (diff)
The file was modifiedpolly/test/Simplify/dead_access_value.ll (diff)
The file was modifiedpolly/test/Simplify/redundant_storebetween.ll (diff)
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/test/CodeGen/PowerPC/fp-strict-conv-f128.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-conv.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
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/Type.h (diff)
The file was modifiedclang/lib/Sema/SemaTemplate.cpp (diff)
The file was modifiedclang/test/CXX/temp/temp.param/p7.cpp (diff)
The file was modifiedclang/lib/AST/DeclCXX.cpp (diff)
The file was modifiedclang/test/SemaCXX/invalid-template-params.cpp (diff)
The file was modifiedclang/include/clang/AST/DeclCXX.h (diff)
The file was modifiedclang/lib/AST/Type.cpp (diff)
The file was addedclang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp (diff)
The file was modifiedclang/include/clang/AST/CXXRecordDeclDefinitionBits.def (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)