Changes

Summary

  1. [clangd] Refactor IncludeStructure: use File (unsigned) for most computations (details)
  2. Attempt to fix Windows builds after D110386 (details)
  3. Fix URLs to the prod/staging buildbot master in the doc (details)
  4. [LiveIntervals] Improve repair after convertToThreeAddress (details)
  5. [LiveIntervals] Repair subreg ranges in processTiedPairs (details)
  6. [mlir] Add min/max operations to Standard. (details)
  7. Investigate D110386 Windows failures (details)
Commit 1bcd6b51a98263d440ff7549070060f7e7b0326a by kbobyrev
[clangd] Refactor IncludeStructure: use File (unsigned) for most computations

Preparation for D108194.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D110386
The file was modifiedclang-tools-extra/clangd/Headers.cpp
The file was modifiedclang-tools-extra/clangd/Headers.h
The file was modifiedclang-tools-extra/clangd/unittests/HeadersTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
Commit e50771181b7e0d96b30ee33049dc05172125b927 by kbobyrev
Attempt to fix Windows builds after D110386

http://45.33.8.238/win/46013/summary.html
The file was modifiedclang-tools-extra/clangd/unittests/HeadersTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
Commit 90babc86c3feda7f9395b36ccfe72ca61bbc39e2 by joker.eph
Fix URLs to the prod/staging buildbot master in the doc

Differential Revision: https://reviews.llvm.org/D110565
The file was modifiedllvm/docs/HowToAddABuilder.rst
Commit b2b1a8b833905e159fe445ba1d0baae427a118cc by jay.foad
[LiveIntervals] Improve repair after convertToThreeAddress

After TwoAddressInstructionPass calls
TargetInstrInfo::convertToThreeAddress, improve the LiveIntervals repair
to cope with convertToThreeAddress creating more than one new
instruction.

This mostly seems to benefit X86. For example in
test/CodeGen/X86/zext-trunc.ll it converts:

  %4:gr32 = ADD32rr %3:gr32(tied-def 0), %2:gr32, implicit-def dead $eflags

to:

  undef %6.sub_32bit:gr64 = COPY %3:gr32
  undef %7.sub_32bit:gr64_nosp = COPY %2:gr32
  %4:gr32 = LEA64_32r killed %6:gr64, 1, killed %7:gr64_nosp, 0, $noreg

Differential Revision: https://reviews.llvm.org/D110335
The file was modifiedllvm/lib/CodeGen/TwoAddressInstructionPass.cpp
The file was modifiedllvm/test/CodeGen/X86/zext-trunc.ll
Commit 20c02807333a47000879e0f673cdf2d6b07148dd by jay.foad
[LiveIntervals] Repair subreg ranges in processTiedPairs

In TwoAddressInstructionPass::processTiedPairs, update subranges of the
live interval for RegB as well as the main range.

This is a small step towards switching TwoAddressInstructionPass over
from LiveVariables to LiveIntervals. Currently this path is only tested
if you explicitly enable -early-live-intervals.

Differential Revision: https://reviews.llvm.org/D110526
The file was modifiedllvm/test/CodeGen/Thumb2/mve-multivec-spill.ll
The file was modifiedllvm/test/CodeGen/SystemZ/subregliveness-01.ll
The file was modifiedllvm/lib/CodeGen/TwoAddressInstructionPass.cpp
The file was modifiedllvm/test/CodeGen/Hexagon/swp-vect-dotprod.ll
Commit 9fb57c8c1dd87df36daf7b6f7dee3b7423475afc by pifon
[mlir] Add min/max operations to Standard.

[RFC: Add min/max ops](https://llvm.discourse.group/t/rfc-add-min-max-operations/4353)

I was following the naming style for Arith dialect in
https://reviews.llvm.org/D110200,
i.e. similar to DivSIOp and DivUIOp I defined MaxSIOp, MaxUIOp.

When Arith PR is landed, I will migrate these ops as well.

Differential Revision: https://reviews.llvm.org/D110540
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
The file was modifiedmlir/test/Dialect/Standard/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/docs/Rationale/Rationale.md
The file was modifiedmlir/test/Dialect/Standard/expand-ops.mlir
Commit 7394d3ba276adeb1527428b2355a920129a2b9b1 by kbobyrev
Investigate D110386 Windows failures

Add more information for test failures inspection.
The file was modifiedclang-tools-extra/clangd/unittests/HeadersTests.cpp
The file was modifiedclang-tools-extra/clangd/Headers.h
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp