You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/08/02 00:55:29 UTC

[GitHub] [tvm] wrongtest-intellif commented on a diff in pull request #12266: [TIR] Add tir::builtin::undef

wrongtest-intellif commented on code in PR #12266:
URL: https://github.com/apache/tvm/pull/12266#discussion_r935022859


##########
src/tir/op/builtin.cc:
##########
@@ -288,6 +288,10 @@ TIR_DEFINE_BUILTIN_FUNC(texture2d_load)
 TIR_DEFINE_BUILTIN_FUNC(mem_copy).set_attr<TCallEffectKind>("TCallEffectKind",
                                                             Integer(CallEffectKind::kOpaque));
 
+TIR_DEFINE_BUILTIN_FUNC(undef)
+    .set_attr<TCallEffectKind>("TCallEffectKind", Integer(CallEffectKind::kReadState))

Review Comment:
   Why the undef's effect is `kReadState` than `kPure`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org