SuccessChanges

Summary

  1. [Matrix] Fix transpose-multiply folding if transpose has multiple uses (details)
  2. [flang] CheckConformance: tristate-ify result (details)
  3. [SampleFDO] New hierarchical discriminator for FS SampleFDO (llvm-profdata part) (details)
  4. [IndVars] Don't forget value when inferring nowrap flags (details)
  5. [mailmap] Add the canonical spelling of my name (details)
Commit ffde966cd9bfd3f5aeb7bb26e8c0b8e71ec14899 by anemet
[Matrix] Fix transpose-multiply folding if transpose has multiple uses

Don't add it to FusedInsts in this case.

Differential Revision: https://reviews.llvm.org/D103627
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-right-transpose.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit dfecbcae0d6434fa1daafe66ba5d90f816d4268b by pklausler
[flang] CheckConformance: tristate-ify result

To ensure that errors are emitted by CheckConformance and
its callers in all situations, it's necessary for the returned result
of that function to distinguish between three possible
outcomes: the arrays are known to conform at compilation time,
the arrays are known to not conform (and a message has been
produced), and an indeterminate result in which is not possible
to determine conformance.  So convert CheckConformance's
result into an optional<bool>, and convert its confusing
Boolean flag arguments into a bit-set of named flags too.

Differential Revision: https://reviews.llvm.org/D103654
The file was modifiedflang/lib/Evaluate/fold-implementation.h
The file was modifiedflang/lib/Semantics/check-call.cpp
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/lib/Evaluate/shape.cpp
The file was modifiedflang/lib/Evaluate/characteristics.cpp
The file was modifiedflang/lib/Evaluate/check-expression.cpp
The file was modifiedflang/lib/Semantics/pointer-assignment.cpp
The file was modifiedflang/include/flang/Evaluate/characteristics.h
The file was modifiedflang/include/flang/Evaluate/shape.h
Commit 8d581857d77129b5a63515ca6794bba88418e0fd by xur
[SampleFDO] New hierarchical discriminator for FS SampleFDO (llvm-profdata part)

This patch was split from https://reviews.llvm.org/D102246
[SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO
This is for llvm-profdata part of change. It sets the bit masks for the
profile reader in llvm-profdata. Also add an internal option
"-fs-discriminator-pass" for show and merge command to process the profile
offline.

This patch also moved setDiscriminatorMaskedBitFrom() to
SampleProfileReader::create() to simplify the interface.

Differential Revision: https://reviews.llvm.org/D103550
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/include/llvm/Support/Discriminator.h
The file was addedllvm/test/tools/llvm-profdata/sample-fs.test
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was addedllvm/test/tools/llvm-profdata/Inputs/sample-fs.proftext
The file was modifiedllvm/lib/Target/X86/X86InsertPrefetch.cpp
Commit 14f350daf290e9d7f3eef700acf930d8b0887007 by nikita.ppv
[IndVars] Don't forget value when inferring nowrap flags

When SimplifyIndVars infers IR nowrap flags from SCEV, this may
happen in two ways: Either nowrap flags were already present in
SCEV and just get transferred to IR. Or zero/sign extension of
addrecs infers additional nowrap flags, and those get transferred
to IR. In the latter case, calling forgetValue() ensures that the
newly inferred nowrap flags get propagated to any other SCEV
expressions based on the addrec. However, the invalidation can
also have a major compile-time effect in some cases. For
https://bugs.llvm.org/show_bug.cgi?id=50384 with n=512 compile-
time drops from 7.1s to 0.8s without this invalidation. At the
same time, removing the invalidation doesn't affect any codegen
in test-suite.

Differential Revision: https://reviews.llvm.org/D103424
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Commit 72177e9fa53637efad063168d3b4888adac78d4d by martin
[mailmap] Add the canonical spelling of my name
The file was modified.mailmap