1. Dec 01, 2021
  2. Nov 30, 2021
    • gysit's avatar
      [mlir][linalg] Add decompose to CodegenStrategy. · c8f2139e
      gysit authored
      Add the decompose patterns that lower higher dimensional convolutions to lower dimensional ones to CodegenStrategy and use CodegenStrategy to test the decompose patterns. Additionally, remove the assertion that checks the anchor op name is set in the CodegenStrategyTest pass. Removing the assertion allows us to simplify the pipelines used in the interchange and decompose tests.
      
      Depends On D114797
      
      Reviewed By: nicolasvasilache
      
      Differential Revision: https://reviews.llvm.org/D114798
      c8f2139e
    • gysit's avatar
      [mlir][linalg] Adapt the decompose patterns to use a filter (NFC). · 98dbcff1
      gysit authored
      The revision updates the convolution decomposition patterns to take a linalg transformation filter. The transformation filter in a later revision allows use the patterns from CodegenStrategy.
      
      Depends On D114690
      
      Reviewed By: nicolasvasilache
      
      Differential Revision: https://reviews.llvm.org/D114797
      98dbcff1
    • James Farrell's avatar
      Use VersionTuple for parsing versions in Triple. This makes it possible to... · 1e828646
      James Farrell authored
      Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible.
      
      See also https://github.com/android/ndk/issues/1455.
      
      Differential Revision: https://reviews.llvm.org/D114163
      1e828646
    • Florian Hahn's avatar
      [DSE] Use optimized access if available for redundant store elimination. · c9ad3562
      Florian Hahn authored
      Using the optimized access enables additional optimizations in cases
      where the defining access is a non-aliasing store.
      
      Alternatively we could also walk upwards and skip non-aliasing defs
      here, but my experiments so far showed that this will noticeably
      increase compile-time for little extra gain compared to just using the
      optimized access.
      
      Improvements of dse.NumRedundantStores on MultiSource/CINT2006/CPF2006
      on X86 with -O3:
      
           test-suite...-typeset/consumer-typeset.test     1.00                  76.00              7500.0%
           test-suite.../Benchmarks/Bullet/bullet.test     3.00                  12.00              300.0%
           test-suite...006/453.povray/453.povray.test     3.00                   6.00              100.0%
           test-suite...telecomm-gsm/telecomm-gsm.test     1.00                   2.00              100.0%
           test-suite...ediabench/gsm/toast/toast.test     1.00                   2.00              100.0%
           test-suite...marks/7zip/7zip-benchmark.test     1.00                   2.00              100.0%
           test-suite...ications/JM/lencod/lencod.test     7.00                  10.00              42.9%
           test-suite...6/464.h264ref/464.h264ref.test     6.00                   8.00              33.3%
           test-suite...ications/JM/ldecod/ldecod.test     6.00                   7.00              16.7%
           test-suite...006/447.dealII/447.dealII.test    33.00                  33.00               0.0%
           test-suite...6/471.omnetpp/471.omnetpp.test    NaN                     1.00               nan%
           test-suite...006/450.soplex/450.soplex.test    NaN                     2.00               nan%
           test-suite.../CINT2006/403.gcc/403.gcc.test    NaN                     7.00               nan%
           test-suite...lications/ClamAV/clamscan.test    NaN                     1.00               nan%
           test-suite...CI_Purple/SMG2000/smg2000.test    NaN                     3.00               nan%
      
      Follow-up to D111727.
      
      Reviewed By: nikic
      
      Differential Revision: https://reviews.llvm.org/D112315
      c9ad3562
    • gysit's avatar
      [mlir][linalg] Support the empty anchor op string when padding. · 316e627c
      gysit authored
      Add support for an empty anchor op string in vectorization. An empty anchor op string is useful after fusion when there are multiple different operations to vectorize.
      
      Depends On D114689
      
      Reviewed By: nicolasvasilache
      
      Differential Revision: https://reviews.llvm.org/D114690
      316e627c
    • Yitzhak Mandelbaum's avatar
      [clang][dataflow] Fix broken build in ClangStaticAnalyzer · 3e32f827
      Yitzhak Mandelbaum authored
      Adds a missing virtual destructor.
      3e32f827