================
@@ -3404,6 +3404,45 @@ bool isIntrinsicAlwaysUniform(unsigned IntrID) {
return lookupAlwaysUniform(IntrID);
}
+bool isAsyncIntrinsic(unsigned IntrID) {
+ switch (IntrID) {
----------------
ssahasra wrote:
Yes. It would be really nice to find or invent some properties that can be
checked instead of making a list! SIInsertWaitcnts.cpp does have `isAsync()`
which itself calls some utilities from SIInstrInfo. But if this is too much
work, it's okay to do that as a follow up change.
https://github.com/llvm/llvm-project/pull/224065
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits