[mlir] Use reinterpret cast to construct TypedValue from a pointer
authorEugene Zhulenev <ezhulenev@google.com>
Sun, 2 Jul 2023 23:11:28 +0000 (16:11 -0700)
committerEugene Zhulenev <ezhulenev@google.com>
Sun, 2 Jul 2023 23:18:00 +0000 (16:18 -0700)
commit38785647121cef0adde4d3adbe5c5fe21b83d32b
treea5a4fb2e34d7d83c455d6c8d7760b73c2ec81a15
parentd9d7cb4f360d809c09aaacd612c9bab952619a4d
[mlir] Use reinterpret cast to construct TypedValue from a pointer

Value is not convertible to TypedValue<T>, use explicit constructor from a pointer

Differential Revision: https://reviews.llvm.org/D154313
mlir/include/mlir/IR/Value.h