SuccessChanges

Summary

  1. [flang] Disallow INTENT attribute on procedure dummy arguments (details)
  2. [TargetLowering] Don't speculatively call ComputeNumSignBits. NFC (details)
  3. [flang][driver] Copy test file into a temp dir when testing (nfc) (details)
  4. [clangd] Update CC Ranking model with better sampling. (details)
  5. [OpenCL][Docs] Fixed cross-section reference in OpenCLSupport (details)
Commit 1e1a011b09d0e6e9ff62b37721906485c386708c by psteinfeld
[flang] Disallow INTENT attribute on procedure dummy arguments

C843 states that "An entity with the INTENT attribute shall be a dummy
data object or a dummy procedure pointer."  This change enforces that
and fixes some tests that erroneously violated this rule.

Differential Revision: https://reviews.llvm.org/D94781
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was modifiedflang/test/Semantics/separate-mp02.f90
The file was modifiedflang/test/Semantics/call09.f90
The file was modifiedflang/test/Semantics/assign03.f90
Commit 4c5066b0789d9c38d6362a684346b68261911d29 by craig.topper
[TargetLowering] Don't speculatively call ComputeNumSignBits. NFC

These methods are recursive so a little costly.

We only look at the result in one place in this function and it's
conditional. We also only need the second call if the first had
enough returned enough sign bits.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit b6e06a740c26b2b9d91455ad49a5009335089242 by andrzej.warzynski
[flang][driver] Copy test file into a temp dir when testing (nfc)

The following driver invocation will generate an output file
in the same directory as the input file:

```
flang-new -fc1 -test-io test-input.f90
```

This is the desired behaviour. However, when testing we need to make
sure that we don't pollute the source directory. To this end, copy the
input file into a temporary directory before testing.

This is similar to https://reviews.llvm.org/D94243.
The file was modifiedflang/test/Frontend/input-output-file.f90
Commit d5047d762f391c94939d67fc84cae25b24125694 by usx
[clangd] Update CC Ranking model with better sampling.

A better sampling strategy was used to generate the dataset for this
model.
New signals introduced in this model:
- NumNameInContext: Number of words in the context that matches the name
of the candidate.
- FractionNameInContext: Fraction of the words in context matching the
name of the candidate.

We remove the signal `IsForbidden` from the model and down rank
forbidden signals aggresively.

Differential Revision: https://reviews.llvm.org/D94697
The file was modifiedclang-tools-extra/clangd/Quality.cpp
The file was modifiedclang-tools-extra/clangd/quality/model/features.json
The file was modifiedclang-tools-extra/clangd/quality/model/forest.json
Commit bc84f89c71ab62d510973f64f022bee31e53af96 by anastasia.stulova
[OpenCL][Docs] Fixed cross-section reference in OpenCLSupport

Tags: #clang
The file was modifiedclang/docs/OpenCLSupport.rst