[PATCH] D104829: Fail gracefully if no inlining model is available to download.

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 20:00:22 PDT 2021


mtrofin added inline comments.


================
Comment at: llvm/lib/Analysis/CMakeLists.txt:17
 
+    # Crash if the user wants to download a model but a URL is not specified
+    if ("${LLVM_INLINER_MODEL_PATH}" STREQUAL "download" AND "${LLVM_INLINER_MODEL_CURRENT_URL}" STREQUAL "")
----------------
should this be handled in TensorflowCompile.cmake? Likely common behavior.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104829



More information about the llvm-commits mailing list