FailedChanges

Summary

  1. Revert "[NewPM][CodeGen] Introduce CodeGenPassBuilder to help build codegen pipeline" (details)
  2. [gn build] Port ad99e34c59b (details)
  3. [PowerPC] Set the mayRaiseFPException for FCMPUS/FCMPUD (details)
  4. [Power10] Enable the heuristic for Power10 and switch the sched model (details)
  5. [AST][FPEnv] Keep FP options in trailing storage of CastExpr (details)
  6. Add raw_fd_stream that supports reading/seeking/writing (details)
  7. Add raw_fd_stream_test.cpp into CMakeLists.txt (details)
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 modifiedllvm/include/llvm/Passes/StandardInstrumentations.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was removedllvm/include/llvm/CodeGen/CGPassBuilderOption.h
The file was removedllvm/include/llvm/CodeGen/CodeGenPassBuilder.h
The file was removedllvm/lib/CodeGen/CodeGenPassBuilder.cpp
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was removedllvm/include/llvm/CodeGen/MachinePassRegistry.def
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/lib/CodeGen/LLVMTargetMachine.cpp
Commit 0e0d93e2f09a3e84cee0e77f0f2510001c2f064a by llvmgnsyncbot
[gn build] Port ad99e34c59b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
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: https://reviews.llvm.org/D83937
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
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: https://reviews.llvm.org/D86865
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/lib/Target/PowerPC/PPC.td
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-tail-calls.ll
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: https://reviews.llvm.org/D85960
The file was modifiedclang/lib/CodeGen/CGBlocks.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/AST/TextNodeDumper.h
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/test/AST/ast-dump-fpfeatures.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/include/clang/AST/ExprObjC.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit 0ece51c60c51f0d4c285dbda3b6cff794041bdd7 by jianzhouzh
Add raw_fd_stream that supports reading/seeking/writing

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

Fixing https://github.com/llvm/llvm-project/commit/0ece51c60c51f0d4c285dbda3b6cff794041bdd7
The file was modifiedllvm/unittests/Support/CMakeLists.txt