SuccessChanges

Summary

  1. [mlir][python] Factor out standalone OpView._ods_build_default class method. (details)
  2. [flang][driver] Move isFixedFormSuffix and isFreeFormSuffix to flangFrontend (details)
  3. [lldb][docs] Add a doc page for enums and constants (details)
  4. [ARM] Expand vXi1 VSELECT's (details)
  5. [lldb][docs] Update .htaccess to redirect from old SB API documentation to new one (details)
  6. [Polly] Update isl to isl-0.23-61-g24e8cd12. (details)
  7. [SystemZ][z/OS] Fix Permission denied pattern matching (details)
Commit 71b6b010e6bc49caaec511195e33ac1f43f07c64 by stellaraccident
[mlir][python] Factor out standalone OpView._ods_build_default class method.

* This allows us to hoist trait level information for regions and sized-variadic to class level attributes (_ODS_REGIONS, _ODS_OPERAND_SEGMENTS, _ODS_RESULT_SEGMENTS).
* Eliminates some splicey python generated code in favor of a native helper for it.
* Makes it possible to implement custom, variadic and region based builders with one line of python, without needing to manually code access to the segment attributes.
* Needs follow-on work for region based callbacks and support for SingleBlockImplicitTerminator.
* A follow-up will actually add ODS support for generating custom Python builders that delegate to this new method.
* Also includes the start of an e2e sample for constructing linalg ops where this limitation was discovered (working progressively through this example and cleaning up as I go).

Differential Revision: https://reviews.llvm.org/D94738
The file was modifiedmlir/test/mlir-tblgen/op-python-bindings.td
The file was modifiedmlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
The file was modifiedmlir/lib/Bindings/Python/IRModules.h
The file was addedmlir/examples/python/linalg_matmul.py
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was addedmlir/test/Bindings/Python/ods_helpers.py
The file was modifiedmlir/docs/Bindings/Python.md
Commit cea3abc26f7cbc4ec4cf4cf73b4cce5f926420a9 by andrzej.warzynski
[flang][driver] Move isFixedFormSuffix and isFreeFormSuffix to flangFrontend

isFixedFormSuffix and isFreeFormSuffix should be defined in
flangFrontend rather than flangFrontendTool library. That's for 2
reasons:
  * these methods are used in flangFrontend rather than flangFrontendTool
  * flangFrontendTool depends on flangFrontend

As mentioned in the post-commit review for D94228, without this change
shared library builds fail.

Differential Revision: https://reviews.llvm.org/D94968
The file was modifiedflang/lib/Frontend/FrontendOptions.cpp
The file was modifiedflang/lib/Frontend/FrontendAction.cpp
The file was modifiedflang/include/flang/FrontendTool/Utils.h
The file was modifiedflang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
The file was modifiedflang/include/flang/Frontend/FrontendOptions.h
Commit 3cae8b33297b14449514a87dcaa8996ba40db412 by Raphael Isemann
[lldb][docs] Add a doc page for enums and constants

Enums and constants are currently missing in the new LLDB Python API docs.

In theory we could just let them be autogenerated like the SB API classes, but sadly the generated documentation
suffers from a bunch of problems. Most of these problems come from the way SWIG is representing enums, which is
done by translating every single enum case into its own constant. This has a bunch of nasty effects:

* Because SWIG throws away the enum types, we can't actually reference the enum type itself in the API. Also because automodapi is impossible to script, this can't be fixed in post (at least without running like sed over the output files).
* The lack of enum types also causes that every enum *case* has its own full doc page. Having a full doc page that just shows a single enum case is pointless and it really slows down sphinx.
* There is no SWIG code for the enums, so there is also no place to write documentation strings for them. Also there is no support for copying the doxygen strings (which would be in the wrong format, but better than nothing) for enums (let alone our defines), so we can't really document all this code.
* Because the enum cases are just forwards to the native lldb module (which we mock), automodapi actually takes the `Mock` docstrings and adds it to every single enum case.

I don't see any way to solve this via automodapi or SWIG. The most reasonable way to solve this is IMHO to write a simple Clang tool
that just parses our enum/constant headers and emits an *.rst file that we check in. This way we can do all the LLDB-specific enum case and constant
grouping that we need to make a readable documentation page.

As we're without any real documentation until I get around to write that tool, I wrote a doc page for the enums/constants as a stop gap measure.
Most of this is done by just grepping our enum header and then manually cleaning up all the artifacts and copying the few doc strings we have.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D94959
The file was modifiedlldb/bindings/python/python.swig
The file was addedlldb/docs/python_api_enums.rst
The file was modifiedlldb/bindings/interface/SBLanguageRuntime.i
Commit 6a563eef1321f742fa06482f4536cd41fb8e24c7 by david.green
[ARM] Expand vXi1 VSELECT's

We have no lowering for VSELECT vXi1, vXi1, vXi1, so mark them as
expanded to turn them into a series of logical operations.

Differential Revision: https://reviews.llvm.org/D94946
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith-ssat.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith-overflow.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-pred-vselect.ll
Commit 2f8099509030d3352ac211b1fbae4c6c32b0bfa7 by Raphael Isemann
[lldb][docs] Update .htaccess to redirect from old SB API documentation to new one

This is mostly SEO so that the new API can take over the old API when people
search for the different SB* classes. Sadly epydoc decided to throw in a -class
prefix behind all the class file names, so we can't just overwrite the old files
with the newly generated ones.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D94900
The file was modifiedlldb/docs/.htaccess
Commit 842314b5f078b5c63df1d7e271fc6fad8461d44f by llvm-project
[Polly] Update isl to isl-0.23-61-g24e8cd12.

This fixes llvm.org/PR48554

Some test cases had to be updated because the hash function for
union_maps have been changed which affects the output order.
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/dealII.c
The file was modifiedpolly/test/DependenceInfo/generate_may_write_dependence_info.ll
The file was modifiedpolly/lib/External/isl/include/isl/polynomial_type.h
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/classen.c
The file was modifiedpolly/lib/External/isl/interface/Makefile.in
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/reservoir-liu-zhuge1.c
The file was modifiedpolly/test/DependenceInfo/fine_grain_dep_0.ll
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/vivien2.c
The file was addedpolly/lib/External/isl/isl_copy_tuple_id_templ.c
The file was modifiedpolly/lib/External/isl/isl_tab_pip.c
The file was modifiedpolly/lib/External/isl/interface/generator.cc
The file was modifiedpolly/lib/External/isl/isl_union_map.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/omega/iter9-0.c
The file was modifiedpolly/lib/External/isl/isl_pw_union_opt.c
The file was modifiedpolly/lib/External/isl/m4/libtool.m4
The file was modifiedpolly/lib/External/isl/isl_output.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/correlation.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/yosr.c
The file was modifiedpolly/lib/External/isl/interface/isl.py
The file was modifiedpolly/lib/External/isl/AUTHORS
The file was modifiedpolly/test/DependenceInfo/reduction_privatization_deps_3.ll
The file was modifiedpolly/lib/External/isl/interface/compile
The file was modifiedpolly/lib/External/isl/isl_map_simplify.c
The file was modifiedpolly/lib/External/isl/aclocal.m4
The file was modifiedpolly/lib/External/isl/isl_union_templ.c
The file was modifiedpolly/lib/External/isl/isl_polynomial.c
The file was modifiedpolly/lib/External/isl/configure
The file was modifiedpolly/lib/External/isl/isl_arg.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/mode.c
The file was modifiedpolly/test/DependenceInfo/reduction_simple_privatization_deps_w_parameter.ll
The file was modifiedpolly/test/DependenceInfo/computeout.ll
The file was addedpolly/lib/External/isl/check_single_reference_templ.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/pldi2012/figure7_b.c
The file was modifiedpolly/lib/External/isl/isl_space.c
The file was modifiedpolly/lib/External/isl/isl_union_single.c
The file was modifiedpolly/lib/External/isl/interface/cpp.cc
The file was modifiedpolly/lib/External/isl/interface/depcomp
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/faber.c
The file was modifiedpolly/lib/External/isl/isl_map_bound_templ.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/test.c
The file was modifiedpolly/lib/External/isl/isl_space_private.h
The file was modifiedpolly/lib/External/isl/isl_test.c
The file was modifiedpolly/lib/External/isl/install-sh
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/omega/wak1-0.c
The file was modifiedpolly/lib/External/isl/isl_union_eval.c
The file was modifiedpolly/lib/External/isl/interface/aclocal.m4
The file was modifiedpolly/lib/External/isl/isl_map.c
The file was modifiedpolly/lib/External/isl/isl_union_multi.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/gesced3.c
The file was modifiedpolly/test/DependenceInfo/different_schedule_dimensions.ll
The file was modifiedpolly/lib/External/isl/doc/user.pod
The file was modifiedpolly/lib/External/isl/isl_aff_lex_templ.c
The file was modifiedpolly/lib/External/isl/isl_pw_templ.c
The file was modifiedpolly/test/DependenceInfo/reduction_simple_privatization_deps_2.ll
The file was modifiedpolly/lib/External/isl/include/isl/union_map.h
The file was modifiedpolly/lib/External/isl/include/isl/cpp.h
The file was addedpolly/lib/External/isl/isl_type_has_space_templ.c
The file was modifiedpolly/lib/External/isl/interface/install-sh
The file was modifiedpolly/lib/External/isl/include/isl/schedule.h
The file was modifiedpolly/lib/External/isl/include/isl/multi.h
The file was modifiedpolly/lib/External/isl/test-driver
The file was modifiedpolly/lib/External/isl/isl_bound.h
The file was modifiedpolly/lib/External/isl/isl_morph.c
The file was modifiedpolly/lib/External/isl/isl_ast_codegen.c
The file was modifiedpolly/lib/External/isl/isl_test_imath.c
The file was modifiedpolly/lib/External/isl/doc/Makefile.in
The file was modifiedpolly/lib/External/isl/Makefile.in
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/omega/if_then-1.c
The file was modifiedpolly/lib/External/isl/py-compile
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/omega/m12-1.c
The file was modifiedpolly/test/DependenceInfo/reduction_privatization_deps_5.ll
The file was modifiedpolly/test/DependenceInfo/sequential_loops.ll
The file was modifiedpolly/test/DependenceInfo/reduction_sequence.ll
The file was modifiedpolly/lib/External/isl/isl_seq.c
The file was modifiedpolly/lib/External/isl/imath/imath.h
The file was modifiedpolly/lib/External/isl/missing
The file was modifiedpolly/test/DependenceInfo/may_writes_do_not_block_must_writes_for_war.ll
The file was modifiedpolly/lib/External/isl/interface/missing
The file was modifiedpolly/lib/External/isl/isl_mat.c
The file was modifiedpolly/lib/External/isl/isl_convex_hull.c
The file was modifiedpolly/lib/External/isl/isl_bernstein.c
The file was modifiedpolly/test/DependenceInfo/reduction_multiple_reductions_2.ll
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/dot2.c
The file was modifiedpolly/lib/External/isl/isl_union_map_private.h
The file was modifiedpolly/test/DependenceInfo/reduction_privatization_deps.ll
The file was modifiedpolly/lib/External/isl/isl_fold.c
The file was modifiedpolly/test/GPGPU/managed-pointers-preparation.ll
The file was modifiedpolly/lib/External/isl/interface/ltmain.sh
The file was addedpolly/lib/External/isl/isl_list_private.h
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/group.c
The file was modifiedpolly/test/DependenceInfo/reduction_multiple_reductions.ll
The file was modifiedpolly/lib/External/isl/include/isl/space.h
The file was modifiedpolly/lib/External/isl/include/isl/cpp-checked.h
The file was modifiedpolly/lib/External/isl/isl_bound.c
The file was modifiedpolly/test/Isl/CodeGen/empty_domain_in_context.ll
The file was modifiedpolly/lib/External/isl/include/isl/aff.h
The file was modifiedpolly/lib/External/isl/GIT_HEAD_ID
The file was modifiedpolly/lib/External/isl/include/isl/polynomial.h
The file was modifiedpolly/lib/External/isl/imath/imrat.c
The file was modifiedpolly/lib/External/isl/isl_list_templ.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/yosr2.c
The file was removedpolly/lib/External/isl/test_inputs/gist1.polylib
The file was modifiedpolly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll
The file was modifiedpolly/lib/External/isl/Makefile.am
The file was modifiedpolly/lib/External/isl/depcomp
The file was modifiedpolly/lib/External/isl/isl_local_space.c
The file was modifiedpolly/test/GPGPU/non-zero-array-offset.ll
The file was modifiedpolly/test/DependenceInfo/reduction_privatization_deps_4.ll
The file was modifiedpolly/lib/External/isl/isl_aff.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/omega/if_then-2.c
The file was modifiedpolly/lib/External/isl/include/isl/map.h
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/omega/if_then-3.c
The file was modifiedpolly/lib/External/isl/isl_input.c
The file was modifiedpolly/lib/External/isl/imath/imath.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/pldi2012/figure7_c.c
The file was modifiedpolly/lib/External/isl/imath/imrat.h
The file was modifiedpolly/lib/External/isl/isl_map_private.h
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/shift2.c
The file was modifiedpolly/lib/External/isl/compile
The file was modifiedpolly/lib/External/isl/isl_opt_mpa_templ.c
The file was modifiedpolly/lib/External/isl/isl_tab.c
The file was modifiedpolly/lib/External/isl/isl_aff_private.h
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/pldi2012/figure7_d.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/vivien.c
The file was modifiedpolly/lib/External/isl/ltmain.sh
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/cloog/gesced.c
The file was modifiedpolly/lib/External/isl/isl_morph.h
The file was modifiedpolly/lib/External/isl/configure.ac
The file was modifiedpolly/lib/External/isl/ChangeLog
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/empty.c
The file was modifiedpolly/lib/External/isl/test_inputs/codegen/pldi2012/figure8_b.in
The file was modifiedpolly/lib/External/isl/interface/configure
The file was modifiedpolly/lib/External/isl/isl_polynomial_private.h
The file was addedpolly/lib/External/isl/isl_union_map_lex_templ.c
The file was modifiedpolly/lib/External/isl/imath/gmp_compat.c
The file was modifiedpolly/lib/External/isl/isl_tab.h
The file was modifiedpolly/test/Isl/Ast/alias_checks_with_empty_context.ll
Commit 88e7c3498c3a8827c3706e39609b22dea9045432 by Abhina.Sreeskantharajan
[SystemZ][z/OS] Fix Permission denied pattern matching

On z/OS, the error message "EDC5111I Permission denied." is not matched correctly in lit tests. This patch updates the check expression to match successfully.

Differential Revision: https://reviews.llvm.org/D94432
The file was modifiedllvm/test/tools/llvm-ar/error-opening-permission.test