[MLInliner] Simplify TFUTILS_SUPPORTED_TYPES
authorMircea Trofin <mtrofin@google.com>
Tue, 25 Aug 2020 16:58:49 +0000 (09:58 -0700)
committerMircea Trofin <mtrofin@google.com>
Tue, 25 Aug 2020 21:19:39 +0000 (14:19 -0700)
commit7cfcecece0e0430937cf529ce74d3a071a4dedc6
tree728ae85e20b228b24d1efbaf6f57aca435b9f8b8
parentb7760c3e5d003ee346847bed929fcb30dbfe488a
[MLInliner] Simplify TFUTILS_SUPPORTED_TYPES

We only need the C++ type and the corresponding TF Enum. The other
parameter was used for the output spec json file, but we can just
standardize on the C++ type name there.

Differential Revision: https://reviews.llvm.org/D86549
llvm/include/llvm/Analysis/Utils/TFUtils.h
llvm/lib/Analysis/TFUtils.cpp
llvm/lib/Analysis/models/inliner/output_spec.json
llvm/test/Transforms/Inline/ML/Inputs/test_output_spec.json
llvm/unittests/Analysis/TFUtilsTest.cpp