[all-commits] [llvm/llvm-project] edf8e3: [NFC][mlgo]Make the test model generator inlining-...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Dec 22 13:44:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edf8e3ea5ee74f7bf86651b6caa29e456e3119cd
      https://github.com/llvm/llvm-project/commit/edf8e3ea5ee74f7bf86651b6caa29e456e3119cd
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M llvm/cmake/modules/TensorFlowCompile.cmake
    M llvm/lib/Analysis/CMakeLists.txt
    A llvm/lib/Analysis/models/gen-inline-oz-test-model.py
    R llvm/lib/Analysis/models/generate_mock_model.py
    R llvm/lib/Analysis/models/inlining/config.py
    M llvm/test/Transforms/Inline/ML/bounds-checks-rewards.ll
    M llvm/test/Transforms/Inline/ML/development-training-log.ll
    M llvm/test/Transforms/Inline/ML/ml-test-development-mode.ll

  Log Message:
  -----------
  [NFC][mlgo]Make the test model generator inlining-specific

When looking at building the generator for regalloc, we realized we'd
need quite a bit of custom logic, and that perhaps it'd be easier to
just have each usecase (each kind of mlgo policy) have it's own
stand-alone test generator.

This patch just consolidates the old `config.py` and
`generate_mock_model.py` into one file, and does away with
subdirectories under Analysis/models.




More information about the All-commits mailing list