You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct __attribute__((tvm_tuple)) St {
int value;
__tvm_slice slice;
};
void foo(__tvm_slice slice, struct St *st)
{
*st = __builtin_tvm_ldu(slice, 64);
}
test.cc:8:7: error: no viable overloaded '='
*st = __builtin_tvm_ldu(slice, 64);
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.cc:1:35: note: candidate function (the implicit copy assignment operator) not viable: no known conversion from '__tvm_literal_struct_WiTs'
(aka '__tvm_literal_struct_WiTs_Tag') to 'const St' for 1st argument
struct __attribute__((tvm_tuple)) St {
^
test.cc:1:35: note: candidate function (the implicit move assignment operator) not viable: no known conversion from '__tvm_literal_struct_WiTs'
(aka '__tvm_literal_struct_WiTs_Tag') to 'St' for 1st argument
struct __attribute__((tvm_tuple)) St {
^
1 error generated.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: