SuccessChanges

Summary

  1. [clangd] Don't cancel requests based on "updates" with same content (details)
  2. [HotColdSplit] Reflect full cost of parameters in split penalty (details)
  3. [clangd] Fix windows path handling in .clang-tidy parsing (details)
  4. [FileCheck] Add a literal check directive modifier (details)
Commit 2fced5a07b45ef527ac00a13e63bfca61e407ee3 by sam.mccall
[clangd] Don't cancel requests based on "updates" with same content

There's an unfortunate collision between two features:
- we implicitly cancel certain requests when the file changes, to avoid
   the queue getting clogged building old revisions to service stale requests
- we "reparse-if-needed" by synthesizing a file change, e.g. on didSave

We could explicitly mark these synthetic requests to avoid this, but
looking for changes in file content clutters our APIs less and is
arguably the correct thing to do in any case.

Fixes https://github.com/clangd/clangd/issues/620
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
Commit 1ab4db0f847fa1ddd394dbf54a5051b626eab160 by 1894981+hiraditya
[HotColdSplit] Reflect full cost of parameters in split penalty

Make the penalty for splitting a region more accurately reflect the cost
of materializing all of the inputs/outputs to/from the region.

This almost entirely eliminates code growth within functions which
undergo splitting in key internal frameworks, and reduces the size of
those frameworks between 2.6% to 3%.

rdar://49167240

Patch by: Vedant Kumar(@vsk)
Reviewers: hiraditya,rjf,t.p.northover
Reviewed By: hiraditya,rjf

Differential Revision: https://reviews.llvm.org/D59715
The file was modifiedllvm/test/Transforms/HotColdSplit/apply-penalty-for-inputs.ll
The file was modifiedllvm/test/Transforms/HotColdSplit/assumption-cache-invalidation.ll
The file was modifiedllvm/test/Transforms/HotColdSplit/apply-penalty-for-outputs.ll
The file was modifiedllvm/lib/Transforms/IPO/HotColdSplitting.cpp
The file was modifiedllvm/test/Transforms/CodeExtractor/extract-assume.ll
The file was modifiedllvm/test/Transforms/HotColdSplit/apply-successor-penalty.ll
Commit 2b62e62328841b7d2dc01e390e13fb9151d06263 by sam.mccall
[clangd] Fix windows path handling in .clang-tidy parsing
The file was modifiedclang-tools-extra/clangd/TidyProvider.cpp
Commit 44f399ccc12e27d20bae1ea7e712ef7f71e2ff3a by jpienaar
[FileCheck] Add a literal check directive modifier

Introduce CHECK modifiers that change the behavior of the CHECK
directive. Also add a LITERAL modifier for cases where matching could
end requiring escaping strings interpreted as regex where only
literal/fixed string matching is desired (making the CHECK's more
difficult to write/fragile and difficult to interpret).
The file was addedllvm/test/FileCheck/check-literal.txt
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
The file was modifiedllvm/lib/FileCheck/FileCheck.cpp
The file was modifiedllvm/include/llvm/FileCheck/FileCheck.h