Skip to content
  1. Dec 02, 2020
  2. Dec 01, 2020
    • Rahul Joshi's avatar
      [MLIR] Fix genTypeInterfaceMethods() to work correctly with InferTypeOpInterface · 6b043ecd
      Rahul Joshi authored
      - Change InferTypeOpInterface::inferResultTypes to use fully qualified types matching
        the ones generated by genTypeInterfaceMethods, so the redundancy can be detected.
      - Move genTypeInterfaceMethods() before genOpInterfaceMethods() so that the
        inferResultTypes method generated by genTypeInterfaceMethods() takes precedence
        over the declaration that might be generated by genOpInterfaceMethods()
      - Modified an op in the test dialect to exercise this (the modified op would fail to
        generate valid C++ code due to duplicate inferResultTypes methods).
      
      Differential Revision: https://reviews.llvm.org/D92414
      6b043ecd
    • ergawy's avatar
      [MLIR][LLVM] Fix a tiny typo in the dialect docs. · 2074fec5
      ergawy authored
      Reviewed By: rriddle
      
      Differential Revision: https://reviews.llvm.org/D92333
      2074fec5
    • Eugene Zhulenev's avatar
      [mlir] AsyncRuntime: disable threading until test flakiness is fixed · 9edcedf7
      Eugene Zhulenev authored
      ExecutionEngine/LLJIT do not run globals destructors in loaded dynamic libraries when destroyed, and threads managed by ThreadPool can race with program termination, and it leads to segfaults.
      
      TODO: Re-enable threading after fixing a problem with destructors, or removing static globals from dynamic library.
      
      Differential Revision: https://reviews.llvm.org/D92368
      9edcedf7
    • Ray (I-Jui) Sung's avatar
      Don't count attributes when addressing operands. · ff2e2285
      Ray (I-Jui) Sung authored
      Fixes out-of-bound access in generated nested DAG rewriter matching code.
      
      Reviewed By: tpopp
      
      Differential Revision: https://reviews.llvm.org/D92075
      ff2e2285
    • Sean Silva's avatar
      [mlir] Small cleanups to func-bufferize/finalizing-bufferize · 774f1d3f
      Sean Silva authored
      - Address TODO in scf-bufferize: the argument materialization issue is
        now fixed and the code is now in Transforms/Bufferize.cpp
      - Tighten up finalizing-bufferize to avoid creating invalid IR when
        operand types potentially change
      - Tidy up the testing of func-bufferize, and move appropriate tests
        to a new finalizing-bufferize.mlir
      - The new stricter checking in finalizing-bufferize revealed that we
        needed a DimOp conversion pattern (found when integrating into npcomp).
        Previously, the converion infrastructure was blindly changing the
        operand type during finalization, which happened to work due to
        DimOp's tensor/memref polymorphism, but is generally not encouraged
        (the new pattern is the way to tell the conversion infrastructure that
        it is legal to change that type).
      774f1d3f
  3. Nov 30, 2020
  4. Nov 29, 2020
    • Jacques Pienaar's avatar
      [mlir] Add a shape function library op · e534cee2
      Jacques Pienaar authored
      Op with mapping from ops to corresponding shape functions for those op
      in the library and mechanism to associate shape functions to functions.
      The mapping of operand to shape function is kept separate from the shape
      functions themselves as the operation is associated to the shape
      function and not vice versa, and one could have a common library of
      shape functions that can be used in different contexts.
      
      Use fully qualified names and require a name for shape fn lib ops for
      now and an explicit print/parse (based around the generated one & GPU
      module op ones).
      
      This commit reverts d9da4c3e. Fixes
      missing headers (don't know how that was working locally).
      
      Differential Revision: https://reviews.llvm.org/D91672
      e534cee2
    • George's avatar
      Use `const` for array pointers in `StandardTypes.h` · 7f521318
      George authored
      This mirrors the underlying C++ api.
      
      Reviewed By: mehdi_amini
      
      Differential Revision: https://reviews.llvm.org/D92252
      7f521318
    • Mehdi Amini's avatar
      Revert "[mlir] Add a shape function library op" · d9da4c3e
      Mehdi Amini authored
      This reverts commit 6dd9596b.
      
      Build is broken.
      d9da4c3e
    • Jacques Pienaar's avatar
      [mlir] Add a shape function library op · 6dd9596b
      Jacques Pienaar authored
      Op with mapping from ops to corresponding shape functions for those op
      in the library and mechanism to associate shape functions to functions.
      The mapping of operand to shape function is kept separate from the shape
      functions themselves as the operation is associated to the shape
      function and not vice versa, and one could have a common library of
      shape functions that can be used in different contexts.
      
      Use fully qualified names and require a name for shape fn lib ops for
      now and an explicit print/parse (based around the generated one & GPU
      module op ones).
      
      Differential Revision: https://reviews.llvm.org/D91672
      6dd9596b
  5. Nov 28, 2020
  6. Nov 27, 2020
  7. Nov 26, 2020
  8. Nov 25, 2020
Loading