SuccessChanges

Summary

  1. Use consistent code for setting FPFeatures from operator constructors. (details)
  2. Always keep unset fields in FPOptionsOverride zeroed. (details)
  3. Replace setter named 'getAsOpaqueInt' with a real getter. (details)
  4. [StackSafety] Skip ambiguous lifetime analysis (details)
  5. Initial MLIR python bindings based on the C API. (details)
  6. [clang] fix a compilation bug (details)
  7. [InstCombine] Fix a compilation bug (details)
Commit ae3067055b33f6ab5657fbae5845cc743b91c299 by richard
Use consistent code for setting FPFeatures from operator constructors.
The file was modifiedclang/lib/AST/Expr.cpp (diff)
Commit ae500e4d0964adea69372d083416b0f13e9a87eb by richard
Always keep unset fields in FPOptionsOverride zeroed.

There are three fields that the FPOptions default constructor sets to
non-zero values; those fields previously could have been zero or
non-zero depending on whether they'd been explicitly removed from the
FPOptionsOverride set. However, that doesn't seem to ever actually
happen, so this is NFC, except that it makes the AST file representation
of FPOptionsOverride make more sense.
The file was modifiedclang/test/PCH/determinism.cpp (diff)
The file was modifiedclang/include/clang/Basic/LangOptions.h (diff)
Commit 948219d1098736758123c43f995ec784db5d921e by richard
Replace setter named 'getAsOpaqueInt' with a real getter.

Clean up a bunch of places where the opaque forms of FPOptions and
FPOptionsOverride were being used inappropriately.
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp (diff)
The file was modifiedclang/lib/Sema/SemaAttr.cpp (diff)
The file was modifiedclang/lib/Sema/Sema.cpp (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp (diff)
The file was modifiedclang/lib/Sema/TreeTransform.h (diff)
The file was modifiedclang/lib/Serialization/ASTReader.cpp (diff)
The file was modifiedclang/include/clang/Serialization/ASTReader.h (diff)
The file was modifiedclang/include/clang/Basic/LangOptions.h (diff)
The file was modifiedclang/lib/Serialization/ASTWriter.cpp (diff)
Commit e10e7829bf6f10c053c05e42b676d7acaf54a221 by Vitaly Buka
[StackSafety] Skip ambiguous lifetime analysis

If we can't identify alloca used in lifetime marker we
need to assume to worst case scenario.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D84630
The file was modifiedllvm/include/llvm/Analysis/StackLifetime.h (diff)
The file was modifiedllvm/test/CodeGen/AArch64/stack-tagging.ll (diff)
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/lifetime.ll (diff)
The file was modifiedllvm/lib/Analysis/StackLifetime.cpp (diff)
The file was addedllvm/test/Transforms/SafeStack/X86/no-crash-on-lifetime.ll
Commit fcd2969da9e04a70103bfbf8a382c0842fcf6aaf by stellaraccident
Initial MLIR python bindings based on the C API.

* Basic support for context creation, module parsing and dumping.

Differential Revision: https://reviews.llvm.org/D85481
The file was addedmlir/lib/Bindings/Python/IRModules.h
The file was modifiedmlir/lib/Bindings/Python/MainModule.cpp (diff)
The file was addedmlir/lib/Bindings/Python/IRModules.cpp
The file was addedmlir/test/Bindings/Python/ir_test.py
The file was modifiedmlir/lib/Bindings/Python/CMakeLists.txt (diff)
Commit 000ad1a976a537256b17788dcf8b50ca117007b8 by yhs
[clang] fix a compilation bug

With gcc 6.3.0, I hit the following compilation bug:
  /home/yhs/work/llvm-project/clang/lib/Frontend/CompilerInvocation.cpp:
  In function ‘bool ParseCodeGenArgs(clang::CodeGenOptions&, llvm::opt::ArgList&,
  clang::InputKind, clang::DiagnosticsEngine&, const clang::TargetOptions&,
  const clang::FrontendOptions&)’:
  /home/yhs/work/llvm-project/clang/lib/Frontend/CompilerInvocation.cpp:780:12:
    error: unused variable ‘A’ [-Werror=unused-variable]
     if (Arg *A = Args.getLastArg(OPT_fuse_ctor_homing))
              ^
  cc1plus: all warnings being treated as errors

The bug is introduced by Commit ae6523cd62a4 ("[DebugInfo] Add
-fuse-ctor-homing cc1 flag so we can turn on constructor homing only
if limited debug info is already on.")
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
Commit aa61e43040495235706229a7bde748a9beff137b by yhs
[InstCombine] Fix a compilation bug

With gcc 6.3.0, I hit the following compilation bug.
  ../lib/Transforms/InstCombine/InstCombineVectorOps.cpp:937:2: error: extra ‘;’ [-Werror=pedantic]
   };
    ^
  cc1plus: all warnings being treated as errors

The error is introduced by Commit ae7f08812e09 ("[InstCombine]
Aggregate reconstruction simplification (PR47060)")
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp (diff)