SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. NativeFormatting.h - reduce raw_ostream.h include to forward declaration. NFC. (details)
  2. [X86] Add tests showing failure of combineVectorCompareAndMaskUnaryOp to handle 'all-bits' general case (details)
  3. [clangd] Fix a data race in RecordsLatencies test (details)
  4. [X86] Add test cases for 'abs from mul patterns' (PR45691) (details)
  5. [X86] Allow combineVectorCompareAndMaskUnaryOp to handle 'all-bits' general case (details)
  6. [X86] Remove mul(abs(x),abs(x)) -> mul(x,x) tests (details)
  7. LLParser.h - remove unused ValueHandle.h include. NFC. (details)
  8. LTO.h - reduce includes to forward declarations. NFC. (details)
Commit 65399cde4b454badd8888c0b2e59e3e418d46993 by llvm-dev
NativeFormatting.h - reduce raw_ostream.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/Support/NativeFormatting.h
The file was modifiedllvm/lib/Support/NativeFormatting.cpp
Commit fccd7965657505de85c5d747f1c33638ae916b0f by llvm-dev
[X86] Add tests showing failure of combineVectorCompareAndMaskUnaryOp to handle 'all-bits' general case

For the sint_to_fp(and(X,C)) -> and(X,sint_to_fp(C)) fold, combineVectorCompareAndMaskUnaryOp only matches X against SETCC (with an all-bits result) when really it could accept anything that ComputeNumSignBits says is all-bits.

Noticed while investigating mask promotion issues in PR45808
The file was modifiedllvm/test/CodeGen/X86/x86-setcc-int-to-fp-combine.ll
Commit 84cbd472e59236bd8ec541bc764ababc6a10a878 by kadircet
[clangd] Fix a data race in RecordsLatencies test
The file was modifiedclang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
Commit 7425bdbd2faa9483be71dc5674264540d3cb4b84 by llvm-dev
[X86] Add test cases for 'abs from mul patterns' (PR45691)
The file was modifiedllvm/test/CodeGen/X86/combine-mul.ll
Commit 0e8e731449d8fbfa6ba4523de928b4812ef9f100 by llvm-dev
[X86] Allow combineVectorCompareAndMaskUnaryOp to handle 'all-bits' general case

For the sint_to_fp(and(X,C)) -> and(X,sint_to_fp(C)) fold, allow combineVectorCompareAndMaskUnaryOp to match any X that ComputeNumSignBits says is all-bits, not just SETCC.

Noticed while investigating mask promotion issues in PR45808
The file was modifiedllvm/test/CodeGen/X86/x86-setcc-int-to-fp-combine.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit f4d4e246e0ea137c759632a51b4ca043ed4f27f2 by llvm-dev
[X86] Remove mul(abs(x),abs(x)) -> mul(x,x) tests

This is handled in InstCombine (D79319) and its unlikely that these can occur in DAG (see D79304).
The file was modifiedllvm/test/CodeGen/X86/combine-mul.ll
Commit 4319c89551640d21c42202132439d56359afab1f by llvm-dev
LLParser.h - remove unused ValueHandle.h include. NFC.
The file was modifiedllvm/lib/AsmParser/LLParser.h
Commit 0b9783350b3a9644dc6e0ba94c0f6a87ca45cb36 by llvm-dev
LTO.h - reduce includes to forward declarations. NFC.

Add missing ToolOutputFile.h dependency to BackendUtil.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h