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


  1. Make AST reading work better with LLVM_APPEND_VC_REV=NO (details)
  2. [mlir] Add support for marking 'unknown' operations as dynamically (details)
Commit 49532137d087d8053789d18540c5e7916b91ef30 by thakis
Make AST reading work better with LLVM_APPEND_VC_REV=NO
Modules/merge-lifetime-extended-temporary.cpp would fail if it ran
before a0f50d731639350c7a7 (which changed the serialization format) and
then after, for these reasons:
1. With LLVM_APPEND_VC_REV=NO, the module hash before and after the
  change was the same.
2. Modules/merge-lifetime-extended-temporary.cpp is the only test
  we have that uses -fmodule-cache-path=%t that
  a) actually writes to the cache path
  b) doesn't do `rm -rf %t` at the top of the test
So the old run would write a module file, and then the new run would try
to load it, but the serialized format changed.
Do several things to fix this:
1. Include clang::serialization::VERSION_MAJOR/VERSION_MINOR in
  the module hash, so that when the AST format changes (...and
  we remember to bump these), we use a different module cache dir. 2.
Bump VERSION_MAJOR, since a0f50d731639350c7a7 changed the
  on-disk format in a way that a gch file written before that change
  can't be read after that change. 3. Add `rm -rf %t` to all tests that
pass -fmodule-cache-path=%t.
  This is unnecessary from a correctness PoV after 1 and 2,
  but makes it so that we don't amass many cache dirs over time.
  (Arguably, it also makes it so that the test suite doesn't catch
  when we change the serialization format but don't bump
  clang::serialization::VERSION_MAJOR/VERSION_MINOR; oh well.)
Differential Revision:
The file was modifiedclang/test/Modules/objc-method-redecl.m
The file was modifiedclang/test/Modules/exception-spec.cpp
The file was modifiedclang/test/Modules/using-decl-inheritance.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Modules/merge-lifetime-extended-temporary.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/test/Modules/diagnostics.modulemap
Commit ce674b131b66105ecd3918a11de4eb0205b50f99 by riddleriver
[mlir] Add support for marking 'unknown' operations as dynamically
Summary: This allows for providing a default "catchall" legality check
that is not dependent on specific operations or dialects. For example,
this can be useful to check legality based on the specific types of
operation operands or results.
Differential Revision:
The file was modifiedmlir/test/Transforms/test-legalizer-full.mlir
The file was modifiedmlir/lib/Transforms/DialectConversion.cpp
The file was modifiedmlir/include/mlir/Transforms/DialectConversion.h
The file was modifiedmlir/docs/
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp