[PATCH] D131209: [mlgo] Add ability to create feature-gated development features in regalloc advisor

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 15:11:40 PDT 2022


aidengrossman added a reviewer: mtrofin.
aidengrossman added a comment.

This patch adds in a `DEVELOPMENT_RA_EVICT_FEATURES_LIST` macro that contains development features and modifies/refactors the reset of the file in order to be able run these features when the command line option `enable-features-under-development` is specified. I tested this in release mode and development mode when compiled in MLGO development mode (setting `TENSORFLOW_C_LIB_PATH`) and I did another build in release mode (`LLVM_HAVE_TF_API` is false, `TENSORFLOW_C_LIB_PATH` isn't set) and everything seemed to work correctly, but it definitely wouldn't hurt to have more people testing this change.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131209/new/

https://reviews.llvm.org/D131209



More information about the llvm-commits mailing list