mirror of https://github.com/llvm/torch-mlir
56c6e3676b
This commit fixes a type promotion bug when NumToTensor was given a float as an argument. In particular, the rules for type promotion of a scalar vary depending on if the scalar is part of a tensor op or not. NumToTensor falls under the second category, but it was being treated as part of the first category. |
||
---|---|---|
.. | ||
AdjustCallingConventions.cpp | ||
CMakeLists.txt | ||
DecomposeComplexOps.cpp | ||
GlobalizeObjectGraph.cpp | ||
InlineGlobalSlots.cpp | ||
MaximizeValueSemantics.cpp | ||
PassDetail.h | ||
Passes.cpp | ||
PrepareForGlobalizeObjectGraph.cpp | ||
ReduceOpVariants.cpp | ||
RefinePublicReturn.cpp | ||
RefineTypes.cpp |