1. [gn] Remove unneeded MC dep from llvm-tblgen (details)
  2. Revert "[NewPM][CodeGen] Introduce CodeGenPassBuilder to help build codegen pipeline" (details)
  3. [gn build] Port ad99e34c59b (details)
  4. [PowerPC] Set the mayRaiseFPException for FCMPUS/FCMPUD (details)
  5. [Power10] Enable the heuristic for Power10 and switch the sched model (details)
  6. [AST][FPEnv] Keep FP options in trailing storage of CastExpr (details)
  7. Add raw_fd_stream that supports reading/seeking/writing (details)
  8. Add raw_fd_stream_test.cpp into CMakeLists.txt (details)
  9. Missing change from previous commit (details)
  10. Add a header file to support ssize_t for windows (details)
Commit 12a281d368e3ae115b2340c45f93b62e20759811 by rnk
[gn] Remove unneeded MC dep from llvm-tblgen

Tablegen does not have link time dependencies on MC. Having llvm-tblgen
depend on it causes it to be rebuilt in the gn build every time somebody
touches any cpp file in llvm/lib/MC* or llvm/lib/DebugInfo/Codeview*.
Touching tablegen invalidates most of the rest of the build, and
re-running it takes a while. This is is annoying for me when swapping
between branches that touch CodeView logic.

This dep was added to LLVMBuild.txt back in 2018, and presumably it was
carried over into the gn build.

Differential Revision:
The file was modifiedllvm/utils/TableGen/LLVMBuild.txt
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/
Commit ad99e34c59b80fd094a6acdbcde4869ff37dac87 by Yuanfang Chen
Revert "[NewPM][CodeGen] Introduce CodeGenPassBuilder to help build codegen pipeline"

This reverts commit 31ecf8d29d81d196374a562c6d2bd2c25a62861e.
This reverts commit 3fdaa8602a086a3fca5f0fc8527536ac659079d0.

There is laying violation for Target->CodeGen.
The file was removedllvm/lib/CodeGen/CodeGenPassBuilder.cpp
The file was removedllvm/include/llvm/CodeGen/CGPassBuilderOption.h
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/include/llvm/Passes/StandardInstrumentations.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/lib/CodeGen/LLVMTargetMachine.cpp
The file was removedllvm/include/llvm/CodeGen/CodeGenPassBuilder.h
The file was removedllvm/include/llvm/CodeGen/MachinePassRegistry.def
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
Commit 0e0d93e2f09a3e84cee0e77f0f2510001c2f064a by llvmgnsyncbot
[gn build] Port ad99e34c59b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/
Commit 528554c39b098e2d9a9c7ec51c77717aa07db2a2 by qshanz
[PowerPC] Set the mayRaiseFPException for FCMPUS/FCMPUD

From ISA, fcmpu will raise the Floating-Point Invalid Operation
Exception (SNaN) if either of the operands is a Signaling NaN by setting
the bit VXSNAN. But the instruction description didn't set the
mayRaiseFPException which might have impact on the scheduling or some
backend optimization.

Reviewed By: qiucf

Differential Revision:
The file was modifiedllvm/lib/Target/PowerPC/
The file was addedllvm/test/CodeGen/PowerPC/nofpexcept.ll
Commit 0680a3d56d8b5bcb6647a1149f0de156f72edf91 by qshanz
[Power10] Enable the heuristic for Power10 and switch the sched model
with P9 Model

Enable the pre-ra and post-ra scheduler strategy for Power10 as we want
to customize the heuristic later. And switch the scheduler model with P9
model before P10 Model is available. The NoSchedModel is modelled as
in-order cpu and the pre-ra scheduler is not bi-directional which will
have big impact on the scheduler.

Reviewed By: jji

Differential Revision:
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-call-linkage-with-calls.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-call-linkage-leaf.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-tail-calls.ll
The file was modifiedllvm/lib/Target/PowerPC/
Commit 6c8041aa0ffed827636935e59c489b1e390c8542 by sepavloff
[AST][FPEnv] Keep FP options in trailing storage of CastExpr

This change allow a CastExpr to have optional FPOptionsOverride object,
stored in trailing storage. Of all cast nodes only ImplicitCastExpr,
CStyleCastExpr, CXXFunctionalCastExpr and CXXStaticCastExpr are allowed
to have FPOptions.

Differential Revision:
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/AST/TextNodeDumper.h
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/AST/ExprObjC.h
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/CodeGen/CGBlocks.cpp
The file was modifiedclang/test/AST/ast-dump-fpfeatures.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
Commit 0ece51c60c51f0d4c285dbda3b6cff794041bdd7 by jianzhouzh
Add raw_fd_stream that supports reading/seeking/writing

This is used by to support bitcode
writer's incremental flush.
The file was addedllvm/unittests/Support/raw_fd_stream_test.cpp
The file was modifiedllvm/include/llvm/Support/raw_ostream.h
The file was modifiedllvm/lib/Support/raw_ostream.cpp
Commit 19531a81f1de8ef8ee219765c74c32c6fcd3323f by jianzhouzh
Add raw_fd_stream_test.cpp into CMakeLists.txt

The file was modifiedllvm/unittests/Support/CMakeLists.txt
Commit 9c651c231f3144f53e13cd0a1747589e1b2edccd by sepavloff
Missing change from previous commit
The file was modifiedclang/test/AST/ast-dump-fpfeatures.cpp
Commit b3f364e8561caeb704f48e962df9c4c0bdad4aa2 by jianzhouzh
Add a header file to support ssize_t for windows

The file was modifiedllvm/include/llvm/Support/raw_ostream.h